CANCEL_GATHER_STATS
CANCEL_GATHER_STATS is used to cancel the statistics collection command.
Syntax
DBMS_STATS.cancel_gather_stats (
taskid VARCHAR2
);
Parameter description
| Parameter | Description |
|---|---|
| taskid | The ID of the statistics collection task. You can query the V$OB_OPT_STAT_GATHER_MONITOR view to obtain this value. |
Examples
CALL DBMS_STATS.CANCEL_GATHER_STATS(taskid);
info
In this example, taskid must be replaced with the actual value.