Skip to content

View Plan, Estimated or Actual? #90

Answered by DavidWiseman
vcmcstech asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, it's an estimated plan. Note: Actual plans are just estimated plans with runtime stats included. The runtime stats are very useful though.

So why not collect the actual plan? The plans are collected for running queries - the query is still executing so the actual plan wouldn't be available until the query has completed its execution. Even then - you can't get the plan through the DMVs. It would have to be captured via extended events and this could add some overhead. Potentially the live query plan might be available to capture via the DMVs while the query is running. sp_BlitzWho can do this if you have it enabled in advance.

If you want the actual plans (estimated query plans with ru…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DavidWiseman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants