this query is heinous like Uranus
Posts by Brent Ozar
There’s a Bug in sys.dm_exec_query_plan_stats.
When you turn on last actual plans in SQL Server 2019 and newer: ALTER DATABASE SCOPED CONFIGURATION SET LAST_QUERY_PLAN_STATS = ON; The system function sys.dm_exec_query_plan_stats is supposed to show you the last actual query plan for a query. I've…
"is it just me or..."
"check again now though and see if you're still having the problem"
when my ai replacement sees the code base he's going to take over from me
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…
we don't talk about how things were before dmvs
guys c'mon the objective is not to hold all the cards
the tech professional inside me is completely understanding about stuff like this, and is actually a little charmed by it
Hallelujah: Claude Code is adding Routines, code that can be triggered on external actions like Github pull requests. I'm so looking forward to automating code reviews with this - Copilot's reviews have been so bad in the First Responder Kit. code.claude.com/docs/en/rout...
The Blogger’s Serenity Prayer: God, grant me the serenity to ignore the commenters I cannot help, the courage to help the commenters I can, and the wisdom to know the difference.
Overheard at the airport: “most people just click through terms of service without reading anything, and just accept everything”
Guy: “yeah that’s how I ended up married to my first husband”
“wait I didn’t know you were gay”
“I’m not”
"Claude Code is down" is the new "Stack Overflow is down"
As you work on your taxes this afternoon/evening, you're probably wondering where your money goes: wherethefuckdidmytaxesgo.com
That's one way to do compression
Azure DevOps is down so hard right now that they can't even spell "storage" correctly: status.dev.azure.com
hey siri is there a morning after pill for deployments
Announcing the Panel Lineup for My SQLBits Cloud Discussion
At SQLBits, I'm hosting a panel discussion called 20 Years of the Cloud: What Changed, What Didn't, and What's Next. I'm excited to share the panel lineup - all of the links go to their LinkedIn profiles: Amy Abel - aka the Database…
Reading: Syncing Logins Across Managed Instance Failover Groups andybrownsword.co.uk/2026/04/14/s...
I see what you did there!
Watching: free video by Hugo Kornelis explaining the pros and cons of SQL Server's parameter sniffing: www.youtube.com/watch?v=xbMv...
Reading: Anthony Nocentino is doing what Microsoft gave up on 6-7 years ago: www.nocentino.com/posts/2026-0...
SQL Server 2016 Support Ends in 90 Days.
On July 14, 2026, Microsoft's extended support ends for SQL Server 2016. They will offer Extended Security Updates that you can buy for 3 more years, either through Azure or your licensing partner. The price is stunning: Year 1, July 2026-2027: 75% of the…
I feel anxious and unsettled just looking at this house, let alone thinking about living in it. The interior pictures are horrifying. www.contemporist.com/a-futuristic...
how your email finds me
SQL Server fragmentation explained in 20 minutes with whiteboards and an overhead camera: www.brentozar.com/archive/2022...
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…
my drag name will be Negroni Calamari