OB_TENANT_TRACE_ENABLE is used to enable end-to-end diagnosis for the current tenant.
Applicability
This content 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 end-to-end diagnosis functionality, which is an integer. |
| sample_pct: | The sampling percentage, with a range of [0,1]. |
| record_policy | The printing policy, including the following options:
|