The OB_MOD_ACT_TRACE_ENABLE procedure enables end-to-end diagnostics at the module/action level.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
DBMS_MONITOR.OB_MOD_ACT_TRACE_ENABLE(
module_name IN VARCHAR2,
action_name IN VARCHAR2,
level IN INT,
sample_pct IN NUMBER,
record_policy IN VARCHAR2);
Parameters
| Parameter | Description |
|---|---|
| module_name | The name of the module for which end-to-end diagnostics is to be enabled. |
| action_name | The name of the action for which end-to-end diagnostics is to be enabled. |
| level | The trace collection level for the end-to-end diagnostics feature, which is an integer. |
| sample_pct | The sampling frequency. Value range: [0, 1]. |
| record_policy | The printing strategy. Valid values:
|