查询死锁
select object_name,machine,s.sid,s.serial#
from v
l
o
c
k
e
d
o
b
j
e
c
t
l
,
d
b
a
o
b
j
e
c
t
s
o
,
v
locked_object l,dba_objects o ,v
lockedobjectl,dbaobjectso,vsession s
where l.object_id = o.object_id and l.session_id=s.sid;
解除死锁
alter system kill session ‘SID,SERIAL#’;
oracle查询死锁,解除死锁
最新推荐文章于 2024-05-21 18:51:16 发布