Posts by Brent Ozar

What’s New & Undocumented in SQL Server 2019 Cumulative Update 9

SQL Server 2019
26 Comments
Last week’s SQL Server 2019 Cumulative Update 9 snuck in some undocumented things. We got two new DMVs for Always On Availability Groups, sys.dm_hadr_cached_replica_states and sys.dm_hadr_cached_database_replica_states. They have a subset of data from other AG DMVs: I sure wish I could point you to the documentation or KB article on those. But we have no…
Read More

Query Store is the Flight Data Recorder. It’s Obvious What We Need Next.

Humor
31 Comments
When Microsoft brought out Query Store, they wrote: Similar to an airplane’s flight data recorder, Query Store collects and presents detailed historic information about all queries, greatly simplifying performance forensics by reducing the time to diagnose and resolve issues. I have a straight face under here, for real It certainly works, making it easier for…
Read More
Eyes up here, kid

I Sat Down for an Interview with Forrest Brazeal.

Cloud Computing
6 Comments
Here’s how the interview started: Forrest Brazeal: Brent, you’re a performance specialist who’s worked with massive SQL Server deployments; how does it make you feel when you hear cloud architects saying things like “relational databases don’t scale?” What do you wish they knew? “Time for a smoke break.” Brent Ozar: They’re right. Nothing scales worth a…
Read More

“But Surely NOLOCK Is Okay If No One’s Changing Data, Right?”

Some of y’all, bless your hearts, are really, really, really in love with NOLOCK. I’ve shown you how you get incorrect results when someone’s updating the rows, and I’ve shown how you get wrong-o results when someone’s updating unrelated rows. It doesn’t matter – there’s always one of you out there who believes NOLOCK is okay…
Read More
Eyes up here, kid

Free Webcast: Help! My SQL Server Maintenance is Taking Too Long!

“Time for a smoke break.” You manage growing SQL Server databases with shrinking nightly maintenance windows. You just don’t have enough time left each night to do the necessary backups, corruption checking, index maintenance, and data jobs that your users and apps want to run. Cloud storage isn’t helping the problem, either. Stop playing Tetris…
Read More

What SQL Server Feature Do You Wish Would Go Away?

Humor
45 Comments
I asked a two-part question on Twitter: if you could only remove one feature from SQL, why would it be cursors? If you could only remove one feature from SQL, why would it be cursors? — Brent Ozar (@BrentO) January 20, 2021 The responses were great: Auto-shrink does not agree — Warner Chaves (@warchav) January…
Read More

We Lost Gareth Swanepoel.

Community
21 Comments
Thirteen years ago, I met Gareth Swanepoel (@GarethSwan) for the first time, interviewed him for his first real sysadmin job, and … turned him down. Gareth Swanepoel circa 2007 Thankfully, my manager overruled me and hired him anyway. Thank goodness – and thank goodness Gareth forgave me for my incredibly bad judgment, hahaha. Gareth proved…
Read More
Menu