Video: Overview of analyzing queries in MySQL – Flexible Server using Azure Monitoring Workbooks

This post has been republished via RSS; it originally appeared at: Microsoft Tech Community - Latest Blogs - .

Overview

One of the main challenges that database administrators face is to identify time consuming queries and determine how best to tune them. To accomplish this, database administrators often rely on having a trend analysis of workloads and queries, including query durations.

 

The Query Performance Insight feature in Azure Database for MySQL – Flexible Server provides the ability to perform intelligent query analysis for databases. The most preferred insights related to workload patterns and long-running queries. This information can help identify which queries you need to optimize to improve overall performance and ensure that available resources are used most efficiently.

 

Query Performance Insight is designed to help you spend less time troubleshooting database performance, with such information as:

  • The top N long-running queries and their trends.
  • Query details included query text and the history of execution with minimum, maximum, average, and standard deviation query times.
  • Utilization of resources (CPU, memory, and storage).

This blog post includes a video that provides an overview of how MySQL slow query logs, the Log Analytics tool, and workbooks templates help to visualize Query Performance Insight data in Azure Database for MySQL - Flexible Server.

 

Note: For step-by-step details on how to implement this set up, in our product documentation, see the tutorial Query Performance Insight for Azure Database for MySQL - Flexible Server.

 

See Query Performance Insight in action!

To get a better idea of how all these pieces work together, take a few minutes to view the following video.

 

 

As you can tell, using these features in combination can help to create rich visual reports within the Azure portal. With access to this detail, database administrators can save time when identifying time consuming queries and determining the best approach to tuning them.

 

Additional details

For more information about the features discussed in the video, be sure to check out the following resources:

 

Summary

While it’s not the easiest task to accomplish, database performance tuning is critical for ensuring the health of the database. Query performance is dependent on a range of factors, such as the database model, the kind of information you need to fetch, etc. Using Query Performance Insights, slow query logs, Log Analytics, and Azure Monitor Workbooks, you can create rich visual reports to make query analysis more efficient and less time consuming.

 

If you have any feedback or questions about the information provided above, please leave a comment below or email us at AskAzureDBforMySQL@service.microsoft.com. We’re also interested in your take on the use of a video to provide an overview supplement to the step-by-step detail available in our documentation.

 

Let us know what you think! Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.