oracle数据库查看死锁

查看死锁语句

select object_name,machine,s.sid,s.serial#
from v$locked_object l,dba_objects o ,v$session s
where l.object_id = o.object_id and l.session_id=s.sid

杀死死锁进程(110为sid,48505为serial)

alter system kill session '110,48505'

你可能感兴趣的:(oracle数据库查看死锁)