connection_pool_mode controls whether connection pooling is enabled. Only session-level pooling is supported. When enabled, ODP can cache sessions to OceanBase Database.
Note
This parameter is introduced in ODP V4.3.5.
The session pool requires a compatible OceanBase Database version. If the database does not support the session pool, pooling is not used even when this parameter is set to
session.
Attribute |
Description |
|---|---|
| Parameter type | String |
| Default value | Empty string (pooling disabled) |
| Value range |
|
| Effective only after ODP restart | No |
Examples
Enable the session connection pool:
obclient> alter proxyconfig set connection_pool_mode='session';
