Welcome to YLOAN.COM
yloan.com » Windows » Rectifying Error 8906 and repairing corrupt database in SQL Server 2000
Games Personal-Tech Data Entry registry cruise torrent mac code virus storage uninstaller systems cisco bugs wireless codes maintenance dell update communication trojan atlanta Data Backup Data Storage Data Protection Data Recovery Anti-Virus Windows Linux Software Hardware Mobil-Computing Certification-Tests Computers & Internet Internet

Rectifying Error 8906 and repairing corrupt database in SQL Server 2000

Rectifying Error 8906 and repairing corrupt database in SQL Server 2000


An IAM (Index Allocation Map) page consists of eight page Ids, collectively called mixed page array, and holds the pages that are allocated to the index. The IAM pages are used to optimize the tables by allocating and deallocating storage space. Sometimes the IAM page is not able to perform as expected. Such corruption instances can occur because of various reasons such as hardware malfunctions, virus infections, power outages, abruptly exiting SQL Server, etc. To resolve such situations, you should use appropriate corrective measures. In case, you are not able to recover SQL database then you should use a third-party SQL database repair software to do so.

Consider a scenario wherein you encounter the following error message while working on an SQL Server 2000 database:

"Page P_ID in database ID DB_ID is allocated in the SGAM SGAM_P_ID and PFS PFS_P_ID, but was not allocated in any IAM. PFS flags 'PFS_FLAGS'."


Cause:

The root cause of this error is that a page that is not reflecting as an IAM page and also not seen in the mixed page array of IAM page. This is quite contradictory as this page has mixed page bit set in its PFS byte.

Resolution:

There could be the following resolutions that you can perform to resolve this error:

Look for hardware problems: You should run hardware diagnostics and check for problems, if any. You can also check the error log report to ascertain whether this error has occurred because of any hardware malfunctions. In addition, you should swap the hardware components to zero down on the cause of error. In the end, you can also consider reformatting the hard disks and reinstalling the operating system to get a fresh operating system.


Restore from backup: After confirming that this is not a hardware related error, you should check the backup of the database. If it is updated and clean, then you should restore the database from the backup.

Run DBCC CHECKDB: If none of the previous methods work, then you should run the DBCC CHECKDB command without any repair clause to know the level of corruption. Then, you should run it again with the recommended repair clause.

The aforementioned methods should repair the corrupted database. However, if you still encounter the same error again then you should use a third-party SQL database recovery software to do the needful. Such read-only tools perform SQL recovery without overwriting the existing database.

Stellar Phoenix SQL Data Recovery is an MS SQL repair software that is able to repair logically corrupted SQL databases. It is able to recover SQL databases created in SQL Server 2000, 2005, and 2008. This SQL Server recovery utility is capable of restoring various SQL database components such tables, queries, stored procedures, triggers, defaults, etc. In addition, this SQL database recovery tool recovers database constraints, relationships between tables, etc. It is compatible with Windows 7, Vista, Server 2003, XP, and 2000.
Repair your credit score before applying for a car loan Windows : Bring out the Real Persona of your Home Useful Information for All Those Thinking - How Can I Repair My Backup Files? How to Repair kernel32.dll errors Safely and Easily Faulting Application Wlcomm Error - Repair it Now ! Dynamic Link Library Initialization Routine Failed ? - Repair it! Trojan Multidrop Removal - Repair Tip! Rotator Cuff Repair - Physical Therapy Program To Recover From Tears, Dislocations Or Surgery How to Fix IE 8 Problems in Windows 7? Solution to Windows System32 config System is Missing or Corrupt Message Windows XP Computers and Laptops Double Glazing - The Best Kind of Windows For Cold Regions Tips on Choosing a Car Dent Repair Professional
print
www.yloan.com guest:  register | login | search IP(18.221.83.23) Stockholms Lan / Kista Processed in 0.008558 second(s), 7 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 24 , 3138, 13,
Rectifying Error 8906 and repairing corrupt database in SQL Server 2000 Kista