How to Change GATHER_STATS_JOB or Any Job to Run on a Different Schedule? (Doc ID 579007.1)

Last updated on JUNE 16, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.
***Checked for relevance on 06-Aug-2016***


Goal

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.

NOTE:
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?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms