DBMS_JOB restarting [message #470141] |
Sun, 08 August 2010 19:26 |
sahadba
Messages: 59 Registered: September 2009 Location: Pune
|
Member |
|
|
Hello Experts,
My Apologies for duplicating my Post...
The Issue is as below: -
Hello Experts,
Apologies for Duplicating the message....
Please look into my problem,
I was monitoring a database job to collect statistics, it was scheduled using DBMS_JOBS...
I found that it was running during business hours so i got the session ID of the job using;
select sid from dba_jobs_running where job=11;
I then i killed the job using;
select serial# from v$session where sid =232;
alter system kill session '232, 10852';
select sid from dba_jobs_running where job=11;
no rows selected
After some time i again fired the same command
select sid from dba_jobs_running where job=11;
SID
----------
232
and found that the same job is again running..
This behavior was repeated again N again. i have attached the spool file for the same...
Please let me know what could be the reason that the job is starting all over again even after killing the session and what should be done to stop it..
I understand that once the database shuts down and if the job is still running then it will restart once the database is up..
In this case, Should i remove the job and re submit it again..
Thank You
|
|
|
|
|
|
|
|
|
|
|