Showing posts with label Server. Show all posts
Showing posts with label Server. Show all posts

2011/03/15

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 Database Recovery to extract inaccessible data, if an updated backup is not in place.

Canon PowerShot SD780IS

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:

Damaged Page Header Causes Database Corruption in SQL Server

"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 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.

Damaged Page Header Causes Database Corruption in SQL Server

Friends Link : Canon Rebel XSi Kit Camera Us Shop

2011/03/04

Storing SQL Server Database on Network Server May Cause Corruption

Microsoft usually urges that you should use a SAN (Storage Area Network) or locally attached hard drive to store MS SQL Server database (MDF) files as this configuration improves SQL Server reliability and performance. Use of network database (stored on network server or NAS [Network Attached Server]) is disabled by default in Microsoft SQL Server. In order to ensure complete data safety and to prevent need of SQL Database Recovery, you should not use SQL database on networked server.

Though, it is not recommended, but it is possible to configure MS SQL Server for storing the database on a NAS storage server or networked server. Data storage servers, that are employed to store MDF database, must meet the SQL needs for 'write-through guarantees' and 'data write ordering'.

Canon PowerShot SD780IS

If you try to create SQL database file on UNC or mapped network location results into any of the below error message:

Storing SQL Server Database on Network Server May Cause Corruption

5105 "Device Activation Error"

Or

5110 "File 'file_name' is on a network device not supported for database files."

The above behavior is quite expected. The trace flag 1807 let you to bypass the check process and enables you to configure MS SQL Server with the networked database files. Microsoft SQL Server and various other relational database management systems use the transaction log and associated recovery logic, that ensure database integrity and consistency in case of system failure or improper system shutdown.

These SQL Server Recovery protocols bank on the capability to write instantly on the hard drive media so that if any operating system I/O (Input/Output) write call returns to database manage, recovery system is assured that write operation is really complete or the completion of write process can be ensured. Any type of failure by any hardware or software components of this protocol may result in complete or partial data loss due to corruption of MDF file.

In such critical circumstances, you need to restore the damaged database from the most recent backup. However, if the backup is either not available or not updated, third-party MS SQL Recovery software is the only way to go.

The MS SQL Recovery applications are powerful enough to carry out in-depth scan of entire SQL Server database and extract all inaccessible database objects. With the read-only and simple graphical user interface, they are completely safe and easy to use.

SQL Recovery is the most prominent tool that enables absolute recovery in all cases of MDF corruption. It restores all database objects such as tables, reports, forms, modules, queries, constraints, stored procedures, and triggers. The software is compatible with MS SQL Server 2008, 2005, and 2000.

Storing SQL Server Database on Network Server May Cause Corruption

Thanks To : Canon Rebel XSi Kit