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

Archive

Open 2010

Tags

Posted on Friday, October 15, 2010 at 4:26 AM

How to repair SQL database when Error 8903 occurs in MS SQL Server 2000 database


In the MS SQL Server databases, the IAM (Index Allocation Map), GAM (Global Allocation Map), SGAM (Shared GAM) are different types of pages that are used to store the records on the hard disks. These pages combine together in an extent, which is used to hold the metadata of the databases. A lot of times due to the mismatching in these files, the database gets corrupt and does not work properly. In such cases, you should try to repair MDF file using appropriate measures. However, if the problem is not addressed, then there is a strong case of using a third-party SQL repair software.

Consider a situation in which you are facing the following error message while working on an MS SQL Server 2000 database:

“Extent E_ID in database ID DB_ID is allocated in both GAM GAM_P_ID and SGAM SGAM_P_ID.”

Cause:

The error has occurred because of corruption in the extents due to the irregularities in the IAM, GAM, and SGAM pages.

Resolution:

To overcome such corruption issues, you should perform the following methods ideally in the given order: Fix the hardware corruption issues: As is seen in such cases, the main reason for corruption is the malfunctioning of the hardware parts due to various reasons. You should try to minimize its repercussions using the following measures:

Check the Windows application logs and the SQL Server error logs to see whether the error is a consequence of hardware failure.

Run the hardware diagnostics and fix the error(s), if any.

You should swap the hardware components to isolate the exact error of corruption and try to repair the issue.

If the problem is persisting for a long time, then check if write-caching is enabled on the disks. If yes, then contact your hardware vendor to replace the disk.

In the end, you can try to convert to a new system be reinstalling the operating system after formatting the hard disks.

Restore from database: If the hardware parts are perfectly in place, then you should restore database from the backup, if it is clean and updated.

Execute DBCC CHECKDB: If nothing works out, then you should run DBCC CHECKDB with the repair clause to repair MDF file.

If the issue is still not resolved, then you should use a third-party SQL repair software to repair corrupt SQL database. With the help of these MDF file repair tools, you can get all the data without inflicting any damages.

The most recommended MS SQL repair software is Stellar Phoenix SQL Data Recovery, which repairs SQL database created in MS SQL Server 2008, 2005, 2000, and 7.0. Compatible with Windows 7, Server 2008, Vista, Server 2003, XP, and 2000, this .MDF repair utility repairs and restores collations, NDF files, tables, stored procedures, defaults, triggers, etc.

Source: http://hubpages.com/hub/How-to-repair-SQL-database-when-Error-8903-occurs-in-MS-SQL-Server-2000-database
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

3 comments on "How to repair SQL database when Error 8903 occurs in MS SQL Server 2000 database"
Posted by msentourage on Monday, October 18, 2010 at 4:46 AM
Image Of Author
Another Great one
stellar's data recovery software always attracted me. Specially their Entourage recovery and SharePoint Recovery software. I have used them many times and every time they gave best results.
Posted by Robinson on Saturday, January 01, 2011 at 12:31 PM
Image Of Author
The best of all
During my research of SQL repair products, I found this repair utility to be the best
Posted by NinoMannone on Friday, January 20, 2012 at 1:33 PM
Image Of Author
Decision SQL db trouble
For repairing sql databases try how to recover sql database. The tool launches with low system requirements, it's able to show the results of restoring databases.

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 '938' 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.