Oracle死锁处理

时间:2014-05-16 06:31:59   收藏:0   阅读:301

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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!