1.查看锁表进程;select * from v$session t1, v$locked_object t2 where t1.sid = t2.SESSION_ID;
2.杀掉锁表进程:
记录下SID和serial# ,分别替换掉下面的1155,39095,即可解除锁表
alter system kill session ‘1155,39095‘;
原文地址:https://www.cnblogs.com/banxian-yi/p/11023729.html
时间: 2024-10-16 10:49:41