Skip to main content
Version: dev

openGauss

openGauss is an open-source relational database supported by DB-GPT through the native connector in dbgpt_ext.datasource.rdbms.conn_openGauss.

Install Dependencies​

openGauss uses the PostgreSQL-compatible driver path.

uv sync --all-packages \
--extra "base" \
--extra "datasource_postgres" \
--extra "rag" \
--extra "storage_chromadb" \
--extra "dbgpts"

Prepare openGauss​

Prepare an openGauss instance and start the DB-GPT webserver:

uv run dbgpt start webserver --config configs/dbgpt-proxy-openai.toml

openGauss Configuration​

Use the datasource UI or configuration fields for:

  • host
  • port
  • user
  • password
  • database
  • schema
  • driver (postgresql+psycopg2)

The openGauss connector is implemented in:

  • packages/dbgpt-ext/src/dbgpt_ext/datasource/rdbms/conn_openGauss.py