Azure SQL Database Hyperscale: Elevating Performance with Continuous Priming | Data Exposed

Microsoft Developer · Beginner ·📊 Data Analytics & Business Intelligence ·1y ago

Key Takeaways

The video discusses the latest enhancements in Azure SQL Database Hyperscale, including increased database size limits and continuous priming, which improves database performance and reduces issues after failover. It highlights the features and benefits of Azure SQL Database Hyperscale, such as automatic storage expansion and reduced performance issues after failover.

Full Transcript

learn about three new key enhancements to Azure SQL database hypers skill in the areas of performance size and something called continuous priming learn all about it this week on data [Music] exposed hi I'm Anna Hoffman and welcome to this episode of data Expos today I'm joined by ad Didia who is a product manager on the aure SQL database team uh I'm pretty sure largely focused on hypers scale ad Didia welcome back to data expose hey now how about you I'm good it's great to have you back on the show I think we had you on to talk about hyperscale several months ago but it's great to have you back and um you know as we know hyper sales been generally available for several years now uh can you tell us a little bit about you know some of the Investments that Microsoft is making in azrial hyperscale sure as you know like we are really betting big on hypers scale as a as a technology particularly for relational databases um we are betting big on it um uh as a as a company we betting big on this technology because we believe this database will fit in all types of workloads all types of St all types of sizes everything so that's why we are really bitting big on it and the features that you you are going to see we which we kind of announced in pass Sumit are actually a testimony to say that we are really investing a lot on this technology specifically isql hypers hypers skill datab awesome cool that's great to hear and I know I've been seeing it firsthand but I just want to make sure everybody else is new too um and yeah exactly today we're going to talk about some of the latest things that have landed uh by the time you're watching this video maybe a couple weeks ago maybe a month or two ago uh but they're there for you to go check out uh I think there are three big things we want to touch on but um Didia why don't you walk us through what's new sure so let me share my screen uh yeah hopefully you can see my screen uh and yeah so we we in hyperscale database the biggest thing that we are doing is we are kind of listening to the feedback from the customers and we are saying what is the right size that we would have and there are multiple Enterprise customers and came to us and said hey we are doing good but we would want to have more size and to really make sure that we are equalent to all our compet databases we made hyperscale database right now to 128 terabytes previously we are at 100 terab now it is going to it it's going to be 128 terab it's right now generally available for all the hyperscale single databases so you can you can essentially grow grow your database to 128 terabytes for elastic pool you are going to get in uh uh later but for all the single database it's all at General level and and there is one other feature that which is which is of a popular demand that is the increase in log generation rate to really get this maximum log generation rate we increase from 100 Mbps to 150 MPS which means you can load a lot of data so faster into these databases 1 15 MVPs by the way is one of the highest uh injection rate that you are seeing in the market compared to other competes also so this is another another thing that we kind of did now this one is in the limited preview as we are speaking which means any customer who already have the hyperscale database if they want to get enrolled into it please go into ak. ms/ HS enhancements and uh please submit the form so that we can enable 150 MPS for you folks cool I mean that's a huge one I mean that's 50% higher and um like this this was already pretty high compared to some of the other uh database offering so 150 that's that's awesome to see that yeah yeah and and we have worked with number of Enterprise customers with 150 MPS in the private preview Anna and I'm really happy to tell you that it is really satisfying majority of the workloads uh which with 150 MPS we were able to ingest a lot of mission critical data into into the uh database this is super fast with this uh 150 MPS and we are not stopping here we are working to dial this uh dial this more and I'm sure there are there are customers who would want more than this we are not stopping ourselves here we are trying to make our technology to get better but right now we are at 150 MVPs great great okay so that's either one update or that's two it seems like two pretty big updates to me what what else is there yeah so this this one so let let's see how how you can monitor this in the database Watcher so if you go into database Watcher you can see right now the maximum data storage is 128 terabytes and the cool part is you need not provision anything when you create a hyperscale database you getting a 128 terabytes worth of database all you need to do is go on add your data and we will expand your storage automatically so you need not worry about hey do I need to provision anything or such no it is automatically available and it is growing as your workload grows till 128 terabytes and the same is with the log generation rate to which means whenever whenever you have a when whenever you have a database which is asking you for a lot lot of lot of log generation rate you can essentially go and injest data with 150 M here in database Watcher essentially you can see that as a proof where you can essentially ingest 150 MPS of data nice yeah and there is one other feature that I'm really really interested and proud of which is called continuous priming this is the uh General hyperscale architecture radana like everyone knows about it you have a read write copy you have read only copies all of this data is stored in something called PID servers which is the cach layer and there is a permanent storage called data storage layer this is what is the general hyperscale architecture is but there is a one single problem that all our customers used to tell us that is you have a primary replica and you have a h replica right whenever you fail over from primary replica to H replica you for you to get the same kind of performance as primary replica you need to wait for some time such that all the data is coming back to H replicas buffer pool and SSD cache this is not really a uh valid way for Mission critical workloads where immediately after failover nobody is nobody wants to go through those performance about next and hence we have introduced this feature called continuous priming in continuous priming what we essentially do is we kind of look at all the active Pages list which means let's say you have a table with 10 records and you are frequently carrying gr We call we nominate that as the hot Pages we push that active pages to uh paid servers get the we have we have a record of what do the hotness levels and we can of sort it bya hotness which means how much how much each page is touched and we kind of get all that hot Pages back onto all the H replicas which means when you fail over your H replica will be almost ready as the primary replica and will not have the any kind of performance portal next got it okay so if I understand this correctly help me uh like basically what you're doing is you're making it so that when I do a failover it's not like I'm starting with a cold cash it's like I have this kind of hot cash based on my actual usage ready to go yep you got it right you got it right so we we kind of did a test uh for that so we wrot we have pushed 10,000 transactions per second uh into the database and we did a fail over at this uh 232 p.m. and when we did that fail over at 232 p.m. for this s for the ha primary to catch that workload we it took almost four minutes to catch that workload and start doing again 10,000 transactions per second all through this while the amount of Weights that you see are page a l such that is IO in it which means it's going and fetching the record and putting back onto the buffer pole and trying to do it so it is that there is a performance bottleneck for 4 minutes altoe but after we turned on continuous priming this became only one minute less than a minute and pay latch dropped to 1% of what you were seeing previously which means your workload immediately after fill over within no time is ready to serve for the prime time which means no performance B next whatsoever so all this is is only possible because of the architecture with which we have we have all the paid servers and the disaggregated comput and storage layer is essentially making this possible to to bring such technologist for you folks amazing and one question I have for you uh probably we could do a whole episode just so we understand what's happening here but one question I have for you is is there any impact on the primary uh when I have continuous priming turned on no no no no no no impact at all because it is we are doing everything on the back end all the data that is stored is in the back end of the page servers and everything and the right replica or the the primary replica that you have is essentially is doing the work that it is always doing it is writing into buffer pool and writing into arbex which is always doing we change the algorithms to understand what is the hotness and bringing back to the H replicas immediately after we understand the hotness I see and is it the log service that's bringing the data back to the no no it's in the page service the data pages each each page server is 128 GB right let's say page server one has data of students page server 2 has the data of teachers the hot and you are touching 10 pages of students and 10 pages of teachers those were stored in those respective page servers so which means log service it's not touched at all servers and the page server is sending the data back back to the H replica amazing cool okay cool awesome okay this is super exciting uh and huge Improvement uh and from a customer perspective once we I'm assuming once we light this up for everybody right now it's unlimited preview you'll just run faster right yep yep that's that's the that's the hope and because of this many many customers asked for this and uh no no customer even when there is a planned maintenance window or fixed maintenance window whenever their databases goes from one one place to another they will not be seeing any performance impact because of those fail hours amazing awesome well ad Didia thanks so much uh for coming on the show personally I learned a lot uh so appreciate your patience with my questions I'm sure our viewers also learned a lot uh to our viewers check out the aka.ms slhs enhancements link we'll put it in the description for you to learn more leave us a comment and let us know which enhancement you're most excited about uh and we hope to see you next time on data exposed [Music]

