Note
This variable is available starting with in V2.2.77.
Description
ob_trace_info is used to transparently transfer trace information, which can be stored in redo logs.
Privileges requirements
Query variables
The
systenant and all user tenants can use theSHOW VARIABLESstatement or theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (in Oracle-compatible mode) and theinformation_schema.SESSION_VARIABLESview (in MySQL-compatible mode) to query the values of session system variables.Modify variables
The
systenant and all user tenants can directly modify the values of session system variables in their respective tenants.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Varchar |
| Default value | Empty string |
| Value range | The range of the character length of the string is [0, 4096]. |
| Effective scope | Session |
| Modifiable | Yes. The value can be modified by using the SET statement. |
Example
Specify passing trace logs through my_trace_info information.
obclient> SET ob_trace_info='my_trace_info';