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

Category: Cloud Computing

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

What’s Different About SQL Server in Cloud VMs?

When you start running SQL Server in cloud VMs - whether it's Amazon EC2, Google Compute Engine, or Microsoft Azure VMs - there are a few things you need to treat differently than on-premises virtual machines.

Fast shared storage is really expensive - and still slow. If you're used to fancypants flash storage on-premises, you're going to be bitterly disappointed by the "fast" storage in the cloud. Take Azure "Premium" Storage:

Read more about What’s Different About SQL Server in Cloud VMs? 7 comments — Join the discussion

Building SQL ConstantCare®: What Cloud Hosting Costs

In our behind-the-scenes posts about building SQL ConstantCare®, I've written about how we picked serverless architecture for the application layer, and how we picked AWS Aurora for the database layer. Hosting costs were a big driving factor in those decisions - so how has that worked out?

Presented for your enjoyment, here are our total SQL ConstantCare® hosting costs (including both production and development environments) from AWS Billing Explorer for a rolling 30-day period as of when I'm writing this post:

Read more about Building SQL ConstantCare®: What Cloud Hosting Costs 2 comments — Join the discussion
Production DBA

How The Cloud Turns Performance Tuning Into Cost Savings

Barely Metal
In Ye Olde Olden Dayyes, companies would outline hardware budgets and refresh cycles.

Every 3-5 years, they'd lick a thumb and hold it up to the CPU fans. If they felt a soft breeze, they'd buy the same number of CPUs. If they felt a hard breeze, they'd buy a few more. This made the hardware buy more expensive, and of course drove up licensing costs.

Read more about How The Cloud Turns Performance Tuning Into Cost Savings Be the first to comment

Updating Paste The Plan to use the Serverless Framework

I just updated PasteThePlan, and the change you'll notice first is that we're using the latest version of Justin Pealing's html-query-plan. It adds missing index hints, yellow bangs for warnings like implicit conversions and no join predicate, and more. Check out this example plan:

Plus variable line widths for different amounts of data:

Read more about Updating Paste The Plan to use the Serverless Framework 4 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
Production DBA

Running SQL Server in the Cloud: 2017 Edition

You have two basic options:

Infrastructure as a Service (IaaS) is just VMs running in someone else's data center - be it Amazon, Google, or Microsoft. Job duties for a DBA are the same as on-premises virtual machines: you manage HA, DR, patching, backups, and performance tuning. It's just that you may have slightly different techniques or setup steps to accomplish those - but no different than the amount of change you had to do to switch from physical to virtual machines.

Read more about Running SQL Server in the Cloud: 2017 Edition 25 comments — Join the discussion