Note
For V2.2.77, this parameter is available starting with V2.2.77.
Description
ob_proxy_readonly_transaction_routing_policy specifies whether the routing of transactions by the Proxy is affected by read-only statements.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | false
NoteFor 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;