当前位置:网站首页>SQL server query database deadlock
SQL server query database deadlock
2022-04-23 10:28:00 【---Pure heart and few desires---】
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 Deadlock
kill id
版权声明
本文为[---Pure heart and few desires---]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231024447511.html
边栏推荐
- C language - custom type
- 通过流式数据集成实现数据价值(1)
- Realize data value through streaming data integration (2)
- Operation of 2022 tea artist (primary) test question simulation test platform
- 得到知识服务app原型设计比较与实践
- Chapter 1 Oracle database in memory related concepts (im-1.1)
- 707、设计链表(链表)
- SQL Server 游标循环表数据
- 第三章 启用和调整IM列存储的大小(IM-3.1)
- Define linked list (linked list)
猜你喜欢

C language - custom type

中职网络安全2022国赛之CVE-2019-0708漏洞利用

Swagger2 自定义参数注解如何不显示

Shell script interaction free

JUC concurrent programming 07 -- is fair lock really fair (source code analysis)

Redis design and Implementation

net start mysql MySQL 服务正在启动 . MySQL 服务无法启动。 服务没有报告任何错误。

Yarn core parameter configuration

2022 mobile crane driver test question bank simulation test platform operation

Comparison and practice of prototype design of knowledge service app
随机推荐
LeetCode-608. 树节点
中职网络安全2022国赛之CVE-2019-0708漏洞利用
Using idea to develop Spark Program
Six practices of Windows operating system security attack and defense
242. Valid Letter ectopic words (hash table)
解决方案架构师的小锦囊 - 架构图的 5 种类型
24、两两交换链表中的节点(链表)
部署jar包
Reading integrity monitoring techniques for vision navigation systems - 3 background
一文看懂 LSTM(Long Short-Term Memory)
997、有序数组的平方(数组)
[provincial election joint examination 2022 d2t1] card (state compression DP, FWT convolution)
What if Jerry's function to locate the corresponding address is not accurate sometimes? [chapter]
得到知识服务app原型设计比较与实践
ansible playbook语法和格式 自动化云计算
Art template template engine
MapReduce core and foundation demo
Chapter 1 Oracle database in memory related concepts (im-1.1)
Jerry's users how to handle events in the simplest way [chapter]
C语言——自定义类型