Performance Tuning

[Video] “Actual” Execution Plans Lie for Branching Queries

In which I show why you can’t trust “actual” execution plans for branching stored procedures, and you’re better off using sp_BlitzCache to figure out what branches you need to tune:

"Actual" Execution Plans - or are they...

Demo code:

This is one of the reasons you won’t catch me using the “Edit Query Text” in query plans during this week’s Mastering Query Tuning class.

Free, 3× a week

Get my new posts by email

Three posts a week, plus a Monday roundup of the best database news from around the web.

3 comments

  1. First, I’m impressed to learn that you do these videos in more than a single take.
    Second, I want to register my vote for more champagne fueled instruction sessions.

    1. Steve – hahaha, thanks. Yeah, it’s really funny – sometimes, the videos work flawlessly on the first take, but some days, not so much. On that day, everything that could go wrong, kept going wrong, heh. Had one perfect take early on, and realized I’d forgotten to start the recording!

Leave a comment

Your email address will not be published. Required fields are marked *

Email me about new comments: