Note
This variable is available starting with V4.1.0.
Overview
ob_enable_show_trace specifies whether to use Show Trace logs.
Privilege requirements
Query variables
The
SHOW VARIABLESstatement, or theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (in Oracle-compatible mode) and theinformation_schema.SESSION_VARIABLESview (in MySQL-compatible mode), can be used by thesystenant and all user tenants to view the values of session system variables.Modify variables
The
systenant and all user tenants can directly modify the values of session system variables for their own tenants.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | 0 |
| Value range |
|
| Effective Scope | SESSION |
| Modifiable | Yes, you can use theSETorALTER SESSION SETStatement modification. |
Configuration example
Enable the Show Trace log feature.
obclient> SET ob_enable_show_trace = 1;
