How to Change GATHER_STATS_JOB or Any Job to Run on a Different Schedule?
(Doc ID 579007.1)
Last updated on JANUARY 30, 2022
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
This note will provide the steps to create New Schedule using DBMS_SCHEDULER. Using this new schedule we can change the schedule of GATHER_STATS_JOB or any job to run on a different scheduled time.
Although the discussed principle is also valid for Oracle 11g, the actual example does not apply.
With 11g, Optimizer Statistics Gathering is included in the new Automated Maintenance Tasks which are defined to execute within new daily Window Schedules.
Please refer to
<Note 743507.1> - How to Benefit from Automatic Maintenance Tasks Following the Removal of the GATHER_STATS_JOB in 11g?
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