数据库查询死锁
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;
alter system kill session 'sid,serial#';
如果查出有数据则kill sid 就可以解锁了。
oracle 查数据库死锁
最新推荐文章于 2023-04-27 20:10:35 发布