解决oracle数据库死锁问题

select * from V$session;
select * from v$LOCK;

select sid, serial# from V$session
where sid in (select sid from v$LOCK where sid in ('5','12','14','16','67','71','72','73','76','77','78','132','136','137','141','144','146','194','196','197','204'));
alter system kill session 'sid, serial#';

猜你喜欢

转载自www.cnblogs.com/jimmyLei/p/9186406.html
今日推荐