ORACLE解锁record is locked by another user
来源:互联网 发布:遗传算法中的代沟 编辑:程序博客网 时间:2024/04/29 16:02
在操作ORACLE数据库的时候,由于执行完,没有COMMIT,直接把PL/SQL关闭掉,后来导致那张表被锁住,当编辑时就会出现这个信息,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'; --151是sid,14678是serial#
运行以上命令后,就可以解决此问题
PS: 操作数据库之后一定要记得手动commit
- Oracle 解锁Record is locked by another user?
- ORACLE解锁 record is locked by another user
- ORACLE解锁record is locked by another user
- Oracle 解锁:Record is locked by another user
- ORACLE record is locked by another user?解锁
- Record is locked by another user --Oracle行锁解锁
- ORACLE解锁record is locked by another user
- Record is locked by another user --Oracle行锁解锁
- oracle record is locked by another user
- Record is locked by another user--Oracle行锁解锁(总结)
- Record is locked by another user(oracle行锁解锁)
- Oracle 数据库 Record is locked by another user 问题解决办法
- Oracle操作报错:record is locked by another user
- Oracle Record is locked by another user 解决方法
- Oracle 数据库 Record is locked by another user 问题解决办法
- Oracle 数据库 Record is locked by another user 问题解决办法
- Oracle 数据库 Record is locked by another user 问题解决办法
- 关于 oracle record is locked by another user 问题解决办法
- 采用 UBIFS 制作 Android 的文件系统 (2011-11-10 20:41)
- 企业讲师培训
- Java开发——Class.forName()的作用
- const指针用法
- SGU 114 Telecasting station 单峰极值函数
- ORACLE解锁record is locked by another user
- 程序员学英语三部曲
- ubuntu 下面搭建 tomcat 服务器指南
- 基于单文档以对话框为载体使用MSComm控件 串口通信
- spring依赖注入的3种实现方式
- 光流法 运动物体检测[Eng]
- 浅谈自考学习方法(三)
- oracle10g查看表锁和解锁
- 第五周任务1-2