select sess.sid,
sess.serial#,
lo.oracle_username,
lo.os_user_name,
ao.object_name,
lo.locked_mode
from v$locked_object lo,
dba_objects ao,
v$session sess
where ao.object_id = lo.object_id and lo.session_id = sess.sid

alter system kill session '1042,6820';
alter system kill session '2863,9575';
alter system kill session '1025,3415';

posted on 2016-12-30 10:11  懒懒的呐喊  阅读(160)  评论(0编辑  收藏  举报