The ROLLUP_UNIT procedure is used to calculate the execution time of a unit during a specific execution.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
PROCEDURE ROLLUP_UNIT(run_number IN number,unit IN number);
Parameters
Parameter |
Description |
|---|---|
| run_number | The run number, which allows you to store and retrieve execution data later. The values of the run_number IN parameter are obtained from the run_number OUT parameter of the start_profiler procedure. |
| unit | The object ID, which corresponds to the unit_number column in the statistics table. |
Examples
obclient> call dbms_profiler.rollup_unit(1,501810);
Query OK, 0 rows affected (0.08 sec)
