SQL Server has encountered 1 occurrence(s) of cachestore flush

  • I am getting below error when i try to restore database in sql server 2005

    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.

    Any workaround?

    Thanks

  • That's not an error. It's just telling you that the plan cache has been cleared. A restore of a database always clears the plan cache.

    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
  • I initiated the restore but i still see this message in sql server logs again and again?Restore is taking forever not sure why?

    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.

    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 'Bound Trees' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.

    Thanks

  • Restoring a database always causes a flush of the plan cache. Hence, any time you restore a DB you'll see those messages.

    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
  • Since one hour restore completed only 2% which is unusual for me?

    Thanks

  • Got nothing to do with those messages.

    Restore time is mostly about IO.

    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
  • I also noticed this message in error logs? Because of this restore is taking longer than normal?

    SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file

    The OS file handle is 0x00000000000006DC. The offset of the latest long I/O is: 0x000022b6dde000

    SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file in

    The OS file handle is 0x000000000000082C. The offset of the latest long I/O is: 0x00003d8303b000

    SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file

    The OS file handle is 0x0000000000000778. The offset of the latest long I/O is: 0x00000000108000

    SQL Server has encountered 1918 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file

    Is anything to do with this?

    Thanks

  • Probably. Those indicate that the IO subsystem is under strain. Could be that it's just not got the throughput needed or could be there's something else running as well (file copy is a possibility) that's affecting the IO subsystem.

    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
  • Check if the auto-close option for database is on,if yes make it false

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • Hello,

    For I/O Problem, you can check your SAN disk. But, I strongly advise to check SQL Server Memory Configuration.

    (Minimum Server memory & Maximum Server Memory) If there is some memory bottleneck, it directly gives this error.

    BR;

  • This always happens when user are executing queries and log restoration starts.

    The restoration takes time, check weither any deletion or any developer patches applied on the tables.

    If the records are updated are more the new rowid in the header has to matches with the old header.so the restoration will take time.

Viewing 11 posts - 1 through 10 (of 10 total)

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