当前位置:网站首页>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
边栏推荐
- Sim Api User Guide(6)
- Chapter 2 Oracle database in memory architecture (I) (im-2.1)
- shell脚本免交互
- ansible playbook语法和格式 自动化云计算
- Windows installs redis and sets the redis service to start automatically
- 349. Intersection of two arrays
- 349、两个数组的交集
- 242. Valid Letter ectopic words (hash table)
- 206、反转链表(链表)
- SSH利用私钥无密钥连接服务器踩坑实录
猜你喜欢

【省选联考 2022 D2T1】卡牌(状态压缩 DP,FWT卷积)

得到知识服务app原型设计比较与实践

SQL Server 游标循环表数据

mysql同一个表中相同数据怎么合并

C language - custom type

Sim Api User Guide(5)

Sim Api User Guide(6)

MapReduce compression

Comparison and practice of prototype design of knowledge service app

Solution architect's small bag - 5 types of architecture diagrams
随机推荐
链表相交(链表)
1. Sum of two numbers (hash table)
C language - custom type
Configuration of LNMP
IDEA——》每次启动都会Indexing或 scanning files to index
第一章 Oracle Database In-Memory 相关概念(续)(IM-1.2)
Windows installs redis and sets the redis service to start automatically
SQL tuning series - Introduction to SQL tuning
Jinglianwen technology - professional data annotation company and intelligent data annotation platform
精彩回顾 | DEEPNOVA x Iceberg Meetup Online《基于Iceberg打造实时数据湖》
203. Remove linked list elements (linked list)
/etc/shadow可以破解吗?
中职网络安全2022国赛之CVE-2019-0708漏洞利用
DBA common SQL statements (2) - SGA and PGA
Xshell+Xftp 下载安装步骤
任意文件读取漏洞 利用指南
使用IDEA开发Spark程序
DBA常用SQL语句(1)— 概况信息
Sim Api User Guide(4)
Using multithreading to output abc10 times in sequence