The information in this article applies to:
SYMPTOMSDBCC reports a page count discrepancy in the SYSLOGS table. CAUSE
It is not unusual for DBCC to find a discrepancy between the actual
page count and the count reflected in SYSINDEXES DPAGES for the
SYSLOGS table. This discrepancy occurs because the page count in
SYSINDEXES (DPAGES) is not updated every time something is logged; that
would cause too much overhead. Instead, the changes are saved until a
CHECKPOINT is executed.
WORKAROUND
Run a CHECKPOINT command on the database in question and recheck
SYSLOGS with DBCC CHECKTABLE. (Do not allow any updates to be made
to that database between the CHECKPOINT and the DBCC).
MORE INFORMATION
There is a situation that seems to produce a discrepancy between the
actual page count and the SYSINDEXES page count that is NOT resolved
by doing a CHECKPOINT. If a database that does not have its
transaction log on a separate database device is ever allowed to have
the log fill up (requiring it to be purged with DUMP TRANSACTION WITH
NO_LOG), SYSINDEXES seems to get permanently out of sync with the actual
page count.
Additional query words: sql6 Windows NT
Keywords : kbprg SSrvServer SSrvWinNT |
Last Reviewed: October 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |