Select the product you need help with
How to troubleshoot Msg 832 (constant page has changed) in SQL ServerArticle ID: 2015759 - View products that this article applies to. SymptomsThe SQL Server Engine may write out to the ERRORLOG file the following error when it detects a database page has been modified unexpectedly while in cache: Error: 832, Severity: 24, State: 1. This error is detected by the background task often referred to as the LazyWriter. (The "command" for this task is seen as LAZY WRITER). Therefore, this error is not returned to a client application. The error will be written to the Windows Application Event Log as EventID=832. CauseSome "external" condition has caused a database page to be modified outside the normal SQL Server engine code used to change database pages. The conditions could be:
ResolutionThe to find the cause of the error, consider these options:
Anytime you see this error, you should immediately consider running DBCC CHECKDB against the database referenced by the <dbid> in the error message. More InformationOnly pages that are not currently modified in cache (or "dirty") are checked. This is why the message uses the terms "constant" because the page has never been changed since it was read in from disk. Furthermore, the page was read in "clean" from disk because it has a checksum value on the page and has not encountered a checksum failure (Msg 824). However, the page could be modified at some point after this error and then written to disk with the incorrect modification. If this occurs, a new checksum is calculated based on all modifications before it is written to disk. Therefore, the page could be damaged on disk but a subsequent read from disk may not trigger a checksum failure. It is important to run DBCC CHECKDB on any database that is referenced by this error. It is possible that even DBCC CHECKDB will not report an error for a page in this state after being written to disk. This is because the incorrect modification could be at locations on the page that don't hold any data, nor contain any important page or row structure information, or could be modifications to data that CHECKDB cannot detect. More details and information about Msg 832 can also be read in the whitepaper SQL Server I/O Basics, Chapter 2 Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.PropertiesArticle ID: 2015759 - Last Review: April 1, 2010 - Revision: 1.0 APPLIES TO
|


Back to the top








