当前位置:网站首页>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
边栏推荐
- MapReduce core and foundation demo
- 第120章 SQL函数 ROUND
- DBA常用SQL语句(3)- cache、undo、索引和等待事件
- ansible playbook语法和格式 自动化云计算
- 206、反转链表(链表)
- SSH利用私钥无密钥连接服务器踩坑实录
- Juc并发编程06——深入剖析队列同步器AQS源码
- Chapter II in memory architecture (im-2.2)
- DBA常用SQL语句(4)- Top SQL
- LeetCode 1249. Minimum remove to make valid parents - FB high frequency question 1
猜你喜欢

101. Symmetric Tree

Exercise questions and simulation test of refrigeration and air conditioning equipment operation test in 2022

JVM——》常用参数

Question bank and answers of Shanghai safety officer C certificate examination in 2022
![[untitled]](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[untitled]

Shell script interaction free

Sim Api User Guide(4)
![[provincial election joint examination 2022 d2t1] card (state compression DP, FWT convolution)](/img/e4/3c47edbc3241ba86f10a1ac8a963fd.png)
[provincial election joint examination 2022 d2t1] card (state compression DP, FWT convolution)

基于PyQt5实现弹出任务进度条功能示例

101. Symmetric Tree
随机推荐
第二章 In-Memory 体系结构 (IM-2.2)
DBA common SQL statements (1) - overview information
第一章 Oracle Database In-Memory 相关概念(IM-1.1)
1、两数之和(哈希表)
ansible playbook语法和格式 自动化云计算
19. Delete the penultimate node of the linked list (linked list)
101. Symmetric Tree
206. Reverse linked list (linked list)
IDEA——》每次启动都会Indexing或 scanning files to index
LeetCode-608. 树节点
lnmp的配置
Solve the problem of installing VMware after uninstalling
What about Jerry's stack overflow? [chapter]
142. Circular linked list||
第二章 Oracle Database In-Memory 体系结构(上) (IM-2.1)
Using idea to develop Spark Program
Chapter I Oracle database in memory related concepts (Continued) (im-1.2)
LeetCode 1249. Minimum remove to make valid parents - FB high frequency question 1
ansible 云计算 自动化
中职网络安全2022国赛之CVE-2019-0708漏洞利用