Original Description

Join Anna Hoffman and Aditya Badramraju on Data Exposed as they dive into the latest enhancements in Azure SQL Database Hyperscale. They will discuss the significant increase in database size limits from 100 TB to 128 TB, allowing for more extensive data storage and management capabilities. Additionally, they've boosted the log generation rate from 100 MBPS to 150 MBPS, enabling faster data ingestion and processing. A key highlight of this session is the introduction of the new continuous priming feature. This innovation ensures better performance during failovers of compute replicas from primary to secondary, significantly reducing downtime and improving overall system resilience. 0:00 Introduction 2:00 Enhanced capacity and performance for Hyperscale 5:00 Demo 6:00 Hyperscale architecture 7:10 Continuous priming for Hyperscale HA replicas (Limited preview) ✅ Resources: Blog: https://techcommunity.microsoft.com/blog/azuresqlblog/announcing-enhancements-to-azure-sql-database-hyperscale/4286880 📌 Let's connect: Twitter - Anna Hoffman, https://twitter.com/AnalyticAnna Twitter - AzureSQL, https://aka.ms/azuresqltw 🔴 Watch even more Data Exposed episodes: https://aka.ms/dataexposedyt 🔔 Subscribe to our channels for even more SQL tips: Microsoft Azure SQL: https://aka.ms/msazuresqlyt Microsoft SQL Server: https://aka.ms/mssqlserveryt Microsoft Developer: https://aka.ms/microsoftdeveloperyt #AzureSQL #SQL #LearnSQL
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Microsoft Developer · Microsoft Developer · 0 of 60

