当前位置:网站首页>SQLServer 查询数据库死锁
SQLServer 查询数据库死锁
2022-04-23 10:24:00 【---清心寡欲---】
SELECT der.session_id, der.start_time, datediff(ms,der.start_time,getdate()) as ms, der.cpu_time as cputime, der.logical_reads,
dest.[text] AS 'sqlcmd', der.*
FROM sys.[dm_exec_requests] AS der
CROSS APPLY
sys.[dm_exec_sql_text](der.[sql_handle]) AS dest
WHERE [session_id]>50 and [database_id]=db_id()
ORDER BY der.session_id DESC
kill死锁
kill id
版权声明
本文为[---清心寡欲---]所创,转载请带上原文链接,感谢
https://blog.csdn.net/ying456baby/article/details/119829342
边栏推荐
- 定义链表(链表)
- Sim Api User Guide(6)
- Art template template engine
- 349、两个数组的交集
- Yarn core parameter configuration
- 第二章 In-Memory 体系结构 (IM-2.2)
- Jerry sometimes finds that the memory has been tampered with, but there is no exception. How should he find it? [chapter]
- 202. Happy number
- 景联文科技—专业数据标注公司和智能数据标注平台
- Chapter 1 Oracle database in memory related concepts (im-1.1)
猜你喜欢
Question bank and answers of Shanghai safety officer C certificate examination in 2022
第120章 SQL函数 ROUND
中职网络安全2022国赛之CVE-2019-0708漏洞利用
【省选联考 2022 D2T1】卡牌(状态压缩 DP,FWT卷积)
2022年上海市安全员C证考试题库及答案
微信小程序简介、发展史、小程序的优点、申请账号、开发工具、初识wxml文件和wxss文件
Juc并发编程07——公平锁真的公平吗(源码剖析)
Initial exploration of NVIDIA's latest 3D reconstruction technology instant NGP
/Can etc / shadow be cracked?
SSH利用私钥无密钥连接服务器踩坑实录
随机推荐
一文看懂 LSTM(Long Short-Term Memory)
2022年上海市安全员C证考试题库及答案
Depth selector
MapReduce compression
349. Intersection of two arrays
Sim Api User Guide(5)
Jerry's users how to handle events in the simplest way [chapter]
Read LSTM (long short term memory)
二叉树的构建和遍历
深度选择器
What are Jerry's usual program exceptions? [chapter]
209、长度最小的子数组(数组)
206. Reverse linked list (linked list)
Sim Api User Guide(7)
Exercise questions and simulation test of refrigeration and air conditioning equipment operation test in 2022
242. Valid Letter ectopic words (hash table)
第一章 Oracle Database In-Memory 相关概念(IM-1.1)
DBA common SQL statements (2) - SGA and PGA
MapReduce core and foundation demo
142. Circular linked list||