Note
This parameter is available starting with V2.2.77.
Description
ob_proxy_readonly_transaction_routing_policy specifies whether to route transactions based on read-only statements.
Privilege requirements
Query the parameter
You can use the
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter in thesystenant and all user tenants.Modify the parameter
You can modify this parameter in the
systenant and user tenants.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | false
NoteStarting from V4.0.0, the default value of this parameter is changed from true to false. |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set the Proxy to route transactions based on the routing of the first statement that actually starts a transaction.
obclient> ALTER SYSTEM SET ob_proxy_readonly_transaction_routing_policy = false;
