select a.owner,
a.object_name,
b.session_id,
b.oracle_username,
b.os_user_name,
b.process,
b.locked_mode,
c.sid,
c.serial#,
c.program
from all_objects a,
v$locked_object b,
sys.gv_$session c
where ( a.object_id = b.object_id )
and (b.process = c.process )
and a.object_name=‘表名’;
杀死进程
ALTER SYSTEM KILL SESSION '1687,1509' IMMEDIATE;