The OB_TENANT_TRACE_ENABLE procedure enables full-link tracing for the current tenant.
Applicability
This topic applies only to OceanBase Database Enterprise Edition.
Syntax
DBMS_MONITOR.OB_TRACE_ENABLE(
level IN INT,
sample_pct IN NUMBER,
record_policy IN VARCHAR2);
Parameters
| Parameter | Description |
|---|---|
| level: | The sampling level for internal data of a Span. Valid values: Level 1, Level 2, and Level 3. |
| sample_pct: | The sampling rate, which ranges from 0 to 1. |
| record_policy | The strategy for printing trace information. Valid values:
|
