当前位置:网站首页>Script to view the execution of SQLSERVER database stored procedures
Script to view the execution of SQLSERVER database stored procedures
2022-06-23 17:46:00 【mb60b79a6396b63】
SELECT TOP 100 db_name(d.database_id) as DBName,
s.name as Store name ,
s.type_desc as Storage type ,
d.cached_time as SP Time added to cache ,
d.last_execution_time as The last time to perform SP Time for ,
d.last_elapsed_time as [ The last time to perform SP Time spent ( subtle )],
d.total_elapsed_time as [ Complete this SP The total time taken to execute ( subtle )],
d.total_elapsed_time/d.execution_count as [ Average execution time ( subtle )],
d.execution_count as Number of executions since the last compilation
FROM SYS.procedures S JOIN SYS.dm_exec_procedure_stats D
ON S.object_id=D.object_id
WHERE S.NAME='SP_Name'
ORDER BY D.total_elapsed_time/D.execution_count DESC
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
边栏推荐
- How to choose an account opening broker? Is it safe to open an account online now?
- [network communication -- webrtc] analysis of webrtc source code -- supplement of pacingcontroller related knowledge points
- [network communication -- webrtc] source code analysis of webrtc -- bandwidth estimation at the receiving end
- NLP paper reading | improving semantic representation of intention recognition: isotropic regularization method in supervised pre training
- Digital twin excavator of Tupu software realizes remote control
- 《MPLS和VP体系结构》
- Intel arc A380 graphics card message summary: the entry-level price products of running point and bright driving need to be optimized
- What does the timestamp 90K mean?
- How to configure MySQL log management
- Cross browser common events
猜你喜欢

接口的所有权之争

数据库 实验二 查询
![[go] calling Alipay to scan code for payment in a sandbox environment](/img/d4/c6d72a697bc08f69f11121a15109b3.png)
[go] calling Alipay to scan code for payment in a sandbox environment

Redis cluster operation method

Ctfshow PHP features

Digital twin excavator of Tupu software realizes remote control

The company recruited a tester with five years' experience and saw the real test ceiling
![[network communication -- webrtc] source code analysis of webrtc -- bandwidth estimation at the receiving end](/img/b0/97dbf3d07a4ed86d6650a58a97a5fc.png)
[network communication -- webrtc] source code analysis of webrtc -- bandwidth estimation at the receiving end

【30. 串联所有单词的子串】

Asemi ultrafast recovery diode es1j parameters, es1j package, es1j specification
随机推荐
Réponse 02: pourquoi le cercle Smith peut - il "se sentir haut et bas et se tenir à droite et à droite"?
Li Kou daily question - day 25 -495 Timo attack
Postgresql_ Optimize SQL based on execution plan
网络远程访问树莓派(VNC Viewer)
mysql-选择使用Repeatable read的原因
ABP framework - data access infrastructure (Part 2)
根据年份获取第一天和最后一天
C. Set or Decrease-Educational Codeforces Round 120 (Rated for Div. 2)
Listen attentively and give back sincerely! Pay tribute to the best product people!
Is it cost-effective to buy a long-term financial product?
How to quickly obtain and analyze the housing price in your city?
单火线设计系列文章10:拓展应用-单火开关实现双控
浅析3种电池容量监测方案
Tupu digital twin 3D wind farm, offshore wind power of smart wind power
How do you choose to buy stocks? Good security?
Ctfshow PHP features
MySQL事务提交流程
内网渗透令牌窃取
Tensorrt Paser loading onnx inference use
Tupu software builds smart city with lightweight modeling