AZ-304 Microsoft Azure Architect Design – Design a Monitoring Strategy for the Data Platform

  • By
  • January 17, 2023
0 Comment

1. Data Monitoring Strategy

So let’s look at the ways that you can do various monitoring within your databases. When we were running SQL Server on our local environments within our data centers, we certainly knew that there were places to look, little hidden corners of SQL Server to find out the performance aspects of our databases. Some of those management scripts and things still work within SQL Database. But Azure gives us the ability to monitor the performance using the Azure Portal in a way that we weren’t able to in a traditional SQL Server environment. So this is a database that I created, a SQL Database.

I just created it a little while ago and I started running some queries against it. And we can see as we go down into the metrics tab under Monitoring, we can see the CPU usage on the DTU. Percentage is also an option within that tab, and we can see how close we are to exceeding or hitting our limits on our database plan. So there’s an overview of the performance in the form of being able to create these charts right within the Azure Portal.

Azure provides a number of reporting tools on the left here. So if we look under Intelligent Performance for this database, there’s a Performance Overview tab, there are performance recommendations that Azure will make in order to improve performance. And there’s this section called Query Performance Insight, and this gets down to the query level and will tell me which queries are consuming the most of my resources. Now in this particular case, the queries I’m running is just a select statement. It isn’t even using 5% of the DTUs that I have allocated.

But if I had a lot of joins and I had a lot of expensive queries, table scans and things like that, I might find that there are a small handful of two or three queries that are using up most of my performance. And so we go into Query Insight here to see which queries are the individual ones causing the problems. We can also see long running queries as well. Now SQL Database Advisor within the SQL Advisor tab that will make database recommendations. And so I filtered this down only to the database settings, and I happen to be following all the recommendations. But Azure and SQL Database will make recommendations for improving performance.

You can set a number of automatic tuning elements. And so at the server level, there’s the defaults. And in each individual database you can override the defaults, whether you want to force a performance plan onto a query, whether you want to create new indexes to improve the select performance, whether you want to drop indexes that are not useful in order to improve the insert performance and things like that. We also saw there’s this thing called Intelligent Insights, and the interesting thing about that is that Azure will analyze the log files and will take a look at events that are happening. Now, maybe the query is being blocked.

One query is long running and it happens to be blocking another. What they call artificial intelligence detects and analyzes these issues. If one query is blocking another and will basically in the diagnostics log will make a recommendation to say, hey, this particular query is using a lot of locks and it’s preventing a lot of other queries. So there’s probably a problem here. So there’s some artificial intelligent ways of looking at our database to see what’s causing performance issues. Speaking of diagnostic logs, not only the intelligent insights can go into a diagnostic log, we can go into the Azure database, into the diagnostic settings, and turn on the collection of diagnostics among a number of elements. You can turn on errors, timeouts blocks, deadlocks wait times, query store weights, database weights, et cetera, depending on how deep you want to get into it. In this case, I turned on SQL Insights,

I turned on Tuning, and I want to collect the basic metrics, and I didn’t turn on the other ones. Now, that database log goes into Log Analytics, and so there’s a tool in the marketplace that’s in preview mode called Azure SQL Analytics, and it will take the log files from Log Analytics and produce that as an element within Azure Monitor. So if we switch over to Azure Monitor I’ve got the SQL Analytics installed in Azure Monitor. Then I can go into the SQL database and I can see now, again, this is a very simple database with some sample data. But in a more complicated database we can see query, runtime statistics, query SQL insights, database await statistics, et cetera. We can sort of get some better intelligence in terms of what’s going on at our database.

Comments
* The most recent comment are at the top

Interesting posts

The Ultimate Guide to Mastering Marketing Automation for Email Wizards

Hey there, email aficionados! Welcome to your new favorite read – the one that’s going to turbocharge your email marketing game. You’re about to dive into the captivating world of marketing automation, a place where efficiency meets effectiveness, letting you boost your campaigns without breaking a sweat. Get ready to discover how automation can not… Read More »

Master YouTube Marketing with These 10 Powerful Steps

Welcome to the dynamic world of YouTube marketing! Whether you’re a seasoned pro or just getting started, harnessing the power of YouTube can significantly boost your brand’s visibility and engagement. With over 2 billion monthly active users, YouTube offers a vast audience for your content. But how do you stand out in such a crowded… Read More »

Instagram Marketing 101: From Profile to Engagement

Hey there, Instagram enthusiast! Whether you’re a newbie or a seasoned social media guru, you probably already know that Instagram is one of the most powerful tools in your marketing arsenal. With over a billion monthly active users, it’s a goldmine for businesses looking to boost their brand, engage with customers, and drive sales. But,… Read More »

SAP Certification Exams: SAP HANA Fundamentals and Applications

Hey there! In our fast-paced digital world, SAP certifications are here to give your career a serious boost, no matter where you’re starting from. Whether you’re just getting your feet wet or you’re already a pro, these certifications validate your skills and give you the recognition you deserve. The whole idea behind the SAP certification… Read More »

Quantum Computing Fundamentals: Qiskit Certification Exam Explained

Ever heard of computers capable of solving problems in minutes that would take regular computers years? That’s the mind-bending promise of quantum computing! It’s a whole new way of using computers, and it’s opening doors in medicine, materials science, and beyond. Intrigued? If you are curious about quantum computing and want to get hands-on experience… Read More »

Cloud-Native Development: CKAD Certification Exam Preparation Guide

In today’s fast-evolving tech landscape, cloud-native development has become a pivotal skill for IT professionals. The Certified Kubernetes Application Developer (CKAD) certification is a highly sought-after credential that validates your ability to design, build, and run applications on Kubernetes. This guide will walk you through everything you need to know to prepare for the CKAD… Read More »

sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |