7

We're getting spikes from time to time but can't find what causes it.

  • How to monitor the Azure SQL DTU usage?
  • How can I find what are the high DTU queries in live?
Guy Korland
  • 9,139
  • 14
  • 59
  • 106

2 Answers2

8

The following will show you a log of the 100 most recent DTU logs. As of now, a log entry is created every 15 seconds.

SELECT TOP 100 *
FROM sys.dm_db_resource_stats
ORDER BY end_time DESC
ItsMe
  • 192
  • 1
  • 6
1

Please have a check on the below links which talks about Azure SQL Database Throughput Unit (DTU).

http://azure.microsoft.com/blog/2014/09/11/azure-sql-database-introduces-new-near-real-time-performance-metrics/

Azure SQL Database "DTU percentage" metric

http://msdn.microsoft.com/en-us/library/azure/dn741336.aspx

Regards, Mekh.

Community
  • 1
  • 1
Mekh Subba
  • 11
  • 2