The PAUSE_PROFILER procedure is used to pause the profiler.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_PROFILER.PAUSE_PROFILER
RETURN BINARY_INTEGER;
DBMS_PROFILER.PAUSE_PROFILER;
Note
RETURN BINARY_INTEGER specifies the return data type as a binary integer. In practice, you typically do not need to explicitly declare RETURN BINARY_INTEGER; instead, you directly call the PAUSE_PROFILER procedure.
Examples
Execute the following statement to pause the profiler.
obclient> call DBMS_PROFILER.pause_profiler();
Query OK, 0 rows affected (0.012 sec)
