当前位置:网站首页>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#.
边栏推荐
- Add the jar package under lib directory to the project in idea
- Qt connect 中, SIGNAL,SLOT 与 lambda 对比
- As methods for viewing and excluding dependencies
- Leo-sam: tightly coupled laser inertial odometer with smoothing and mapping
- "Ask every day" what is volatile
- "How to use" observer mode
- TypeScript学习1——数据类型
- Implement a simple restful API server
- 二维数组赋初值你会几种方法?
- 32 chrome调试工具的使用
猜你喜欢

006操作符简介

Sudo rosdep init error ROS installation problem solution

45padding不会撑开盒子的情况

LeetCode-198-打家劫舍

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

Implement a simple restful API server

【JS高级】js之正则相关函数以及正则对象_02

Deployment and simple use of PostgreSQL learning

Realsense ROS installation configuration introduction and problem solving

Splice a field of the list set into a single string
随机推荐
LeetCode_ String_ Medium_ 151. Reverse the words in the string
TypeScript学习1——数据类型
Pl/sql creates and executes ORALCE stored procedures and returns the result set
Log4j2 basic configuration
[MySQL series] - how much do you know about the index
Reprint ---- how to read the code?
Syntax summary of easygui
6线SPI传输模式探索
Bridge NF call ip6tables is an unknown key exception handling
QT connect, signal, slot and lambda comparison
MFC 线程AfxBeginThread基本用法,传多个参数
golang复习总结
Deployment and simple use of PostgreSQL learning
继承的实现过程及ES5和ES6实现的区别
The solution to the problem that the progress bar of ros2 installation connext RMW is stuck at 13%
43 盒子模型
阿里云技术专家邓青琳:云上跨可用区容灾和异地多活最佳实践
ES5写继承的思路
没错,请求DNS服务器还可以使用UDP协议
[C题目]牛客 链表中倒数第k个结点