当前位置:网站首页>Handle Oracle deadlock
Handle Oracle deadlock
2022-07-25 15:04:00 【Kimizhou_ blog】
select count(*) from v$locked_object;
select * from v$locked_object;
-- Check which watch is locked
Sql Code
select b.owner,b.object_name,a.session_id,a.locked_mode
from v$locked_object a,dba_objects b
where b.object_id = a.object_id;
-- Check which one is session Caused by the
Sql Code
select b.username,b.sid,b.serial#,logon_time
from v$locked_object a,v$session b
where a.session_id = b.sid order by b.logon_time;
Carry out orders :alter system kill session'1025,41';
among 1025 by sid, 41 by serial#.
边栏推荐
- 没错,请求DNS服务器还可以使用UDP协议
- Leo-sam: tightly coupled laser inertial odometer with smoothing and mapping
- Raft of distributed consistency protocol
- 44 Sina navigation, Xiaomi sidebar exercise
- Sudo rosdep init error ROS installation problem solution
- System. Accessviolationexception: an attempt was made to read or write to protected memory. This usually indicates that other memory is corrupted
- oracle_12505错误解决方法
- Live classroom system 05 background management system
- pl/sql 创建并执行oralce存储过程,并返回结果集
- 瀑布流布局
猜你喜欢

51 single chip microcomputer learning notes (1)

AS查看依赖关系和排除依赖关系的办法

"Ask every day" reentrantlock locks and unlocks

【MySQL系列】-索引知多少

Resource not found: rgbd_ Launch solution

冈萨雷斯 数字图像处理 第一章绪论

Vs2010添加wap移动窗体模板

"Ask every day" how locksupport realizes thread waiting and wakeup

Share a department design method that avoids recursion

I hope some suggestions on SQL optimization can help you who are tortured by SQL like me
随机推荐
Unable to start web server when Nacos starts
深入:微任务与宏任务
LeetCode_因式分解_简单_263.丑数
39 simple version of millet sidebar exercise
SQL Server forcibly disconnects
oracle_12505错误解决方法
ES5写继承的思路
阿里云技术专家邓青琳:云上跨可用区容灾和异地多活最佳实践
EDA chip design solution based on AMD epyc server
I hope some suggestions on SQL optimization can help you who are tortured by SQL like me
IP地址分类,判断一个网段是子网超网
[MySQL series] - how much do you know about the index
云安全技术发展综述
MySQL sort
瀑布流布局
Realsense ROS installation configuration introduction and problem solving
41 图片背景综合-五彩导航图
System. Accessviolationexception: an attempt was made to read or write to protected memory. This usually indicates that other memory is corrupted
js URLEncode函数
(原创)自定义一个滚屏的RecyclerView