← Previous Next →
1 Prepare for the DP-300 exam & the Azure Database Administrator Associate cert | Data Exposed
Prepare for the DP-300 exam & the Azure Database Administrator Associate cert | Data Exposed
Microsoft Developer
2 What I Wish I Knew ... about landing a job in tech
What I Wish I Knew ... about landing a job in tech
Microsoft Developer
3 Igniting Developer Innovation with Vector Search
Igniting Developer Innovation with Vector Search
Microsoft Developer
4 Combining the power of vector search with Azure OpenAI then revolutionize image search with vectors!
Combining the power of vector search with Azure OpenAI then revolutionize image search with vectors!
Microsoft Developer
5 What I Wish I Knew ... about finding your place in tech
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
6 Fluent UI React Insights: Accessible by default
Fluent UI React Insights: Accessible by default
Microsoft Developer
7 Signing Container Images with Notary Project
Signing Container Images with Notary Project
Microsoft Developer
8 What I Wish I Knew ... about finding your place in tech
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
9 What programming languages does GitHub Copilot support?
What programming languages does GitHub Copilot support?
Microsoft Developer
10 What I Wish I Knew ... about how much your job can change
What I Wish I Knew ... about how much your job can change
Microsoft Developer
11 What I Wish I Knew ... about how much your job can change
What I Wish I Knew ... about how much your job can change
Microsoft Developer
12 How do I become more confident about AI?
How do I become more confident about AI?
Microsoft Developer
13 How do I become more confident about AI?
How do I become more confident about AI?
Microsoft Developer
14 Performance Demos of SQL’s Intelligent Query Processing Feedback capabilities | Data Exposed
Performance Demos of SQL’s Intelligent Query Processing Feedback capabilities | Data Exposed
Microsoft Developer
15 What I Wish I Knew ... about coming to Microsoft
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
16 What I Wish I Knew ... about coming to Microsoft
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
17 Revolutionizing Image Search with Vectors
Revolutionizing Image Search with Vectors
Microsoft Developer
18 Igniting developer innovation with Vector search and Azure OpenAI
Igniting developer innovation with Vector search and Azure OpenAI
Microsoft Developer
19 Getting Started with Azure AI Studio's Prompt Flow - Part 2
Getting Started with Azure AI Studio's Prompt Flow - Part 2
Microsoft Developer
20 What I Wish I Knew ... about finding my career path
What I Wish I Knew ... about finding my career path
Microsoft Developer
21 What I Wish I Knew ... about finding my career path
What I Wish I Knew ... about finding my career path
Microsoft Developer
22 Windows Terminal's journey to Open Source
Windows Terminal's journey to Open Source
Microsoft Developer
23 Can I trust the code that GitHub Copilot generates?
Can I trust the code that GitHub Copilot generates?
Microsoft Developer
24 What I Wish I Knew ... about interviewing
What I Wish I Knew ... about interviewing
Microsoft Developer
25 What I Wish I Knew ... about interviewing
What I Wish I Knew ... about interviewing
Microsoft Developer
26 What is the Microsoft TechSpark Program?
What is the Microsoft TechSpark Program?
Microsoft Developer
27 SQL Server 2022: Accelerate query performance while reducing query compile time - w/ no code changes
SQL Server 2022: Accelerate query performance while reducing query compile time - w/ no code changes
Microsoft Developer
28 What I Wish I Knew ... about discovering computer science
What I Wish I Knew ... about discovering computer science
Microsoft Developer
29 What I Wish I Knew ... about discovering computer science
What I Wish I Knew ... about discovering computer science
Microsoft Developer
30 Call center transcription and analysis using Azure AI
Call center transcription and analysis using Azure AI
Microsoft Developer
31 How to use Text Analytics for health in Azure AI Language
How to use Text Analytics for health in Azure AI Language
Microsoft Developer
32 Azure OpenAI-powered summarization in Azure AI Language
Azure OpenAI-powered summarization in Azure AI Language
Microsoft Developer
33 Accelerate data labeling using Azure OpenAI and Azure AI Language
Accelerate data labeling using Azure OpenAI and Azure AI Language
Microsoft Developer
34 Building a Private ChatGPT with Azure OpenAI
Building a Private ChatGPT with Azure OpenAI
Microsoft Developer
35 What I Wish I Knew ... about how to interview
What I Wish I Knew ... about how to interview
Microsoft Developer
36 What I Wish I Knew ... about how to interview
What I Wish I Knew ... about how to interview
Microsoft Developer
37 Getting Started with Azure AI Studio's Prompt Flow - Part 3
Getting Started with Azure AI Studio's Prompt Flow - Part 3
Microsoft Developer
38 Intelligent Apps with Azure Kubernetes Service (AKS)
Intelligent Apps with Azure Kubernetes Service (AKS)
Microsoft Developer
39 Getting Started with Azure Blob Storage | Data Exposed: MVP Edition
Getting Started with Azure Blob Storage | Data Exposed: MVP Edition
Microsoft Developer
40 Chat + Your Data + Plugins
Chat + Your Data + Plugins
Microsoft Developer
41 What I Wish I Knew ... about different career paths
What I Wish I Knew ... about different career paths
Microsoft Developer
42 What I Wish I Knew ... about different career paths
What I Wish I Knew ... about different career paths
Microsoft Developer
43 Advanced Dev Tunnels Features | OD122
Advanced Dev Tunnels Features | OD122
Microsoft Developer
44 Learn Live - Manage performance and availability in Azure Cosmos DB for PostgreSQL
Learn Live - Manage performance and availability in Azure Cosmos DB for PostgreSQL
Microsoft Developer
45 Plan your SQL Migration to Azure with confidence | Data Exposed
Plan your SQL Migration to Azure with confidence | Data Exposed
Microsoft Developer
46 What I Wish I Knew ... about social skills in a tech career
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
47 What I Wish I Knew ... about social skills in a tech career
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
48 All About Vectors, Search, and Function Calling in Azure OpenAI - Labor Day Special
All About Vectors, Search, and Function Calling in Azure OpenAI - Labor Day Special
Microsoft Developer
49 Introduction to project ORAS
Introduction to project ORAS
Microsoft Developer
50 What I Wish I Knew ... about finding the right major
What I Wish I Knew ... about finding the right major
Microsoft Developer
51 What I Wish I Knew ... about finding the right major
What I Wish I Knew ... about finding the right major
Microsoft Developer
52 What I Wish I Knew ... about how to approach programming
What I Wish I Knew ... about how to approach programming
Microsoft Developer
53 What I Wish I Knew ... about how to approach programming
What I Wish I Knew ... about how to approach programming
Microsoft Developer
54 Learn Live - Scale from a single node to multiple nodes with Azure Cosmos DB for PostgreSQL
Learn Live - Scale from a single node to multiple nodes with Azure Cosmos DB for PostgreSQL
Microsoft Developer
55 What I Wish I Knew ... about diversity in tech #1
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
56 What I Wish I Knew ... about diversity in tech #1
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
57 Get started with SQL Server AGs across Windows, Linux and Container Replicas | Data Exposed
Get started with SQL Server AGs across Windows, Linux and Container Replicas | Data Exposed
Microsoft Developer
58 Writing LLM Apps with Azure AI and PromptFlow
Writing LLM Apps with Azure AI and PromptFlow
Microsoft Developer
59 What I Wish I Knew ... about how cool working in tech could be
What I Wish I Knew ... about how cool working in tech could be
Microsoft Developer
60 Open Source foundation models in Azure Machine Learning & optimization techniques behind the scenes
Open Source foundation models in Azure Machine Learning & optimization techniques behind the scenes
Microsoft Developer

The video teaches how to elevate performance with continuous priming in Azure SQL Database Hyperscale, which is a relational database technology. It discusses the benefits of increased database size limits and improved database performance. Viewers can learn how to improve data storage and management capabilities and optimize database performance.

Key Takeaways
  1. Enable continuous priming in Azure SQL Database Hyperscale
  2. Configure active page lists to identify hot pages
  3. Test database performance with continuous priming
  4. Monitor page latch and adjust settings as needed
  5. Use Database Watcher and PID servers to optimize performance
💡 Continuous priming in Azure SQL Database Hyperscale reduces performance issues after failover by preloading hot pages on H replicas, resulting in improved database performance and reduced downtime.

Related Reads

Chapters (5)

Introduction
2:00 Enhanced capacity and performance for Hyperscale
5:00 Demo
6:00 Hyperscale architecture
7:10 Continuous priming for Hyperscale HA replicas (Limited preview)
Up next
Salesforce Tableau CRM & Einstein Discovery Consultant Exam: Full Syllabus Breakdown (New 2025 Bluep
Emily Unfiltered
Watch →