查看被锁
select object_name,machine,s.sid,s.serial#
from v$locked_object l,dba_objects o,v$session s
where l.object_id = o.object_id and l.session_id=s.sid;
解锁
alter system kill session '128,39113'; --(其中24,111分别是上面查询出的sid,serial#)
查看被锁
select object_name,machine,s.sid,s.serial#
from v$locked_object l,dba_objects o,v$session s
where l.object_id = o.object_id and l.session_id=s.sid;
解锁
alter system kill session '128,39113'; --(其中24,111分别是上面查询出的sid,serial#)