Procedure Cache and Data Cache

  • What is Plan Cache and Procedure Cache and Data Cache?Why these are used for ?

  • Procedure cache is the old name for the plan cache.

    Plan cache - cache of compiled query plans so that the optimiser doesn't have to regenerate them

    Data cache - cache of data pages so that they don't have to be read off disk (slow) every single time they're needed.

    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
  • Just to add to what Gail said. They're both part of the buffer pool...

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

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