当前位置:网站首页>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
边栏推荐
- 997. Square of ordered array (array)
- Sim Api User Guide(6)
- Example of pop-up task progress bar function based on pyqt5
- Comparison and practice of prototype design of knowledge service app
- Shell script interaction free
- Sim Api User Guide(6)
- 19. Delete the penultimate node of the linked list (linked list)
- Chapter 2 Oracle database in memory architecture (I) (im-2.1)
- Reading integrity monitoring techniques for vision navigation systems - 3 background
- DBA常用SQL语句 (5) - Latch 相关
猜你喜欢
Six practices of Windows operating system security attack and defense
Initial exploration of NVIDIA's latest 3D reconstruction technology instant NGP
【无标题】
Juc并发编程06——深入剖析队列同步器AQS源码
Net start MySQL MySQL service is starting MySQL service failed to start. The service did not report any errors.
Jerry's more accurate determination of abnormal address [chapter]
/etc/shadow可以破解吗?
Sim Api User Guide(5)
MapReduce compression
[untitled]
随机推荐
19、删除链表的倒数第N个节点(链表)
MapReduce core and foundation demo
[untitled]
454、四数之和(哈希表)
Ansible cloud computing automation command line compact version
第一章 Oracle Database In-Memory 相关概念(IM-1.1)
Juc并发编程09——Condition实现源码分析
What are Jerry's usual program exceptions? [chapter]
Read LSTM (long short term memory)
Ansible cloud computing automation
2022 mobile crane driver test question bank simulation test platform operation
C language - custom type
Sim Api User Guide(4)
Jerry's factors that usually affect CPU performance test results are: [article]
101. Symmetric Tree
Net start MySQL MySQL service is starting MySQL service failed to start. The service did not report any errors.
What about Jerry's stack overflow? [chapter]
Zhengda international explains what the Dow Jones industrial index is?
DBA常用SQL语句(1)— 概况信息
DBA常用SQL语句(3)- cache、undo、索引和等待事件