标签:io sp on bs nbsp oracle type rom select
SELECT /*+ rule*/ a.sid, b.owner, object_name, object_type FROM v$lock a, all_objects b WHERE TYPE = ‘TM‘ and a.id1 = b.object_id;
查到的都是被锁的表
SELECT * FROM v$session where sid = xxx; 查到 serial#
最后alter system kill session ‘sid,serial#‘; 关闭锁
标签:io sp on bs nbsp oracle type rom select
原文地址:http://www.cnblogs.com/attlia/p/4166468.html