Oracle死锁处理

SELECT s.username,l.OBJECT_ID,l.SESSION_ID,s.SERIAL#,
l.ORACLE_USERNAME,l.OS_USER_NAME,l.PROCESS,b.OBJECT_NAME,p.spid
FROM V$LOCKED_OBJECT l,V$SESSION S,dba_objects b,v$process p
WHERE l.SESSION_ID=S.SID and b.object_id=l.object_id and S.PADDR=p.ADDR and b.object_name=‘AAA‘

 

1.alter system kill session ‘sid,serial#‘;

2.直接上服务器杀进程 kill -9 spid

Oracle死锁处理,布布扣,bubuko.com

Oracle死锁处理

上一篇:SQLServer 列出每个表的列和属性


下一篇:Mysql编写定时任务事件