SELECT sid, serial#, username, osuser FROM v$session where sid
in(select session_id from v$locked_object);
--kill掉相关的会话
ALTER SYSTEM KILL SESSION '597,1171';
SELECT sid, serial#, username, osuser FROM v$session where sid
in(select session_id from v$locked_object);
--kill掉相关的会话
ALTER SYSTEM KILL SESSION '597,1171';