Note
For V4.x, the corresponding feature is no longer available. This parameter is removed starting with V4.2.0.
Description
trace_log_sampling_interval specifies the time interval for periodically printing trace log information.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 10ms |
| Value range | [0ms, +∞) |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
When enable_record_trace_log is set to False, the trace_log_sampling_interval parameter determines the time interval for printing slow query and allowlist information.
Examples
Set the time interval for periodically printing trace log information to 10ms.
obclient> ALTER SYSTEM SET trace_log_sampling_interval='10ms';
