-
Environment
-
VM - Disk Size, Storage Size
-
Azure Monitor
-
Dynamic Management Views (DMV's) and Wait Stats
-
Query Store
-
Extended Events (XEvents)
-
Look over performance guidelines for the SQL VM and going through the check list
-
Enable the Query Store if you are running SQL VM (Query Store is enabled by default in Azure SQL DB)
-
Leveraging the Performance Dashboard if you are running SQL VM or SQL Managed Instance
-
Using Log Analytics
-
SQL Assessment Solution for SQL VMs (SQL Health Check) - https://docs.microsoft.com/en-us/azure/azure-monitor/insights/sql-assessment
- The sql assessement solution supports SQL Server version 2012, 2014, 2016, 2017, and 2019.
-
Azure SQL Analytics Solution for Azure SQL DBs and Managed Instance - https://docs.microsoft.com/en-us/azure/azure-monitor/insights/azure-sql
- The sql assessement solution supports SQL Server version 2012, 2014, 2016, 2017, and 2019.
-
-
Verify Deployment
- What Version are you running
- What Engine Edition
- What is the DB name, creation date, compatibility level, collation
- Verify server memory configuration options
- Gets back DTU limits, CPU limits, Memory limits, Size limits, Log limits
- Verify installed physical memory, memory usage, memory model, service startup time
- Verify Deployment.md
-
Azure SQL Database Tips (If you're running Azure SQL DB)
-
Run Wait Stats (Good for SQL VM, MI and Azure SQL DBs)
-
Monitor Performance with DMVs
-
Monitor and Optimize Indexes
-
What bucket does your issue fall into?
- Issue is either running alot or waiting alot
- Running alot - You have a CPU issue and your queries are running hot or you have a query compilation problem
- Waiting alot - You have Blocking isses, IO issues because of a lack of indexes, or you have a tempdb contention.