当前位置:网站首页>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#.
边栏推荐
- Leetcode combination sum + pruning
- MySQL sort
- 006操作符简介
- Several methods of spark parameter configuration
- Realsense ROS installation configuration introduction and problem solving
- 流程控制(上)
- node学习
- Bridge NF call ip6tables is an unknown key exception handling
- Content type corresponding to office file
- ice 100G 网卡分片报文 hash 问题
猜你喜欢

39 简洁版小米侧边栏练习
![[MySQL series] - how much do you know about the index](/img/d7/5045a846580be106e2bf16d7b30581.png)
[MySQL series] - how much do you know about the index

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

System. Accessviolationexception: an attempt was made to read or write to protected memory. This usually indicates that other memory is corrupted

oracle_12505错误解决方法

06. Neural network like

6线SPI传输模式探索

Raft of distributed consistency protocol

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

直播课堂系统05-后台管理系统
随机推荐
SPI传输出现数据与时钟不匹配延后问题分析与解决
C#,C/S升级更新
"Ask every day" what is volatile
The solution to the problem that the progress bar of ros2 installation connext RMW is stuck at 13%
js URLEncode函数
43 box model
Visual Studio 2022 查看类关系图
TypeScript学习2——接口
37 元素模式(行内元素,块元素,行内块元素)
API health status self inspection
Detailed explanation of lio-sam operation process and code
sql to linq 之存储过程偏
Splice a field of the list set into a single string
Syntax summary of easygui
Share a department design method that avoids recursion
简易轮播图和打地鼠
35 快速格式化代码
Solve the error caused by too large file when uploading file by asp.net
PHP 通过原生CURL实现非阻塞(并发)请求模式
SQL优化的一些建议,希望可以帮到和我一样被SQL折磨的你