Hej
Jeg bokser med en 80 GB SQL 2000 database der laver consistency fejl.
CHECKDB:
DBCC CHECKDB ('DATABASE') WITH PHYSICAL_ONLY
Giver følgende:
DBCC results for 'DATABASE'.
Msg 8906, Level 16, State 1, Line 1
Page (3:10005328) in database ID 11 is allocated in the SGAM (3:9713409) and PFS (3:10004856), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
CHECKDB found 1 allocation errors and 0 consistency errors in table 'Firmanavn A_S$6001516$0' (object ID 1186779981).
Msg 8906, Level 16, State 1, Line 1
Page (3:9598954) in database ID 11 is allocated in the SGAM (3:9202177) and PFS (3:9592368), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
CHECKDB found 1 allocation errors and 0 consistency errors in table 'Firmanavn A_S$6001516$1' (object ID 1755166044).
CHECKDB found 2 allocation errors and 0 consistency errors in database 'DATABASE'.
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (DATABASE).
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
Jeg har taget en backup og indlæst den på en anden server, for at sikre mig at det ikke er en hardware defekt på disk-raidet.
Databasen er opdelt i 2-datafiler og en log fil.
Der er ikke en valid uden samme allokeringsfejl på, og der tolereres ikke datatab (i drift databasen, nu har jeg jo en kopi at leje i).
Tjekket tabellerne:
DBCC CHECKTABLE ('Firmanavn A_S$6001516$0') WITH ALL_ERRORMSGS
Det giver dette harmløse resultat:
DBCC results for 'Firmanavn A_S$6001516$0'.
There are 10541921 rows in 178118 pages for object "Firmanavn A_S$6001516$0".
DBCC execution completed. If DBCC printed error messages, contact your system administrator.... nogen idéer?
Indlæg senest redigeret d. 18.12.2009 09:01 af Bruger #15479