How To Manually Execute the Optimizer Statistics Auto Task in Oracle11g or Later
(Doc ID 731935.1)
Last updated on APRIL 26, 2024
Applies to:
Oracle Database - Standard Edition - Version 11.1.0.6 and laterOracle Database - Enterprise Edition - Version 11.1.0.6 and later
Oracle Database - Personal Edition - Version 11.1.0.6 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Information in this document applies to any platform.
Goal
It may sometimes be necessary to manually execute the Optimizer Statistics Gathering Auto Task in Oracle11g or later e.g. when debugging a problem which involves it and does not reproduce with manual statistics gathering.
This article shows how to do this using DBMS_AUTO_TASK_IMMEDIATE
It also shows how to interrupt the Auto Task after it has started so that it executes its cleanup procedure before quitting.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |