Tuesday, April 27, 2010

Resolving 8905 and 8924 DBCC CHECKDB Failure Errors

To resolve logical damages in MS SQL Server database, an easy way followed by most database users is to execute DBCC CHECKB (with appropriate repair clause). This command after checking the logical and physical integrity of the database, repairs the database to the maximum possible level. However, if the command fails to repair, then it displays a severity level (either 10 or 16) error message(s). This error message helps the user identify the exact cause of database corruption. After any of the above error message(s) appears, the data saved in the database becomes inaccessible. To access the records in such cases, the user needs to restore the database records from an updated backup. But, in case no backup is available or backup falls short of restoring the database records, the database users need to repair the database using an efficient SQL Database Recovery application.

The above scenario can be explained with the help of the below error message:

“Server: Msg 8905, Level 16, State 1, Line 1
Extent (1:886000) in database ID 37 is marked allocated in the GAM, but no SGAM or IAM has allocated it.
Server: Msg 8905, Level 16, State 1, Line 1
Extent (1:886112) in database ID 37 is marked allocated in the GAM, but no SGAM or IAM has allocated it.

Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
...”

This error message appears when the user executes a DBCC CHECKDB command to repair his/her logically corrupted SQL Server 2000 database. Additionally, the same error message appears every time you try to repair your database.

Cause:

The above error message appears when the SQL Server 2000 database corruption is beyond the repair capabilities of DBCC CHECKDB command.

Resolution:

To resolve the above error message and to access the database records, the user needs to follow the below steps:

Restore database from an updated, valid, and complete backup.
Use a third-party SQL Database Repair application in case no backup is available. A commercial MS SQL Recovery utility can repair any logically damaged database, even if it cannot be repaired by DBCC CHECKDB command.

Stellar Phoenix SQL Recovery repairs MS SQL Server 2008, 20005, and 2000 database damaged due to logical crash. The SQL Repair tool is absolutely safe. It can be installed on Windows 7, Vista, 2008, XP, 2003, and 2000.

No comments:

Post a Comment