Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

checking if a job is already running on a RAC instance

686855Feb 23 2009 — edited May 26 2010
Hi,

Require means of checking is a job is already running.

I'm not very experienced with Oracle Scheduler. I have a question around use of scheduler on a RAC db. I am able to schedule jobs and get them to run every 15 minutes. There are cases where the job may overrun its scheduled interval of 15 minutes, in such a case i dont want another instance of the job to run. Whats the best way to handle such things using scheduler?

So far the approach I'm taking is - I understand that from gv$scheduler you can understand if the job is running or not. If there were some correlation between gv$scheduler and other tables such as DBA_SCHEDULER_JOBS I might be able to do a query to check if a job created by me was running. No luck so far locating such a link between these tables.

Regards,

PK
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2010
Added on Feb 23 2009
5 comments
5,534 views