Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.97 KB

SQL-Server-Monitoring.md

File metadata and controls

45 lines (31 loc) · 1.97 KB

Azure SQL Managed Database Performance and Monitoring

To monitor the performance of a database in Azure SQL Database and Azure SQL Managed Instance, start by monitoring the CPU and IO resources used by publisher workload relative to the level of database performance publisher chosed in selecting a particular service tier and performance level.

To accomplish this, Azure SQL Database and Azure SQL Managed Instance emit resource metrics that can be viewed in the Azure portal.

The following metrics enable punlisher to see if a database is reaching 100% of

  • processor
  • memory
  • IO resources

High DTU or processor percentage, as well as high IO percentage, indicates that your workload might need more CPU or IO resources. It might also indicate queries that need to be optimized.

1- Add Metrics

From Main page for Azure SQL database click Metrics Then click on metrics dropdown list and select "CPU percentage" enable SQL

Repeat the steps for memory and IO Resources enable SQL

2- Add Alert

From the Metrics dashboard click New Alert Rule enable SQL

Azure Metrics service will open Alert page where publisher add Action groups enable SQL

Select Email Action Group enable SQL

Fill Alert rule details enable SQL

Click create alert rule.

For more about the Action Groups]** please refer to Microsoft Docs.

Summary

This section shows How-To

  • Create SQL performance and monitoring metrics
  • Create Alert to notify group or person.

Other Monitor Recommendation