Has SQL Server Performance Improved?

I saw a very interesting blog post this week from Brent Ozar that asked if SQL Server 2019 More CPU-Intensive Than SQL Server 2016? You can read the post, but a client was having CPU issues and thought everything between their SQL Server 2016 and 2019 environments was the same.

Brent decided to test this and found that on identical systems, he has queries taking more CPU on SQL 2019 than 2016. A few commenters tested as well, with similar results. Not everyone had similar results, but most did. You can get the scripts from the post and try it yourself if you have SQL 2016 and 2019 instances.

One would expect that more recent versions would run faster, or use fewer resources, for equivalent data sets and hardware. I know that’s not always the case, but it ought to be the case for lots of workloads. If not, then arguably the newer version isn’t better. It likely isn’t worth more money, and definitely needs more development work. This is my view of Windows 11, which seems to have returned to the habit of earlier Windows version of requiring and consuming more resources than its predecessor.

I don’t often benchmark or evaluate SQL Server version. I don’t have to make those decisions, but I have seen SQL Server continue to improve on the TPC-E benchmark. However, this isn’t necessarily the same hardware. In fact, across versions, it likely isn’t. There could be more CPU consumed by the same queries, masked by hardware advances (and falling hardware prices).

Is SQL Server using more CPU in newer versions? I’ll let you see if that’s the case on your systems. Even if it isn’t, you might document some queries (in addition to Brent’s) and record the results. That might help you decide when you upgrade.

Steve Jones

About way0utwest

Editor, SQLServerCentral
This entry was posted in Editorial and tagged , . Bookmark the permalink.

3 Responses to Has SQL Server Performance Improved?

  1. I’ll give you one better (a case against Windows 11); “Windows 10, the last version of Microsoft Windows you’ll ever need”. That sales pitch didn’t last very long. I believe most people suspected it was a load of bull anyway but by marketing Windows 10 as the last version and then dropping Windows 11 not that many years later just makes Microsoft look like as if it’s not as competent as one may have previously thought.

    Like

    • way0utwest says:

      I HATE Windows 11. Upgraded 1 laptop and regret it every time I speak.

      I don’t think this is competence so much as jsut marketing changes. Someone wanted Windows 10 to keep rev’ing and someone new got a job and now wants to market a new version. Has nothing to do with developer or even product quality. It’s all about sales/marketing driving something.

      Liked by 1 person

  2. Yeah I’ve heard a number of unhappy Win11 users including my boss. He said it reminded him of the Windows ME days where the newer version felt like a step backwards.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.