简体   繁体   中英

Monitoring Azure SQL Database

How can I monitor the following metrics for Azure SQL Database: - Buffer Cache hit ratio. - Page life expectancy. - Page Splits. - Lock waits. - Batch requests. - SQL compilation.

You are probably looking for dynamic management views . A good starting point will be Monitoring Azure SQL Database using dynamic management views .

Regarding Buffer Cache hit, Page life etc. check this blog SQL Server memory performance metrics – Part 4 – Buffer Cache Hit Ratio and Page Life Expectancy

The new Azure SQL Analytics

Azure SQL Analytics is a cloud monitoring solution for monitoring performance of Azure SQL Databases at scale across multiple elastic pools and subscriptions. It collects and visualizes important Azure SQL Database performance metrics with built-in intelligence for performance troubleshooting on top.

Performance counters on SQL Azure only collect SQL Server counters of a specific database and do not show Windows performance counters (like Page Life Expectancy). For some performance counters you need to take a first snapshot, then a second snapshot, and then you should substract values of counters between snapshots to get the actual counter value.

Please use the script provided on the following article to properly collect those counters.

Collecting performance counter values from a SQL Azure database .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM