–查看被锁表ID
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 \’1020,52767\’;
–查看被锁表ID
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 \’1020,52767\’;