oracle查询死锁

select object_name,machine,s.sid,s.serial#
from v$locked_object l,dba_objects o ,v$session s
where l.object_id = o.object_id and l.session_id=s.sid;


alter system kill session '1165,8481';

posted @ 2021-07-29 19:32  巴蒂青葱  阅读(85)  评论(0编辑  收藏  举报