当前位置:网站首页>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
边栏推荐
- Construction and traversal of binary tree
- Ansible cloud computing automation
- MapReduce core and foundation demo
- [untitled]
- Chapter II in memory architecture (im-2.2)
- 得到知识服务app原型设计比较与实践
- Define linked list (linked list)
- Realizing data value through streaming data integration (4) - streaming data pipeline
- 19. Delete the penultimate node of the linked list (linked list)
- lnmp的配置
猜你喜欢

Juc并发编程07——公平锁真的公平吗(源码剖析)

Charles 功能介绍和使用教程

Reading integrity monitoring techniques for vision navigation systems - 3 background

Yarn resource scheduler

Read LSTM (long short term memory)

Operation of 2022 tea artist (primary) test question simulation test platform

C language - custom type

部署jar包

Jinglianwen technology - professional data annotation company and intelligent data annotation platform

Sim Api User Guide(6)
随机推荐
0704、ansible----01
Juc并发编程09——Condition实现源码分析
Yarn core parameter configuration
链表相交(链表)
DBA常用SQL语句(3)- cache、undo、索引和等待事件
Redis design and Implementation
IDEA——》每次启动都会Indexing或 scanning files to index
209. Subarray with the smallest length (array)
Realize data value through streaming data integration (2)
Using idea to develop Spark Program
第120章 SQL函数 ROUND
Chapter 1 Oracle database in memory related concepts (im-1.1)
202. Happy number
Zhengda international explains what the Dow Jones industrial index is?
Define linked list (linked list)
深度选择器
Can Jerry's AES 256bit [chapter]
Common SQL statements of DBA (6) - daily management
景联文科技—专业数据标注公司和智能数据标注平台
Juc并发编程06——深入剖析队列同步器AQS源码