Note
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 query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Boolean |
| 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 routing of transactions by the Proxy to be based on the statement that actually starts the transaction.
obclient> ALTER SYSTEM SET ob_proxy_readonly_transaction_routing_policy = false;