简体   繁体   English

Azure SQL监控高DTU

[英]Azure SQL monitoring high DTU

We're getting spikes from time to time but can't find what causes it. 我们不时会出现尖峰,但无法找到导致它的原因。

  • How to monitor the Azure SQL DTU usage? 如何监控Azure SQL DTU的使用?
  • How can I find what are the high DTU queries in live? 如何找到实时的高DTU查询?

The following will show you a log of the 100 most recent DTU logs. 以下将显示100个最新DTU日志的日志。 As of now, a log entry is created every 15 seconds. 截至目前,每15秒创建一个日志条目。

SELECT TOP 100 *
FROM sys.dm_db_resource_stats
ORDER BY end_time DESC

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM