VAS/MemToLeave and the Plan Cache

  • Hello,

    Could someone let me know if the plan cache is located within MemToLeave or is separate?

    I know that MemToLeave is reserved before the buffer pool when SQL starts up, but what about the plan cache?

    Thanks in advance,

    Andrew

  • The plan cache, as well as all the other caches are part of the buffer pool.

    The pre-allocate of MemToLeave is only on 32-bit SQL and the memory management has changed significantly in 2012 anyway

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thank you Gail

Viewing 3 posts - 1 through 2 (of 2 total)

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