您的位置:首页 > 博客中心 > 数据库 >

Oraclet提交提示Record is locked by another user错误

时间:2022-03-14 02:12

http://blog.csdn.net/alifel/article/details/4324338下午修改oracle datebase中的字段时,提示"Record is locked by another user",错误可想而知。

 

下面解除锁

 

1、查看锁

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

2、Kill

--alter system kill session ‘sid,serial#‘;
alter system kill session ‘151,14678‘;--查看表大小

 

运行以上命令后,就可以解决此问题

热门排行

今日推荐

热门手游