Theme Graphic
Theme Graphic

SQL Database Recovery | Repair SQL Database

SQL recovery software to recover & repair corrupted MS SQL database from MSSQL Server. Support recovery of data from MS SQL 2000, 2005 &...

Subscribe

Author

I have completed my Ph.D in computer science and currently doing research on how to recover and repair corrupted database. During my research i found many third party software for several database recovery like sql recovery, sql repair, mdf recovery, mdf repair, db2 recovery, oracle recovery and many more. i am sharing my experience and knowledge with you all.

Archive

Open 2010

Tags

Posted on Wednesday, May 12, 2010 at 1:56 AM

Damaged Page Header Causes Database Corruption in SQL Server


Microsoft SQL Server provides you a powerful utility to check the integrity and consistency of both logical and physical components, known as DBCC CHECKDB. The utility checks database integrity in three different phases. In first phase, consistency of allocation structures in hard drive space is checked and integrity of all the database pages and their structures are checked in the second phase. In third and the last phase, catalog consistency is checked. If the tool encounters any kind of errors in any checking phase, the process gets terminated improperly. After this behavior, SQL Server Database remains in corrupted and inaccessible state. It leads to severe data loss situations and requires sql recovery to extract inaccessible data, if an updated backup is not in place. The DBCC CHECKDB process gets terminated if your Microsoft SQL Server database is severely damaged and it is beyond the repair abilities of the DBCC CHECKDB utility. When the DBCC CHECKDB tool fails to bring your Master Database File (MDF) of Microsoft SQL Server into working state, you may face an error message similar to the following one:

“Table error: Page P_ID allocated to object ID O_ID, index ID I_ID was not seen. Page may be invalid or have incorrect object ID information in its header.”

Grounds of the problem

The problem may occur if a page, which is allocated as mentioned, but is not seen with the Index/object ID in header of page. The database page contains different index ID in header. Thus, there is a matching 2534 (a page that is allocated by other object) error for page.

You may come across the same problem if your database is damaged and DBCC CHECKDB utility can not read it for checking the integrity. Resolution

You can try the below steps to perform SQL Server Recovery to fix the issue:

Run hardware diagnostic to detect and fix hardware related problems. Restore database from recent backup.

Use third party MS SQL Recovery applications to repair and restore damaged database.

The SQL server recovery software enables you to systematically scan the whole database and extract all inaccessible data from it. They have simple graphical user interface to offer easy and quick recovery of damaged database objects.

SQL Recovery software successfully repairs and restores database in all cases of corruption. The software works well with Microsoft SQL Server 2008, 2005, and 2000. It restores all MDF file objects, such as tables, reports, forms, macros, constraints, data types, and more.
Bookmark: Submit To Digg Submit To reddit Submit To del.icio.us Bookmark With StumbleUpon Bookmark With FaceBook Bookmark With Google Bookmarks   Share: Share By Email By Email

0 comments on "Damaged Page Header Causes Database Corruption in SQL Server"
No comments posted yet.

Leave A Comment
Subject:


Comment:
   Bold Italic Underline          Code Link Image Horizontal Rule


Because you do not have or are not logged in to your Programmer's Heaven account, please enter your name.

Name:


To help prevent comment SPAM, please enter the magic code '214' in the box:




Posting Rules
Please follow these rules when posting comments on blog posts.
  • Do not post anything that is racist, hate speech or of a sexual or adult nature.
  • Do not post or link to anything that infringes copyrighted laws.
  • Posting about security or legal topics is fine so long as you are not glorifying or encouraging people to perform illegal activities.
  • Both the author of this blog and the Programmer's Heaven administrators may delete any inappropriate comments without notice at their own discretion.
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.