当前位置:网站首页>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
边栏推荐
- Linked list intersection (linked list)
- 242、有效字母异位词(哈希表)
- DBA常用SQL语句 (5) - Latch 相关
- [untitled]
- Swagger2 接口如何导入Postman
- What about Jerry's stack overflow? [chapter]
- Realize data value through streaming data integration (3) - real-time continuous data collection
- Chapter II in memory architecture (im-2.2)
- 使用IDEA开发Spark程序
- 203、移出链表元素(链表)
猜你喜欢
Sim Api User Guide(4)
Initial exploration of NVIDIA's latest 3D reconstruction technology instant NGP
Read LSTM (long short term memory)
Examination questions and answers of the third batch (main person in charge) of Guangdong safety officer a certificate in 2022
MapReduce core and foundation demo
Charles 功能介绍和使用教程
net start mysql MySQL 服务正在启动 . MySQL 服务无法启动。 服务没有报告任何错误。
/etc/shadow可以破解吗?
解决VMware卸载后再安装出现的问题
解决方案架构师的小锦囊 - 架构图的 5 种类型
随机推荐
Question bank and answers of Shanghai safety officer C certificate examination in 2022
第一章 Oracle Database In-Memory 相关概念(续)(IM-1.2)
DBA常用SQL语句(3)- cache、undo、索引和等待事件
Ansible cloud computing automation
域名和IP地址的联系
Sim Api User Guide(5)
Net start MySQL MySQL service is starting MySQL service failed to start. The service did not report any errors.
Understand the new economic model of platofarm and its ecological progress
解决方案架构师的小锦囊 - 架构图的 5 种类型
0704、ansible----01
349. Intersection of two arrays
[untitled]
Yarn resource scheduler
Can Jerry's AES 256bit [chapter]
mysql同一个表中相同数据怎么合并
SQL Server 递归查询上下级
Art template template engine
SQL Server 游标循环表数据
Arm debugging (1): two methods to redirect printf to serial port in keil
CSP certification 202203-2 travel plan (multiple solutions)