Note
This variable is available starting with V2.2.77.
Description
ob_trace_info is used to pass through trace information, which is eventually 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 mode) or theinformation_schema.SESSION_VARIABLESview (MySQL mode) to obtain 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 is [0, 4096] |
| Scope | Session |
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Examples
Specify to pass through trace logs by using the my_trace_info information.
obclient> SET ob_trace_info='my_trace_info';
