Launch week: the Season Pass & Fundamentals Week are 50% off — ends in 15d 10h 17mSee the sale

Category: Microsoft Azure

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

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

Azure SQL DB is Slow: Do I Need to Buy More DTUs?

You've got an Azure SQL DB, and your queries are going slow. You're wondering, "Am I hitting the performance limits? Is Microsoft throttling my queries?"

There's an easy way to check: run sp_BlitzFirst. sp_BlitzFirst is our free performance health check stored procedure that analyzes a lot of common performance issues and then gives you a prioritized list of reasons why your server might be slow right now.

Read more about Azure SQL DB is Slow: Do I Need to Buy More DTUs? 25 comments — Join the discussion

Azure SQL DB Managed Instances: Transactional Replication

I knew Brent and Erik wouldn't touch replication, so I figured I'd give it a whirl.
My good, old friend replication
I have a love-hate relationship with replication. Mostly hate due to latency and errors, but it does serve its purpose. Before Availability Groups came out, I used Transactional Replication to copy data from the production OLTP database to another server so that we could offload reports.

Read more about Azure SQL DB Managed Instances: Transactional Replication 4 comments — Join the discussion

Azure SQL Managed Instances Brain Dump on CPU, Memory, HA/DR, and Backups

Normally when we write blog posts, we try to explain something or tell a story. If you're looking for a solid educational post, stop here, mark this one as read, and go on about your day.

This post is just a brain dump of unorganized notes from our experimenting with Azure SQL DB Managed Instances Preview. Buckle up.

Read more about Azure SQL Managed Instances Brain Dump on CPU, Memory, HA/DR, and Backups 3 comments — Join the discussion
Production DBA

How to Restore a SQL Server Database into Azure SQL DB Managed Instances Redux

Anything Brent Can Do
There's some things you can do with Managed Instances, and some ways you can look at data that you can't do elsewhere.

For instance, you have the ability to start an restore ASYNC -- that means if your session drops, the restore will continue headlessly in the background.

Read more about How to Restore a SQL Server Database into Azure SQL DB Managed Instances Redux 5 comments — Join the discussion
Production DBA

How to Deploy Your First Azure SQL DB Managed Instance Preview

The Azure SQL DB Managed Instance public preview is open, although it may take a week or two for new applications to get their new VMs. To start your application process now, go into your Azure portal and Create an Azure SQL Managed Instance. There are preview terms at the top - fill out the form to accept that now, because they're going through a big queue, and you're not my first reader. (You're still my favorite, though.)

Read more about How to Deploy Your First Azure SQL DB Managed Instance Preview 7 comments — Join the discussion