Note
This variable is available starting with V2.2.77.
Description
ob_proxy_set_trx_executed specifies whether to send the START TRANSACTION Syntax statement to OBServer nodes through the ODP.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | 0 |
| Value range |
|
| Scope | Session |
| Modifiable | No. This variable can be specified only when you create a tenant. After a tenant is created, you cannot modify the value by executing an SQL statement. |
Usage notes
You cannot query the value of this variable by executing the SHOW VARIABLES statement or querying the SYS.TENANT_VIRTUAL_SESSION_VARIABLE view (Oracle-compatible mode) or the information_schema.SESSION_VARIABLES view (MySQL-compatible mode). You can query the value of this variable by querying the SYS.DBA_OB_SYS_VARIABLES view (Oracle-compatible mode) or the oceanbase.DBA_OB_SYS_VARIABLES view (MySQL-compatible mode).
Alternatively, you can execute the SELECT statement to obtain the value of this variable:
obclient> SELECT @@ob_proxy_set_trx_executed;
The return result is as follows:
+-----------------------------+
| @@ob_proxy_set_trx_executed |
+-----------------------------+
| 0 |
+-----------------------------+
1 row in set