Tuesday, January 19, 2010

Tips to resolve “Object ID O_ID, index ID...” Error Message

In SQL Server database, the indexes are primarily organized as B-trees. Every page in an index B-tree is known as Index node. These B-trees enable you to effectively handle your data saved in tables and indexes. While these B-trees allow you to properly manage your data, corruption or damage in them can also result into inaccessibility of records saved in the SQL database. In such situations, an easy way to access your data is by restoring it from an updated database backup. However, if no backup is available or backup file(s) itself gets corrupted, then you will need to use advanced SQL recovery tool to repair your database.

As a practical case, you encounter the below error message when you attempt to access the records saved in your Finance database:

“Object ID O_ID, index ID I_ID: Page P_ID is empty. This is not permitted at level LEVEL of the B-tree.”

Data stored in the Finance database becomes inaccessible after the above error message appears. Furthermore, the above error message repeatedly occurs each time you attempt to access the records saved in the Finance database.

Cause:

The root cause for the occurrence of the above error message is the B-tree above the leaf level is empty or corrupted. This further corrupts the table indexes and makes their data inaccessible. Corruption can occur due to logical or physical factors.

Resolution:

To resolve the above error message, you will need to follow the below measures:

· In case of corruption caused due to hardware failure, you will need to run hardware diagnostics and swap the damaged hardware components with new ones.

· In case of logical database corruption, you will need to run DBCC CHECKDB command (without repair clause) to identify the extent of Finance database corruption. After identifying the corruption, run DBCC CHECKDB command with appropriate repair clause.

However, if DBCC CHECKDB with repair clause fails to resolve the issue, then you will need to opt for third party SQL database recovery tool. These SQL recovery developed by highly talented data recovery experts and provide risk-free database repair.

No comments:

Post a Comment