Auto-close set to false, yet get "occurrence(s) of cachestore flush for the 'Bound Trees' " message

  • I get the following message on our development database each night before the restore process. I have checked Auto-close option and it is set to false, is there anything else that I can do to fix this?

    SQL Server has encountered 3 occurrence(s) of cachestore flush for the 'Bound Trees' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.

    SQL Server has encountered 3 occurrence(s) of cachestore flush for the 'SQL Plans' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.

    SQL Server has encountered 3 occurrence(s) of cachestore flush for the 'Object Plans' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.

    Thank you

  • A database restore will always flush the cache. No way to stop it from doing so.

    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
  • So we are OK with the flush even if auto close is set to false?

    Thanks Gila

  • eashoori (3/17/2009)


    So we are OK with the flush even if auto close is set to false?

    Sorry, not sure what you're asking here. Can you rephrase please?

    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
  • Gail,

    We both changed our original posts that pointed to the opposite thread so now both are available. I'll point the other thread to here again.:-D

  • As usual Gail is correct. Check out this article.

  • Thanks both Jack and Gail.

    Also, Jack, I hope this is the right place to post for this thread.

    Thank you,

Viewing 7 posts - 1 through 6 (of 6 total)

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