Note
This variable is available starting with V2.2.77.
Description
ob_trace_info is used to pass through trace information, which can be persisted to redo logs.
Privilege requirements
Query variables
systenants and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (Oracle-compatible mode) or theinformation_schema.SESSION_VARIABLESview (MySQL-compatible mode) to view the values of session system variables.Modify variables
systenants and all user tenants can directly modify the values of session system variables in their own tenants.
Attributes
| Attribute | Description |
|---|---|
| Type | Varchar |
| Default value | Empty string |
| Value range | String length of [0, 4096] |
| Scope | Session |
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Examples
Specify to pass through trace logs through the my_trace_info information.
obclient> SET ob_trace_info='my_trace_info';