Note
This variable is available starting with V2.2.77.
Description
ob_pl_block_timeout specifies the maximum timeout period for PL.
Privilege requirements
Query variables
Global level
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLE(Oracle mode) orinformation_schema.GLOBAL_VARIABLES(MySQL mode) view to obtain the value of a global system variable.Session level
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_SESSION_VARIABLE(Oracle mode) orinformation_schema.SESSION_VARIABLES(MySQL mode) view to obtain the value of a session system variable.
Modify variables
Global level
systenant can modify the value of a global system variable.MySQL user tenants must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.Oracle user tenants must have the
ALTER SYSTEMprivilege to modify the value of a global system variable.
Session level
systenant and all user tenants can modify the value of a session system variable.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 3216672000000000, in microseconds |
| Value range | [0, 9223372036854775807] |
| Scope |
|
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Examples
Set the maximum timeout period for PL to 3216672000000000.
Session level
obclient> SET ob_pl_block_timeout =3216672000000000;Global level
obclient> SET GLOBAL ob_pl_block_timeout =3216672000000000;