/*查询所有被锁数据*/
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;
/*解锁*/
本文转自 手不要乱摸 51CTO博客,原文链接:http://blog.51cto.com/5880861/1583419