Note
This parameter is available starting with V4.4.2 BP3.
Overview
enable_ps_meta_response_optimize specifies whether to enable meta response optimization between the observer and the client under the prepared statement (PS) protocol. When this parameter is enabled, when the observer interacts with an ob-jdbc driver that supports meta caching, the meta information of the result set is returned only during the first execution of a PS statement.
Notice
When creating a tenant, the system sets this parameter to True by default. This means the feature is enabled for the new tenant by default.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | False |
| Value range |
|
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to Restart the OBServer Node for the Change to Take Effect | No. The setting takes effect immediately. |
Configuration example
Enabled PS protocol meta response optimization.
obclient> ALTER SYSTEM SET enable_ps_meta_response_optimize = TRUE;Disabled the PS protocol meta response optimization.
obclient> ALTER SYSTEM SET enable_ps_meta_response_optimize = FALSE;