日期:2014-05-16  浏览次数:20480 次

如何查看数据库中被锁定的对象
select * from v$locked_object;
select * from dba_objects where object_id=12642;

-------------------------
select s.sid,s.SERIAL#,s.*,l.*,o.* from v$session s,v$locked_object l,dba_objects o where s.sid=l.session_id and l.OBJECT_ID=o.OBJECT_ID;

alter system kill session '932,1832';-----sid,SERIAL#