Server Sizing and Capacity Planning

Sizing hardware and planning for growth, resources, and operational scale.

41 associated posts41 primary posts

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

Is SQL Server 2019 More CPU-Intensive Than SQL Server 2016?

I'm running into something that I'm having a hard time believing.

A client was hitting CPU issues during load testing, and they swore all things were equal between their SQL Server 2016 and 2019 environments. The 2019 box was having CPU pressure issues that didn't show up on the 2016 box. I've played this game before, and every time, the root cause has been different configurations between the two servers.

Read more about Is SQL Server 2019 More CPU-Intensive Than SQL Server 2016? 73 comments — Join the discussion
Production DBA

What If You Really DO Need to Shrink a Database?

You've heard that shrinking a database is bad because it introduces both external and internal fragmentation, it causes blocking, it causes transaction log growth while it runs, and it's slow and single-threaded. You understand that if it's just a matter of 10-20-30% of a database, and the database is only 100-200GB, you might as well just leave the space there, because you're gonna end up using it anyway.

Read more about What If You Really DO Need to Shrink a Database? 43 comments — Join the discussion

Are your CPU-intensive queries running slowly? Check your VM type.

When you build a VM for SQL Server in Amazon EC2, Azure VMs, or Google Compute Engine, it's all too easy to overlook the CPU speeds that you're getting. Most of the time, it doesn't really matter because SQL Server isn't usually CPU-bottlenecked: your queries are doing table scans with 16GB RAM, starving for IO throughput.

Read more about Are your CPU-intensive queries running slowly? Check your VM type. 15 comments — Join the discussion
Production DBA

Trainable SQL Servers

Funny thing
The human body is pretty good at adaptation. When you get sick or injured, your body responds and (most of the time) heals itself up. When you stress your body in a certain way, over time, your body will feel less stressed by the same level of that activity. If you do 10 push-ups every day, after a week you'll barely notice you're doing them.

Read more about Trainable SQL Servers 7 comments — Join the discussion

Ten Ways to Tell if Your SQL Server is a Clown Car

Sometimes we pile just a few too many duties onto our servers. They start to become a clown car - the classic joke where dozens of clowns come pouring out of an impossibly small car. (The physics behind it are actually really interesting.)

So how can you tell if your SQL Server has crossed the line into clown car territory? It's easy:

Read more about Ten Ways to Tell if Your SQL Server is a Clown Car 33 comments — Join the discussion

The Third Concern for SQL Server Virtualization: Capacity Planning

Our first two concerns in this series were virtualization licensing and recoverability. It's not enough to have answers for these questions today, though - we have to think about how long the server will be in place.

The server's expiration date isn't dictated by IT. If it was up to us, we'd never run an old, unsupported version of anything - but sometimes the business is quite content doing just that. So how do we plan for this from the start?

Read more about The Third Concern for SQL Server Virtualization: Capacity Planning Be the first to comment

Is it Cheating to Solve A Performance Problem By Adding Memory?

We had a comment recently on Five Things That Fix Bad SQL Server Performance that got me thinking. The comment came from a frustrated system administrator, who wrote: Chucking resources at a problem is not solving that problem, it’s just temporarily masking the symptoms of that problem. Funnily enough, I've heard the exact same thing from…

Read more about Is it Cheating to Solve A Performance Problem By Adding Memory? 23 comments — Join the discussion