Last updated on MAY 23, 2017
Applies to:Oracle Database - Standard Edition - Version 184.108.40.206 to 220.127.116.11 [Release 11.1 to 11.2]
Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 11.1 to 11.2]
Oracle Database - Personal Edition - Version 126.96.36.199 to 188.8.131.52 [Release 11.1 to 11.2]
Information in this document applies to any platform.
It may sometimes be necessary to manually execute the Optimizer Statistics Gathering Auto Task in Oracle11g 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms