時計のロックとセッションの表示
select p.spid,
c.object_name,
a.SID,
a.SERIAL#,
b.session_id,
b.oracle_username,
b.os_user_name
from v$process p, v$session a, v$locked_object b, all_objects c
where p.addr = a.paddr
and a.process = b.process
and c.object_id = b.object_id;
--alter system kill session 'sid,Serial#'
alter system kill session '173,738';