Monitoring and Tuning Azure SQL Database: Warner Chaves
Monitoring and Tuning Azure SQL Database: Warner Chaves
Monitoring and Tuning Azure SQL Database: Warner Chaves
Database
Warner Chaves
SQL MCM / MS DATA PLATFORM MVP
@warchav sqlturbo.com
What’s in This
Module?
Monitoring with Azure Metrics Alerts
System Views to Track Performance
Tuning Tools and Automation
Monitoring
Condition Threshold
Select a metric Period Action
(<,<=,>,>=) value
Demo
Setting up Database Alerts with the
Azure Portal and PowerShell
Performance System Views
70% CPU
S0 Database = 10 DTUs
70% CPU
85% Data IO
sys.resource_stats sys.dm_db_resource_stats
Server scope (master) Database scope
Measures in 5 minute intervals Measures in 15 second intervals
Retains 14 days of history Retains 1 hour of history
Captures when resource usage changes Captures even with no activity
Waits View
Query
Performance
Performance Automatic Tuning
Recommendations
Insights
Query Store