ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 转:Oracle 解锁Record is locked by another use

转:Oracle 解锁Record is locked by another use

原创 Linux操作系统 作者:mengzhaoliang 时间:2008-08-15 11:38:50 0 删除 编辑

 

 

Oracle 解锁Record is locked by another use

--查看锁
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;


--alter system kill session 'sid,serial#';
--把锁给KILL掉
alter system kill session '151,14678';

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12778571/viewspace-429377/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2008-01-30

  • 博文量
    336
  • 访问量
    3085695