<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Azure Sql Database on SQL Server Scripts</title><link>https://www.sqlserver70.com/tags/azure-sql-database/</link><description>Recent content in Azure Sql Database on SQL Server Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>SQLServer70.com</copyright><lastBuildDate>Sun, 01 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.sqlserver70.com/tags/azure-sql-database/index.xml" rel="self" type="application/rss+xml"/><item><title>Track Azure SQL Database Load with sys.dm_db_resource_stats</title><link>https://www.sqlserver70.com/post/track-azure-sql-database-load-with-sys-dm-db-resource-stats/</link><pubDate>Sun, 01 Nov 2026 00:00:00 +0000</pubDate><guid>https://www.sqlserver70.com/post/track-azure-sql-database-load-with-sys-dm-db-resource-stats/</guid><description>
&lt;p&gt;When an Azure SQL database slows down, the first thing to find out is whether it has hit the limits of its service tier. &lt;a href="https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-objects/sys-dm-db-resource-stats-azure-sql-database?view=fabric-sqldb"&gt;&lt;code&gt;sys.dm_db_resource_stats&lt;/code&gt;&lt;/a&gt; answers that with one row for every 15 seconds, even when the database is idle, and keeps about an hour of them. The three queries below return the raw rows, a DTU-style peak for each interval, and an average and maximum for the hour.&lt;/p&gt;
&lt;script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1012089347386563"
crossorigin="anonymous"&gt;&lt;/script&gt;
&lt;ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1012089347386563"
data-ad-slot="8593449130"&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;h2 id="purpose-and-overview"&gt;Purpose and Overview&lt;/h2&gt;
&lt;p&gt;The DMV arrived on &lt;a href="https://azure.microsoft.com/en-us/blog/azure-sql-database-introduces-new-near-real-time-performance-metrics/"&gt;September 11, 2014&lt;/a&gt;. At the time the Basic, Standard and Premium service tiers were in preview, and customers were asking how to decide which tier a workload needed. The new view exposed fine-grained, real-time resource consumption data to answer that.&lt;/p&gt;</description></item></channel></rss>