Launch week: the Season Pass & Fundamentals Week are 50% off — ends in 16d 14h 12mSee the sale

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
Production DBA

Finishing Up Your Free Azure Networking Training

To celebrate this month's launch of our new class, Fundamentals of Azure Networking for the Data Professional, we're making one video a day completely free. Here's what's on tap this week:

July 24: Demo: Working With a VPN
July 25: Hub and Spoke vs Mesh Design Patterns
July 26: Microsoft-Managed Virtual Networks
July 27: Demo: Azure Data Factory Networking
July 28: Recap and Resources

Read more about Finishing Up Your Free Azure Networking Training Be the first to comment
Production DBA

Free Azure Networking Training This Week

To celebrate this month's launch of our new class, Fundamentals of Azure Networking for the Data Professional, we're making one video a day completely free. Here's what's on tap this week:

July 17: Demo: Using Virtual Networks for Data Services
July 18: Demo: Private Networks Without Public Access
July 19: Demo: Multiple Private Networks
July 20: Demo: Network Security Groups
July 21: Extending Networks to Azure with VPNs

Read more about Free Azure Networking Training This Week 2 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

Free Webcast: Planning a SQL Server to Azure Migration in 2021

You manage database servers for your company, and they're thinking about migrating everything to Microsoft Azure. You've searched the web for information and advice, but everything you're finding is outdated.

You just want a list of things to review on your servers, an overview of what won't work in the cloud, and how to pick alternatives or workarounds.

Read more about Free Webcast: Planning a SQL Server to Azure Migration in 2021 9 comments — Join the discussion
Production DBA

[Video] Top 3 Pitfalls of Managing Your Azure SQL DB Costs

You manage servers, not invoices. Your company has started to move their databases into Azure, and they're asking questions that you're just not ready to answer. How big does your server need to be when you're moving an existing database up to the cloud? How are servers measured? How do you measure to know if your new Azure SQL DB is overwhelmed, or if it's a code or index problem? How do you make the right adjustments once you're up there?

Read more about [Video] Top 3 Pitfalls of Managing Your Azure SQL DB Costs 3 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

Now is the time to sharpen your cloud database skills. Here’s how to start.

Many of us DBAs have been able to put off dealing with the cloud. That time is quickly coming to an end. But when was resistance to change ever a great career strategy in a tech field? Besides, two or three or four years from now, you might not have much choice in the matter. You don't want to be way ahead of the curve, but you do wanna be just ahead enough, and so the  time to start your cloud education is now.

Read more about Now is the time to sharpen your cloud database skills. Here’s how to start. 16 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