Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The GATHER_STATS_JOB (Automatic Statistics Collection) has suddenly stopped to run. What should I check?

0
10 Posted

The GATHER_STATS_JOB (Automatic Statistics Collection) has suddenly stopped to run. What should I check?

0
10

First verify whether it is true that the GATHER_STATS_JOB is no longer running by querying the all_scheduler_job_log table. You’ll find entries in this table for each job run. If there are no recent entries for the GATHER_STATS_JOB, then make sure that the windows in the maintenance window group are still properly opening and closing by querying all_scheduler_window_log. If as you say the maintenance windows still properly open, then either the job has been – disabled, or – it’s schedule is no longer pointing to the window group As SYS issue the following query. The results should be similar. If the job isn’t even there it might have been deleted. To fix the schedule, or to enable the job you can use the routines in the dbms_scheduler package, or use EM. SQL> select schedule_name, enabled, state, last_start_date from all_scheduler_jobs where job_name = ‘GATHER_STATS_JOB’; SCHEDULE_NAME ———————————————————- ENABL STATE —– ————— LAST_STA

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123