跳到主要内容
版本:dev

StarRocks datasource Configuration

An Open-Source, High-Performance Analytical Database.

Parameters

NameTypeRequiredDescription
portinteger
Database port, e.g., 3306
userstring
Database user to connect
databasestring
Database name
driverstring
Driver name for starrocks, default is starrocks.
Defaults:starrocks
passwordstring
Database password, you can write your password directly, of course, you can also use environment variables, such as ${env:DBGPT_DB_PASSWORD}
Defaults:${env:DBGPT_DB_PASSWORD}
pool_sizeinteger
Connection pool size, default 5
Defaults:5
max_overflowinteger
Max overflow connections, default 10
Defaults:10
pool_timeoutinteger
Connection pool timeout, default 30
Defaults:30
pool_recycleinteger
Connection pool recycle, default 3600
Defaults:3600
pool_pre_pingboolean
Connection pool pre ping, default True
Defaults:True
hoststring
Database host, e.g., localhost