Watch Brent Tune a Query in SQL Server 2025
Proposed session for SQLBits 2026TL; DR
Ever wonder how somebody else does it? In this all-demo session, watch over Brent Ozar's shoulder while he takes a slow query, analyzes it, and iterates over several improvements. He'll explain his thought process and get feedback from the audience.
Session Details
Ever wonder how somebody else does it? In this all-demo session, watch over Brent Ozar's shoulder while he takes a slow stored procedure in the Stack Overflow database, analyzes it, and iterates over several improvements trying to make it go faster. He'll explain his thought process as he goes, and get feedback from the audience on what they'd try as well.
3 things you'll get out of this session
Learn to use sp_BlitzCache to identify which queries in a proc need tuning first
Understand the use of query hints to test possible database setting changes
See how to measure the overhead of query hints like recompiles
Speakers
Brent Ozar's other proposed sessions for 2026
20 Years of the Cloud: What Changed, What Didn’t, and What’s Next - 2026
AI in Your Career: Sidekick, Hero, or Villain? - 2026
Calling AI from T-SQL: Real-Life Lessons from sp_BlitzCache - 2026
Dev-Prod Demon Hunters: Finding the Real Cause of Production Slowness - 2026
Pokémon Battle, Choose Your Index: You Can’t Have Them All - 2026
The Big Red Button: How to Use sp_Kill - 2026