Note
This variable was introduced in V4.1.0.
Description
ob_enable_show_trace specifies whether to use show trace logs.
Privilege requirements
Query variables
Tenants of the
systenant and all user tenants can execute theSHOW VARIABLESstatement or view theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (in Oracle mode) and theinformation_schema.SESSION_VARIABLESview (in MySQL mode) to query the values of session system variables.Modify variables
Tenants of the
systenant and all user tenants can directly modify the values of session system variables in the current tenant.
Attribute description
| Attribute | Description |
|---|---|
| Parameter type | Bool |
| Default value | 0 |
| Value range |
|
| Scope | SESSION |
| Modifiability | Yes. You can modify this variable by using the SET or ALTER SESSION SET statement. |
Configuration example
Enable the Show Trace log feature.
obclient> SET ob_enable_show_trace = 1;