当前位置:网站首页>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#.
边栏推荐
- [C topic] Li Kou 88. merge two ordered arrays
- ES5写继承的思路
- 43 盒子模型
- String type time comparison method with error string.compareto
- Cmake specify opencv version
- 深入:微任务与宏任务
- 【JS高级】js之正则相关函数以及正则对象_02
- Solve the error caused by too large file when uploading file by asp.net
- Overview of cloud security technology development
- LeetCode_ String_ Medium_ 151. Reverse the words in the string
猜你喜欢

System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏

L1和L2正则化

Heyuan City launched fire safety themed milk tea to boost fire prevention and control in summer

Leetcode combination sum + pruning

bridge-nf-call-ip6tables is an unknown key异常处理

27 选择器的分类

06. Neural network like

【微信小程序】小程序宿主环境详解

6线SPI传输模式探索

Leetcode-198- house raiding
随机推荐
深入:微任务与宏任务
转载----如何阅读代码?
MySQL的登陆【数据库系统】
[C topic] force buckle 876. Intermediate node of linked list
Deployment and simple use of PostgreSQL learning
Melody + realsense d435i configuration and error resolution
TypeScript学习1——数据类型
ES5写继承的思路
简易轮播图和打地鼠
44 新浪导航 ,小米边栏 练习
VS2010 add WAP mobile form template
js URLEncode函数
冈萨雷斯 数字图像处理 第一章绪论
AS查看依赖关系和排除依赖关系的办法
解决asp.net上传文件时文件太大导致的错误
Login of MySQL [database system]
Copy files / folders through Robocopy
IP地址分类,判断一个网段是子网超网
Thymeleaf notes
Yes, UDP protocol can also be used to request DNS server