oracle死锁语句查看

select b.owner,b.object_name,a.session_id,a.locked_mode from v$locked_object a,dba_objects b where b.object_id = a.object_id;

select b.username,b.sid,b.serial#,logon_time from v$locked_object a,v$session b where a.session_id = b.sid order by b.logon_time;

posted on 2023-04-04 10:58  四海骄阳  阅读(101)  评论(0编辑  收藏  举报

导航