When a connection pool is used to access the database, database connections are established and then stored in the memory as objects during system running. When you need to access the database, no new connection is established. Instead, an existing idle connection is selected from the connection pool. After you finish accessing the database, the database does not disable the connection but puts it back into the connection pool. The connection can be used for the next access request.
Parameter description: Specifies the minimum number of connections between a CN's connection pool and another CN/DN.
Type: POSTMASTER
Value range: an integer ranging from 1 to 65535
Default value: 1
Parameter description: Specifies the maximum number of connections between a CN's connection pool and another CN/DN.
Type: POSTMASTER
Value range: an integer ranging from 1 to 65535
Default value: 800
Parameter description: Specifies whether to release the connection for the current session.
Type: USERSET
Value range: Boolean
After this function is enabled, a session may hold a connection but does not run a query. As a result, other query requests fail to be connected. To fix this problem, the number of sessions must be less than or equal to max_active_statements.
Default value: off
Parameter description: Specifies the maximum number of CNs in a cluster.
Type: POSTMASTER
Value range: an integer ranging from 2 to 40
Default value: 40
Parameter description: Specifies the maximum number of DNs in a cluster.
Type: POSTMASTER
Value range: an integer ranging from 2 to 65535
Default value: 4096
Parameter description: Specifies whether to reclaim the connections of a connection pool.
Type: SIGHUP
Value range: Boolean
Default value: on
Parameter description: Specifies whether a session forcibly reuses a new connection.
Type: BACKEND
Value range: Boolean
Default value: off
Session connection parameter. Users are not advised to configure this parameter.
Parameter description: Specifies whether a CN's connection pool can be connected in parallel mode.
Type: SIGHUP
Value range: Boolean
Default value: on