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

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.

Finding Out What Changed in a Cumulative Update

Over the last several years, Microsoft has been putting less and less effort into Cumulative Update documentation. We used to get full-blown knowledge base articles about fixes, but these days, we get a collection of footnotes with deceiving hyperlinks that look like they're going to lead to more information - but they simply lead back to themselves.

Read more about Finding Out What Changed in a Cumulative Update 7 comments — Join the discussion

[Video] Office Hours: Hawaiian Edition

I took your top-voted questions from https://pollgab.com/room/brento and answered 'em from my balcony at Disney's Aulani Resort in Hawaii. I'm not really a Disney guy - we were there for a friend's birthday celebration - but I tell ya what, that's my new favorite resort in the world. The water park, food, beach, and nearby activities were great, and it has the awesome Disney service. Top notch. Anyhoo, back to tech:

Read more about [Video] Office Hours: Hawaiian Edition Be the first to comment

SQL ConstantCare® Population Report: Winter 2025

Every quarter, we publish adoption rate data showing how quickly people are adopting new versions of SQL Server. Today it's time for the winter 2025 version of our SQL ConstantCare® population report.

SQL Server 2022 is finally seeing some good adoption with about 21% of the market. It's gradually taking market share from all other versions, including 2019, but 2019 still dominates with 44% of the market:

Read more about SQL ConstantCare® Population Report: Winter 2025 13 comments — Join the discussion

The 6 Best Things Microsoft Ever Did to SQL Server

This entire blog post is driven by the #1 feature in this list. I think about the #1 feature a lot, like at least once a week. I think about it so much that I had to stop and think about what other similar great things Microsoft has done over the years, and be thankful for what a nice platform this is to work with. Let's go through 6 of my favorite Microsoft decisions.

Read more about The 6 Best Things Microsoft Ever Did to SQL Server 46 comments — Join the discussion

Index Rebuilds Make Even Less Sense with ADR & RCSI.

Accelerated Database Recovery (ADR) is a database-level feature that makes transaction rollbacks nearly instantaneous. Here's how it works.

Without ADR, when you update a row, SQL Server copies the old values into the transaction log and updates the row in-place. If you roll that transaction back, SQL Server has to fetch the old values from the transaction log, then apply them to the row in-place. The more rows you've affected, the longer your transaction will take.

Read more about Index Rebuilds Make Even Less Sense with ADR & RCSI. 6 comments — Join the discussion
T-SQL & Development

Can AI Rewrite Bad Queries in Seconds? Kinda.

When I see horrific code, stuff that would take a lot of manual labor to fix, I like to lob it over to an LLM like ChatGPT just to see how it does.

For example, on a call with a client, I opened up one of their slowest pieces of code to find that it was running a cursor, processing data row by row rather than working in sets. To simulate it, I've written up a few stored procedures against the Stack Overflow database:

Read more about Can AI Rewrite Bad Queries in Seconds? Kinda. 12 comments — Join the discussion

Does Separating Data and Log Files Make Your Server Faster?

I've already explained that no, it doesn't make your database server more reliable - and in fact, it's the exact opposite. But what about performance? The answer is going to depend on your hardware and workload, but let's work through an example. I'll take the first lab workload from the Mastering Server Tuning class and…

Read more about Does Separating Data and Log Files Make Your Server Faster? 21 comments — Join the discussion

Announcing the 2025 Data Professional Salary Survey Results.

We've been running our annual Data Professional Salary Survey for almost a decade, and I was really curious to see what the results would hold this year. How would inflation and layoffs impact the database world? Download the raw data here and slice & dice it to see what’s important to you. Here's what I found.

Read more about Announcing the 2025 Data Professional Salary Survey Results. 8 comments — Join the discussion
T-SQL & Development

I Feel Sorry for Untrained Developers Using Entity Framework.

Most of the time, I love Entity Framework, and ORMs in general. These tools make it easier for companies to ship applications. Are the apps perfect? Of course not - but they're good enough to get to market, bring in revenue to pay salaries, and move a company forwards.

However, just like any tool, if you don't know how to use it, you're gonna get hurt.

Read more about I Feel Sorry for Untrained Developers Using Entity Framework. 23 comments — Join the discussion