Live registration reopens October 1, 2026, in 7d 09h 22mNotify me

Author: Brent Ozar

I make Microsoft SQL Server go faster. I love teaching, travel, cars, and laughing. I'm based out of Las Vegas. He/him.
Performance Tuning

New Official Documentation on Forced Parameterization

I love me some documentation.

For years, I've pointed folks to the SQL Server 2008 documentation on Forced Parameterization, a really useful tool for reducing plan cache bloat, getting more accurate reusable query plans, and enabling SQL Server 2019 and 2022's Intelligent Query Plan features, many of which rely on the same query text coming in repeatedly over time in order to tune it. That documentation was pretty sparse, though.

Read more about New Official Documentation on Forced Parameterization 5 comments — Join the discussion

You Can’t Trust “Edit Query Text” in SSMS’s Execution Plans.

When there are IF branches or conditional logic, "Edit Query Text" only shows you the branches that actually executed. It's easy to miss whole swaths of code that didn't happen to execute one particular time.

To demo it, let's create a simple stored procedure with an IF branch that sometimes executes, and sometimes doesn't:

Read more about You Can’t Trust “Edit Query Text” in SSMS’s Execution Plans. Be the first to comment

Contest Winners: Make the Comments Look Like My ChatGPT History.

I asked y'all to make the comments on this post look like my ChatGPT history, and y'all understood the assignment. The answers were all over the place from accurate to humorous. Here are the 5 runners-up first, each of whom won a Fundamentals Bundle for themselves or someone they love, since many of these folks already had a Fundamentals membership:

Read more about Contest Winners: Make the Comments Look Like My ChatGPT History. 4 comments — Join the discussion

SQL ConstantCare® Population Report: Spring 2026

It's time for our quarterly update of our SQL ConstantCare® population report, showing how quickly (or slowly) folks adopt new versions of SQL Server. There were only slight 1-2% shifts, nothing big:

SQL Server 2025: 1%
SQL Server 2022: 31%, up 2% from last quarter
SQL Server 2019: 42%, down 1%
SQL Server 2017: 9%, no change
SQL Server 2016: 9%, down 1%
SQL Server 2014 & prior: 6%, no change
Azure SQL DB and Managed Instances: 2%, no change

Read more about SQL ConstantCare® Population Report: Spring 2026 9 comments — Join the discussion

Building My Dev/Prod Demon Hunters Session, Part 2: The Tactics

This week at the SQLBits conference in Newport, I'm teaching an all-new all-day session called Dev-Prod Demon Hunters: Finding the Real Cause of Production Slowness.

It filled up initially, but they've opened up more seats for it, so if you're interested, there's still time to join! Attendees get a free Fundamentals & Mastering 1-Year Bundle. Register now for SQLBits, or if you're already registered, email contactus@sqlbits.com to get into my workshop.

Read more about Building My Dev/Prod Demon Hunters Session, Part 2: The Tactics 4 comments — Join the discussion

Updated First Responder Kit and Consultant Toolkit for April 2026

If there was ever a release you should skip for reliability reasons, it's this one. There's a lot of AI-edited code in here. I'm really only putting it out there because I want to let early adopters start playing around with a few new things: sp_BlitzIndex adds an @AI parameter to get index consolidation advice…

Read more about Updated First Responder Kit and Consultant Toolkit for April 2026 1 comment — Join the discussion

Announcing More Improvements to PasteThePlan.com

Need to share an execution plan, like on forums or on Stack Overflow, and you wanna get their advice as quickly as possible? Paste the XML into PasteThePlan.com and you get a link that you can share to anyone with your plan's details.

The user interface is now cleaner, with separate tabs for query plan, query text, AI suggestions, raw XML, and your recent plans:

Read more about Announcing More Improvements to PasteThePlan.com 4 comments — Join the discussion