标签:
---查询 被锁的表
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 ‘85, 289‘;
标签:
原文地址:http://www.cnblogs.com/li-xy/p/5674373.html