死锁查询
select object_name, machine, s.sid, s.serial#
from gv$locked_object l, dba_objects o, gv$session s
where l.object_id = o.object_id
and l.session_id = s.sid;
解锁
--语法
alter system kill session 'sid, serial#';
--解锁
alter system kill session '11, 2222';