CANCEL_GATHER_STATS is used to cancel a statistics collection command.
Syntax
DBMS_STATS.cancel_gather_stats (
taskid VARCHAR2
);
Parameters
| Parameter | Description |
|---|---|
| taskid | The ID of the statistics collection task.
NoteYou can query the |
Example
obclient> CALL DBMS_STATS.CANCEL_GATHER_STATS(taskid);
Note
Replace taskid with the actual ID.