| 1888 Articles Home | Computer Articles | Data Recovery Articles | Windows Articles | Data Recovery RSS | ![]() |
||
Repairing MDF file after corruption in B-tree in an MS SQL Server 2000 database |
||||
|
A B-tree is a data structure that is used to store objects (such as records) in the form of a tree having roots and branches. Using the B-tree, you can speed up various tasks such as searching, adding, deleting, or modifying the tree. |
||||||||||||
| Author: Mark Willium |
|
|||||||||||
Let us discuss a case in which you receive the following error message while working on an MS SQL Server 2000 database:
“Table error: Object ID O_ID, index ID I_ID. The previous link P_ID1 on page P_ID2 does not match the previous page P_ID3 that the parent P_ID4, slot S_ID expects for this page.”
Cause:
The root cause of this error is the corruption in the structure of the B-tree. Because of the corruption, the parent page, P_ID4, of P_ID2 page refers to P_ID3 page as the left hand sibling of P_ID2 page.
Resolution:
To eradicate such B-tree related errors, you should look to repair MDF file. This can be done using the following methods preferably in the given sequence:
* Repair hardware corruption issues: You should address all the hardware reasons that may have caused this problem. For this, you can perform the following measures:
◦ Fixing the errors that show up when you run hardware diagnostics.
◦ Resolving if any error is displayed in the Error log.
◦ Checking if write caching is enabled on the disk if the problem happens regularly. If yes, then contact the hard disk manufacturer for appropriate solutions.
* Restore from backup: You should check the status of the database backup. If it is updated and clean, then you should restore the database from its backup.
* Run DBCC CHECKDB: You can also run the DBCC CHECKDB tool with appropriate repair clause to repair MDF file.
In most of the times, using the aforementioned methods the error is resolved and you would be able to use the database with ease. However, if it is not so then there is an immediate need to use a third-party SQL repair software to fix the problem. With the use of read-only scanning algorithms, these MDF repair tools make SQL recovery very easy to perform.
The most remarkable MDF file repair software that repairs SQL databases created for MS SQL Server 7.0, 2000, 2005, and 2008, is Stellar Phoenix SQL Data Recovery. Having the capability of repairing SQL database objects such as NDF files, tables, stored procedures, defaults, triggers, collations, etc, this .MDF repair software is compatible with Windows 7, Server 2008, Vista, Server 2003, XP, and 2000.
About Author
My name is Mark Willium, I have done Ph.D in computer science and currently doing research on how to recover and repair corrupted sql database. During research found many repair & recovery software for SQL database, some of them are sql server recovery, recover sql mdf, sql database repair, repair mdf tool and many more.
Article Source:
http://www.1888articles.com/author-mark-willium-32501.html
Other Related Articles Loans for unemployed people-Cover up your financial necessities by Scarlette Riley What should you do to troubleshoot Error – 00353 to recover Oracle database by Tanvi Sharma Repairing MDF file after corruption in B-tree in an MS SQL Server 2000 database by Mark Willium Finding the best bad credit auto loans by Thomasmark Bank Account for Bankrupts - Chance to Give Your Perfect Life Back by Gregg M Hall |

