Summary
In this lesson, we learned different ways of monitoring and tuning Azure SQL databases. We learned how to use performance metrics and Query Performance Insight to monitor database metrics and queries from the Azure portal. The lesson talked about using Azure SQL Analytics to monitor Azure SQL Database. Intelligent Insights, provided by the Azure SQL Analytics, can be used to set up alerts on different metrics such as CPU, log IO, blocks, and deadlocks. Intelligent Insights can also be used to fine-tune long-running or CPU-/IO-intensive queries to further optimize an Azure SQL database. We also learned how to set up alarms on database metrics, and proactively took action as and when alarms were raised. Finally, we learned about important DMVs and set up extended events to monitor an Azure SQL database. Following this, we learned how to set up automatic tuning to automatically tune an Azure SQL database, and we used in-memory OLTP to improve the performance of an OLTP workload. Performance...