Live registration reopens October 1, 2026, in 7d 04h 16m — Notify me

Category: Microsoft Azure

Production DBA

Set MAXDOP in Azure SQL DB or You’ll Get This Cryptic Error.

Max Degrees of Parallelism (MAXDOP) tells the database engine, "If you decide to parallelize a query, go parallel with this many worker threads."

(It's a little more complex than that - there is also a coordinating thread, plus a single plan might have multiple parallel zones that each consume MAXDOP worker threads, but for the sake of this blog post, let's keep it simple.)

Read more about Set MAXDOP in Azure SQL DB or You’ll Get This Cryptic Error. 1 comment — Join the discussion
Production DBA

Microsoft Fabric Has a New Service Status Page.

I've been pretty vocal here on the blog and on social media about the reliability problems with Microsoft Fabric. Today, I've got good news: Microsoft released a new Fabric status page and a known issues page, something that really does take guts given the current reliability situation. The status page still appears to be manually updated, not automated, but at least it acknowledges outages like how SQL endpoints are currently returning incorrect query results:

Read more about Microsoft Fabric Has a New Service Status Page. 2 comments — Join the discussion
Production DBA

Why Your Azure SQL DB Hyperscale Bill is Higher Than You’d Expect

tl;dr: if you use Azure SQL DB Hyperscale's auto-scaling, it's probably not cutting your bill down because like SQL Server, Hyperscale doesn't automatically relinquish memory, and it'll be up to you to manually manage your own memory if you wanna cut your bill.

Now for the long story.

Read more about Why Your Azure SQL DB Hyperscale Bill is Higher Than You’d Expect 3 comments — Join the discussion
Production DBA

“Oops, I Lost My Indexes in Azure SQL DB.”

I got an interesting request for consulting, and I'm going to paraphrase it: We were using Azure SQL DB with automatic index tuning enabled for months. Things were going great, but... we just deployed a new version of our code. Our deployment tool made the database schema match our source control, which... dropped the indexes…

Read more about “Oops, I Lost My Indexes in Azure SQL DB.” 12 comments — Join the discussion
Production DBA

Why Australian Azure SQL DBs Went Down for 8+ Hours

On August 30, Azure's Australia East data center had a big problem, affecting customers like Bank of Queensland and Jetstar. Here's the timeline: 30 August 2023 @ 08:41 – Voltage sag occurred on utility power line 30 August 2023 @ 08:43 – Five chillers failed to restart 30 August 2023 @ 10:30 – Storage and SQL…

Read more about Why Australian Azure SQL DBs Went Down for 8+ Hours 7 comments — Join the discussion

Adding Managed Instances to SQL Server Distributed Availability Groups

SQL Server Always On Availability Groups help you build a more highly available database server by spanning your database across two or more SQL Server instances. When the primary goes down, the secondary can take over. You can also scale out reads to the secondary servers. Distributed Availability Groups take this a step further and…

Read more about Adding Managed Instances to SQL Server Distributed Availability Groups Be the first to comment
Production DBA

Azure SQL DB Frequently Asked Questions

Let's get you some answers.
Is Azure SQL DB PaaS, IaaS, or SaaS?
Azure SQL DB is platform-as-a-service (PaaS). Microsoft manages most common database tasks for you, and they act as your DBA.

This also means that like a DBA, Microsoft will tell you "no" if you try to implement something that they don't support. There's no negotiations: the answer is just no.
Who is Azure SQL DB for?
Azure SQL DB is a good fit for new applications.

Read more about Azure SQL DB Frequently Asked Questions 20 comments — Join the discussion
Production DBA

New Free Azure and SQL Server 2019 Training from Microsoft

Folks often email me and ask, "Brent, why don't you do training classes on Azure?" The answer is simple: the products change faster than I can recoup the cost of building the training material. By the time the class gets enough revenue to pay off the downtime for building an Azure (or AWS or Google) training class, the material's out of date. I'm sure you've sat through an online video where you've noticed things that are already no longer true.

Read more about New Free Azure and SQL Server 2019 Training from Microsoft 19 comments — Join the discussion
Production DBA

Research Paper Week: Constant Time Recovery in Azure SQL DB

Let's finish up Research Paper Week with something we're all going to need to read over the next year or two. I know, it says Azure SQL DB, but you boxed-product folks will be interested in this one too: Constant Time Recovery in Azure SQL DB by Panagiotis Antonopoulos, Peter Byrne, Wayne Chen, Cristian Diaconu, Raghavendra Thallam Kodandaramaih, Hanuma Kodavalla, Prashanth Purnananda, Adrian-Leonard Radu, Chaitanya Sreenivas Ravella, and Girish Mittur Venkataramanappa (2019).

Read more about Research Paper Week: Constant Time Recovery in Azure SQL DB 10 comments — Join the discussion
Production DBA

Developers: Azure SQL DB Serverless can save you money.

If you've got a database that doesn't need to be on all the time, Azure SQL DB Serverless is in public preview now. It makes a lot of sense for those development databases you have to keep around, but don't really want to pay for.

If your database doesn't get any queries for 6 hours, it'll pause billing, and automatically resume again when your queries kick in. Here's how to set it up in the portal:

Read more about Developers: Azure SQL DB Serverless can save you money. 20 comments — Join the discussion
Production DBA

There’s a bottleneck in Azure SQL DB storage throughput.

As you pay more for Business Critical Azure SQL DB servers, they're supposed to get more storage throughput. The documentation on this is kinda hard to read, but boiling it down, for every core you add to a Gen5 server, you're supposed to get 2,500 IOPs. That should scale linearly: insert speed should go up evenly with each added core.

Read more about There’s a bottleneck in Azure SQL DB storage throughput. 82 comments — Join the discussion
Performance Tuning

What does Azure SQL DB Automatic Index Tuning actually do, and when?

Azure SQL DB's Automatic Tuning will create and drop indexes based on your workloads. It's easy to enable - just go into your database in the Azure portal, Automatic Tuning, and then turn "on" for create and drop index:

Let's track what it does, and when. I set up Kendra Little's DDL trigger to log index changes, which produces a nice table showing who changed what indexes, when, and how:

Read more about What does Azure SQL DB Automatic Index Tuning actually do, and when? 24 comments — Join the discussion
Production DBA

How fast can a $21,468/mo Azure SQL DB load data? (Updated)

Update March 19: Microsoft has since acknowledged a hidden limit, then documented it, then raised it - but it’s still disappointingly slow.

In my last post, I explored how fast a $5,436/mo Azure SQL DB Hyperscale could load data. I'd had a client who was curious about spinning up their dev environment up there to see how query plans might look different. Well, as long as I was running this test, I thought - "How does this compare with Azure SQL DB?"

Read more about How fast can a $21,468/mo Azure SQL DB load data? (Updated) 30 comments — Join the discussion
Production DBA

How fast can a $5,436/mo Azure SQL DB Hyperscale load data?

A client asked, "How quickly could we spin up a full copy of our database in the new Azure SQL DB Hyperscale?" Their database size wasn't too far off from the 340GB Stack Overflow database, so I decided to migrate that to Hyperscale to see how the experience went. Hyperscale is Microsoft's intriguing competitor to Amazon Aurora. Hyperscale…

Read more about How fast can a $5,436/mo Azure SQL DB Hyperscale load data? 16 comments — Join the discussion