Backtrack:  
 
by lunarg on June 2nd 2015, at 12:12

I got these messages in the error log of a SQL Server instance:

SQL Server has encountered 1 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 1 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 1 occurrence(s) of cachestore flush for the 'Object Plans' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.

I also saw messages about starting a certain database, even though the instance itself remained running. This struck me as odd.

Turns out AutoClose was enabled on those databases, generating the errors above. Best practices recommend to turn off AutoClose as this has a negative impact on performance due to the database needing to be remounted when a process tries to access it.

 
 
« February 2025»
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
232425262728
 
Links
 
Quote
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett