Note
This variable is available starting with OceanBase Database V2.1.
Description
ob_enable_jit specifies the mode of the JIT execution engine.
Privilege requirements
Query variables
Global level
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 view the value of a Global system variable.Session level
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 view the value of a Session system variable.
Modify variables
Global level
systenant can modify the value of a Global system variable.MySQL user tenants need to have the
SUPERorALTER SYSTEMprivilege to modify the value of a Global system variable.Oracle user tenants need to 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 | Enum |
| Default value | OFF |
| Value range |
|
| Scope |
|
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Examples
Set the JIT execution engine mode to OFF.
Session level
obclient> SET ob_enable_jit =OFF;Global level
obclient> SET GLOBAL ob_enable_jit =OFF;