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
The
systenant and all user tenants can use theSHOW VARIABLESstatement or theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (Oracle mode) and theinformation_schema.SESSION_VARIABLESview (MySQL mode) 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 tenant.
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 by using the my_trace_info information.
obclient> SET ob_trace_info='my_trace_info';