Improve customer satisfaction for web apps by optimizing database performance using logs from Microsoft Azure
Owners of web apps should always prioritize customer pleasure. A fast and highly responsive user interface is crucial for consumer happiness. The databases that support these apps are now frequently run as managed services by cloud providers, as cloud applications have become the norm. Because logs, analytics, and traces aren’t always put together in context, and you don’t have access to the underlying hosts, optimizing cloud services can be difficult.
Optimize database performance
A database’s most fundamental feature is that it’s continually busy with user requests—not only do stored datasets change, but so do the queries used in web applications. Small database changes can have a significant influence on overall application performance. Analyzing the sluggish query log is a basic yet practical approach to testing high-performance databases. This log file keeps track of all queries that have surpassed a pre-determined (manually) time limit.
It’s simple in on-premises settings, but when SQL is run as a managed service in the cloud, access to the underlying host is usually impossible. Despite this, logs are typically available on cloud consoles, albeit records alone are insufficient for helpful analysis.

One place to rule them all
All data required for a particular study should ideally be available in one location: all relevant logs should already be established in context with related telemetry. Having all of this information extracted and accessible saves time and gives sense to unstructured data.
Enable agentless log ingestion
You must create additional resources in your Microsoft Azure account to enable agentless log ingestion. All you have to do now is run the script we’ve created. Everything on GitHub is open-sourced, making it transparent and safe to use.
You can choose which logs to forward after installing the forwarding components. You may increase the threshold for slow query logging in the Azure Database for MySQL, and you can add an option to send MySqlSlowLogs to an event hub in the Diagnostics settings of your database instance.
Use custom metrics based on logs for constant optimization
To demonstrate the value of custom metrics based on logs, assume your web application is increasing slowly over time. This drop in performance is recognized, and an automatic root cause analysis is run, exposing some queries on a managed cloud service database that are running slower than expected.
The sluggish query log is required for the subsequent analysis.
You can use facets and the timeframe during which the incident happened to filter for sluggish query log entries in your database in the Dynatrace log viewer. Can rapidly recognize faulty queries and can take corrective actions.
You may also develop a measure that collects information about your slow queries to figure out which ones need to be improved.
Log monitoring beyond cloud platform databases
For most Microsoft Azure platform services, you can send resource-specific logs and audit logs via the EventHub. For easy troubleshooting, records are linked to the entities you’re watching. For example, if your App Service has a high Failure rate, you can go straight to the log viewer by selecting the Logs icon. The log viewer automatically creates filters for your resource, allowing you to diagnose the issue quickly.
Enteros
About Enteros
IT organizations routinely spend days and weeks troubleshooting production database performance issues across multitudes of critical business systems. Fast and reliable resolution of database performance problems by Enteros enables businesses to generate and save millions of direct revenue, minimize waste of employees’ productivity, reduce the number of licenses, servers, and cloud resources and maximize the productivity of the application, database, and IT operations teams.
The views expressed on this blog are those of the author and do not necessarily reflect the opinions of Enteros Inc. This blog may contain links to the content of third-party sites. By providing such links, Enteros Inc. does not adopt, guarantee, approve, or endorse the information, views, or products available on such sites.
Are you interested in writing for Enteros’ Blog? Please send us a pitch!
RELATED POSTS
Empowering the Cloud Center of Excellence: How Enteros Uses Generative AI for Real-Time Monitoring and Performance Optimization in the Technology Sector
- 4 November 2025
- Database Performance Management
Introduction In the era of digital transformation, the technology sector stands at the forefront of innovation, harnessing cloud computing, artificial intelligence, and big data to drive performance and efficiency. However, as cloud infrastructures scale in size and complexity, managing performance, resource allocation, and cost optimization becomes increasingly challenging. Enter the Cloud Center of Excellence (CCoE) … Continue reading “Empowering the Cloud Center of Excellence: How Enteros Uses Generative AI for Real-Time Monitoring and Performance Optimization in the Technology Sector”
AI SQL Meets Healthcare Innovation: Enteros’ Breakthrough in Database Performance Optimization
Introduction In the modern healthcare landscape, data has become both a vital asset and a formidable challenge. Hospitals, research institutions, and digital health startups generate and process massive amounts of data—from patient records and clinical trial results to real-time monitoring devices and medical imaging. Yet, the performance of these complex data ecosystems often determines how … Continue reading “AI SQL Meets Healthcare Innovation: Enteros’ Breakthrough in Database Performance Optimization”
Redefining Insurance RevOps: Enteros’ AIOps-Powered Approach to Smarter Database Performance Management
- 3 November 2025
- Database Performance Management
Introduction The insurance industry has always been data-intensive—dealing with massive volumes of customer information, risk assessments, policy records, and claims data. But in today’s fast-evolving digital landscape, traditional data management models no longer suffice. The sector now faces unprecedented demands for real-time insights, operational agility, and cost efficiency. Modern insurers must process data from a … Continue reading “Redefining Insurance RevOps: Enteros’ AIOps-Powered Approach to Smarter Database Performance Management”
Enteros for Energy Leaders: Redefining Performance Optimization Through Generative AI and Cloud FinOps Intelligence
Introduction The global energy sector is undergoing a monumental transformation. As the demand for clean, efficient, and sustainable energy solutions grows, so too does the complexity of managing massive data flows across power grids, refineries, renewables, and smart infrastructure. Energy companies are no longer just producers and distributors—they’re becoming data-driven enterprises, leveraging cloud computing, AI, … Continue reading “Enteros for Energy Leaders: Redefining Performance Optimization Through Generative AI and Cloud FinOps Intelligence”