Oracle表被锁无法问题处理
1:查出锁定表的信息
SELECT s.sid, s.serial#, s.username, s.schemaname, s.osuser, s.process, s.machine,
s.terminal, s.logon_time, l.type
FROM v$session s, v$lock l
WHERE s.sid = l.sid
AND s.username IS NOT NULL
ORDER BY sid;
2:杀掉进程 sid,serial#
alter system kill session'161,5508';
alter system kill session'222,643';