Kill the running job ora_j001 in oracle on Windows,Unix,Linux
Some time in real environment we need to kill the oracle jobs running on background by oracle process. We need to kill the Oracle running jobs by finding out its process id running on OS.
Following are the steps help out to kill the running job by oracle scheduler
1. Check the SID from the database:
select * from DBA_JOBS_RUNNING;
2. Get the sid and serial# for kill the session;
select p.spid, s.sid, s.serial#, s.username, s.status, s.last_call_et, p.program, p.terminal, logon_time, module, s.osuser from V$process p,V$session s where s.paddr = p.addr and s.sid = '249';
3. Kill the session:
alter system kill session 'sid,serial#' immediate;
OR
Kill the process from OS
kill -9
On window : open cmd.exe
orakill oracle_sid