oracle 停止运行的job

linux下切换到oracle用户

su -l oracle

登录sysdba用户

sqlplus / as sysdba

找到运行的任务,看sql_text

select a.program, b.spid, c.sql_text,c.SQL_ID from v$session a, v$process b, v$sqlarea c where a.paddr = b.addr and a.sql_hash_value = c.hash_value and a.username is not null;

kill掉spid

kill -9 xxx

你可能感兴趣的:(笔记,oracle,sql,linux)