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

Preparing for Juniper Networks JNCIA-Junos Exam: Key Topics and Mock Exam Resources

So, you’ve decided to take the plunge and go for the Juniper Networks JNCIA-Junos certification, huh? Great choice! This certification serves as a robust foundation for anyone aiming to build a career in networking. However, preparing for the exam can be a daunting task. The good news is that this guide covers the key topics… Read More »

Mastering Microsoft Azure Fundamentals AZ-900: Essential Study Materials

Ever wondered how businesses run these days without giant server rooms? That’s the magic of cloud computing, and Microsoft Azure is a leading cloud platform. Thinking about a career in this exciting field? If so, mastering the Microsoft Certified: Azure Fundamentals certification through passing the AZ-900 exam is the perfect starting point for you. This… Read More »

The Impact of Remote Work on IT Certification Exam Processes

With remote work becoming the new norm, it’s not just our daily routines that have changed but also how we tackle IT certification exams. Gone are the days of trekking to testing centers; now, your living room can double as an exam room. This shift has brought about some fascinating changes and challenges. Let’s dive… Read More »

IT Risk Management: CRISC Certification Exam Essentials

Do you ever feel like the IT world is moving at warp speed? New tech seems to pop up every day, leaving you wondering how to keep up and truly stand out in your field. Companies are increasingly concerned about online threats, data leaks, and meeting legal requirements. That’s where the CRISC (Certified in Risk… Read More »

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 »

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/    |