Note
This variable was introduced in V4.1.0.
Feature description
The ob_enable_show_trace variable specifies whether to use show trace logs.
Permissions
Query variables
Tenants can execute the
SHOW VARIABLESstatement or viewSYS.TENANT_VIRTUAL_SESSION_VARIABLE(Oracle mode) orinformation_schema.SESSION_VARIABLES(MySQL mode) to query the values of session system variables. Thesystenant has the corresponding permissions by default, and you can grant these permissions to other tenants.Modify variables
Tenants can directly modify the values of session system variables in their own tenant.
Attribute description
| Attribute | Description |
|---|---|
| Parameter type | Bool |
| Default value | 0 |
| Value range |
|
| Scope | SESSION |
| Modifiable | Yes. You can execute the SET or ALTER SESSION SET statement to modify the variable. |
Configuration example
Enable the show trace log feature.
obclient> SET ob_enable_show_trace = 1;