The OB_TENANT_TRACE_ENABLE procedure enables end-to-end diagnostics for the current tenant.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
DBMS_MONITOR.OB_TRACE_ENABLE(
level IN INT,
sample_pct IN NUMBER,
record_policy IN VARCHAR2);
Parameters
| Parameter | Description |
|---|---|
| level: | The trace collection level for the end-to-end diagnostic feature, which is an integer. |
| sample_pct: | The sampling frequency. Value range: [0,1]. |
| record_policy | The printing strategy. Valid values:
|