Category: Cloud Computing

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

Today’s a Good Day to Talk to Your Manager About Disaster Recovery.

Last night, two major IT disasters struck:

Microsoft Azure's Central region went down for about 4 hours. The official post-mortem isn't out yet, but rumor has it that while decommissioning legacy storage services, the product group deleted the wrong thing.
Crowdstrike pushed a bad update, leading to blue screens of death on Windows systems worldwide, affecting banking, healthcare, airlines, and more.

Read more about Today’s a Good Day to Talk to Your Manager About Disaster Recovery. 10 comments — Join the discussion
Production DBA

It’s Probably Time to Upgrade Your Cloud VMs.

If you've been in Azure or Amazon for a few years, you're probably on old, slow hardware.

In the last 3 weeks, I've had two clients who'd both been early cloud adopters. When they'd migrated to the cloud, they both used Azure Ev3 VMs - at the time, a good choice for SQL Server due to its relatively high amount of memory. When the Ev3 VM types were announced in 2017, they were hosted on Intel Broadwell and Haswell processors with 2.3-2.4GHz processing speed.

Read more about It’s Probably Time to Upgrade Your Cloud VMs. 10 comments — Join the discussion

New Amazon X2iedn High-Memory Instances

Amazon just announced new X2iedn instance types for Amazon RDS SQL Server. They're a sweet deal for people who want a high-performance managed database, with really fast cores and more memory per core than you can get in Azure's managed SQL offerings.

Say your workload needs 8 CPU cores. Here's a quick comparison between a few instance types, all priced with SQL Server Standard Edition licensing included:

Read more about New Amazon X2iedn High-Memory Instances 4 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

What SQL Server People Should Know About Amazon Aurora Serverless

You, dear reader, are most likely a Microsoft SQL Server user - either a DBA or developer.

Set your pencil down for a second because you're not going to learn about a Microsoft product today, nor are you going to learn something that is going to be immediately useful to you in your job. Today, I'm writing about a completely different product just to give you a better insight on what else is out there.

Read more about What SQL Server People Should Know About Amazon Aurora Serverless 20 comments — Join the discussion
Production DBA

Database Performance Tuning is Getting Much Harder.

For the last twenty years, SQL Server performance tuning has relied on a few facts: SQL Server provided a lot of performance metrics with thorough documentation from both Microsoft and the community. You could fetch those metrics in a variety of ways, like Perfmon counters and dynamic management views. Many of the metrics were cumulative…

Read more about Database Performance Tuning is Getting Much Harder. 27 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