Advantages of using DBMS_schedular ovet dbms_job [message #568341] |
Thu, 11 October 2012 01:19 |
|
Dear All,
Please note,today we had one problem one of oracle job scheduled using dbms_job was inactive for so long time,As one of our developer noticed this and reached me as i checked the dba_job was running without an process
SQL> select sid,serial#,paddr from gv$session where osuser='oracle';
SID SERIAL# PADDR
---------- ---------- ----------------
626 753
i suggested a developer to drop job and reschedule it,now question was raised from them why process was not allocated to job,and can you any one suggests dbms_schedular can over come this problem please adivce.
Regards,
Anil
|
|
|
|
|
Re: Advantages of using DBMS_schedular ovet dbms_job [message #568361 is a reply to message #568344] |
Thu, 11 October 2012 02:52 |
|
Dear Michel,
Thanks,Also note we faced same issue few days before where our dba_job was blocked by another user session after lock was released my job was gone ideal(paddr was not allocated to session).hope same problem happens in this case also In alert log we didnt get any related broken job.
Note:
Repeat interval for job was 10 mins.my job was blocked by another session more than 10mins
Regards,
Anil
|
|
|
|
|
Re: Advantages of using DBMS_schedular ovet dbms_job [message #568374 is a reply to message #568373] |
Thu, 11 October 2012 03:55 |
|
Michel Cadot
Messages: 68729 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Yes this is expected as Oracle cannot achieve what you want.
If you want to execute a job then wait 10 minutes and execute it again (any time it takes) then go to the link I gave and click on the "complex scheduling" link.
Regards
Michel
|
|
|