Execution plans

  • I was going to post the same quote. The execution plan itself is both re-entrant and reusable. The fact each execution also has 'private' areas does not change this fact.

    -- Mark D Powell --

  • My apologies, I was reading execution context and thinking query plan and wrote the wrong words. The intention was to test knowledge of the execution phase of the execution plan, the context.

    Everyone has had points awarded back to this time and the question corrected.

  • Steve Jones - SSC Editor (6/28/2011)


    My apologies, I was reading execution context and thinking query plan and wrote the wrong words. The intention was to test knowledge of the execution phase of the execution plan, the context.

    Everyone has had points awarded back to this time and the question corrected.

    Thanks, Steve. You've always been amazingly fair about things like this.

    -Ki

  • Thanks Steve, nice to see the points awarded back 🙂

    M&M

  • Cliff Jones (6/28/2011)


    Carlton Leach (6/28/2011)


    Have you been drinking Steve? :hehe:

    Carlton, I think I will reuse your post, thanks.

    Certainly Cliff, well played 😉

    Carlton.

  • Yupee! 2 more points for me 🙂

  • SanDroid (6/28/2011)


    Change is Required (6/28/2011)


    The showing answer is wrong .

    see this for more details

    http://msdn.microsoft.com/en-us/library/ms181055.aspx%5B/quote%5D

    You should read what you posted closer. What you posted clearly states that

    Query Plan + Execution Context = Execution Plan

    And Execution Context <> reentrant

    According to what you posted the answer is right.

    "showing answer is wrong" = wrong answer

    That logic does not hold true for this type of question though. Since an execution plan contains both the query plan and the execution context, only one of those sub features has to include reentrant for the execution plan to also be re-entrant. Just because an Execution Plan is reentrant does not mean however that an execution context is re-entrant. It is a simple 'OR' operation and not an 'AND' operation. Properties of subcontainers transfer to parent container but properties of parent container do not transfer to subcontainers.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • Steve Jones - SSC Editor (6/28/2011)


    My apologies, I was reading execution context and thinking query plan and wrote the wrong words. The intention was to test knowledge of the execution phase of the execution plan, the context.

    Everyone has had points awarded back to this time and the question corrected.

    Thanks Steve.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • Steve Jones - SSC Editor (6/28/2011)


    My apologies, I was reading execution context and thinking query plan and wrote the wrong words. The intention was to test knowledge of the execution phase of the execution plan, the context.

    Everyone has had points awarded back to this time and the question corrected.

    thanks!!!


    [font="Times New Roman"]rfr.ferrari[/font]
    DBA - SQL Server 2008
    MCITP | MCTS

    remember is live or suffer twice!
    the period you fastest growing is the most difficult period of your life!
  • I think re-entrant is also a correct answer. Looking at books online you find the context described as reentrant as well. We should be awarded the points for a correct answer.

  • Note to self: read the actual question on the site rather than the question in your RSS feed. I didn't even notice the update to the question until after I had selected the wrong answer. 🙂

  • Mistakes happen, nobody is perfect.

    But apology is noble.

    Thanks Steve!

  • Another good question. It appears as if the Execution Plan is reusable and re-entrant however the Execution Context is only reusable.

    The devil is in the details.

  • Rafael Krisller (6/28/2011)


    Mistakes happen, nobody is perfect.

    But apology is noble.

    😎 i agree


    [font="Times New Roman"]rfr.ferrari[/font]
    DBA - SQL Server 2008
    MCITP | MCTS

    remember is live or suffer twice!
    the period you fastest growing is the most difficult period of your life!
  • Great question. I've to do more research to fully understand it.

    Thanks!

    --------------------------------------------------------------------------------------
    Hai Ton
    My Db4Breakfast blog.

Viewing 15 posts - 31 through 45 (of 49 total)

You must be logged in to reply to this topic. Login to reply