当前位置:网站首页>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#.
边栏推荐
- Stored procedure bias of SQL to LINQ
- [C topic] Li Kou 88. merge two ordered arrays
- LeetCode_因式分解_简单_263.丑数
- [MySQL series] - how much do you know about the index
- The solution to the problem that the progress bar of ros2 installation connext RMW is stuck at 13%
- pkg_resources动态加载插件
- 006操作符简介
- [C topic] force buckle 876. Intermediate node of linked list
- Implement a simple restful API server
- 简易轮播图和打地鼠
猜你喜欢

pl/sql 创建并执行oralce存储过程,并返回结果集

"Ask every day" reentrantlock locks and unlocks

Add the jar package under lib directory to the project in idea

Go language founder leaves Google

Melody + realsense d435i configuration and error resolution

39 simple version of millet sidebar exercise

Yarn: the file yarn.ps1 cannot be loaded because running scripts is prohibited on this system.

41 图片背景综合-五彩导航图

Pl/sql creates and executes ORALCE stored procedures and returns the result set

44 新浪导航 ,小米边栏 练习
随机推荐
43 box model
Vs2010添加wap移动窗体模板
js URLEncode函数
EDA chip design solution based on AMD epyc server
6线SPI传输模式探索
(original) customize a scrolling recyclerview
Copy files / folders through Robocopy
When using jetty to run items, an error is reported: form too large or form too many keys
[C topic] force buckle 876. Intermediate node of linked list
[comprehensive pen test] difficulty 4/5, classic application of line segment tree for character processing
golang复习总结
Kibana operation es
39 简洁版小米侧边栏练习
Implementation of redis distributed lock
[thread knowledge points] - spin lock
没错,请求DNS服务器还可以使用UDP协议
Pl/sql creates and executes ORALCE stored procedures and returns the result set
Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud
06. Neural network like
45padding不会撑开盒子的情况