- 论坛徽章:
- 0
|
Subject: ALERT: Jobs Scheduled with DBMS_JOB May Not Run at Scheduled Intervals
Doc ID: Note:228059.1 Type: ALERT
Last Revision Date: 20-OCT-2005 Status: PUBLISHED
ALERT: Jobs Scheduled with DBMS_JOB May Not Run at Scheduled Intervals
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Versions Affected
~~~~~~~~~~~~~~~~~
This issue is introduced in Oracle9i in version 9.0.1.0. It affects version
9.0.1.0 through 9.0.1.4 inclusive and versions 9.2.0.1 and 9.2.0.2.
Platforms Affected
~~~~~~~~~~~~~~~~~~
GENERIC.
Description
~~~~~~~~~~~
An attempt is made herein to increase the visibility of Bug 2649244 which
many customers could face as they move on to OEE 9.0.1.x or 9.2.x.
It is intended for customers who use the DBMS_JOB API which is an integral
part of replication and also is used to schedule other administrative
activities. The symptoms associated with this bug are that jobs may not
run at scheduled intervals thus holding up other processes.
Likelihood of Occurrence
~~~~~~~~~~~~~~~~~~~~~~~~
If you are using DBMS_JOB API to schedule jobs then this problem could
affect you. To check if you are hitting this bug:
SQL> SELECT last_date, last_sec, next_date, next_sec FROM dba_jobs;
See if the next_date, next_sec are updated after a job is run.
If not you would have to run the job manually using DBMS_JOB.RUN(jobid).
Possible Symptoms
~~~~~~~~~~~~~~~~~
a) JOBS may not run at scheduled intervals even if the job is not BROKEN.
b) The job coordinator CJQ process produces trace files with stack trace
as kkjqawi kkjawiq kkjex1s kkjcjexe kkjssrh ksbcti
c) Next_date in DBA_JOBS is not updated.
Workaround
~~~~~~~~~~
Set job_queue_processes=0 and set it back to the old value after a couple
of minutes. When we set job_queue_processes=0 this would kill all the snp
related processes and then after a couple of minutes set the value of
job_queue_processes to the original value.
For example, show parameter job_queue_processes and if the output is say 5
SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 0;
would kill all Jxxx processes.
After 2-3 minutes;
SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 5;
Alternatively use the cron utility to run the jobs.
Patches
~~~~~~~
Fix to this bug is addressed in patchset 9.2.0.3.0 and Oracle Server
Release 10i.
Patches for this bug can be found on MetaLink by following these steps:
1. Login to MetaLink - http://metalink.oracle.com
2. Choose Patches from the Menu.
3. Input 2649244 into the Patch Number field.
4. Click the Go button.
References
~~~~~~~~~~
Bug 2649244 JOBS may not run at scheduled intervals
______________________________________________________________________________
Oracle Support Services |
|