Note
This variable is available starting with V4.4.2 for V4.4.x.
This variable is available starting with V4.6.0 for V4.6.x.
Description
ob_enable_pl_async_commit specifies whether to enable the PL asynchronous commit optimization.
Privilege requirements
Query variables
Global level
The
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) or theinformation_schema.GLOBAL_VARIABLESview (MySQL mode) to obtain the value of a global system variable.Session level
The
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (Oracle mode) or theinformation_schema.SESSION_VARIABLESview (MySQL mode) to obtain the value of a session system variable.
Modify variables
Global level
The
systenant can modify the value of a global system variable directly.A MySQL user tenant can modify the value of a global system variable only if it has the
SUPERorALTER SYSTEMprivilege.An Oracle user tenant can modify the value of a global system variable only if it has the
ALTER SYSTEMprivilege.
Session level
The
systenant and all user tenants can modify the value of a session system variable directly.
Attributes
| Attribute | Description |
|---|---|
| Type | Boolean |
| Default value | OFF |
| Value range |
|
| Scope |
|
| Modifiable | Yes. You can execute the SET or ALTER SESSION SET statement to modify the value. |
Examples
Enable the parameterization feature for anonymous blocks and call statements during parsing in PL mode.
- Global level
obclient> SET GLOBAL ob_enable_pl_async_commit=ON;
- Session level
obclient> SET ob_enable_pl_async_commit=ON;
