Wednesday, May 19, 2010

Troubleshooting Error 8999 in SQL Server

All the users connected to the SQL Server instance have access to a global resource called tempdb system database. This database holds temporary user objects, internal database objects, and row versions that result from data modification. At times, when some allocation checks are performed on this TEMPDB database, they may result in allocation errors and unexpected results. Since TEMPDB cannot be put in offline mode, no fixes are possible for allocation errors in this database. However, for rest of the SQL databases, you can perform MS SQL Repair using suitable tools and utilities.

For exemplifying the given problem, consider, you might start receiving unexpected database access problems in MS SQL Server database. To determine the exact cause of the problem, you run CHECKDB command and the below error message pops up:

“Database tempdb allocation errors prevent further CHECKNAME processing.”

This error message is recorded with error number 8999 and severity level 10.


The above error results specifically when the entire check operation terminates because of allocation error in TEMPDB.

If database is still corrupt, the root cause of corruption is hardware problems.


To resolve the issue, you should:

Diagnose the SQL Server™ error and Microsoft® Windows NT® system log for determining if the problem has actually resulted due to hardware problems. You can also run hardware diagnostics and fix related concerns by, swapping the hardware components or installing a new hardware system etc.

restore the database from the last available backup, if hardware issues have not been the problem.

Run DBCC CHECKDB and determine the extent of database damage, in case no suitable backup is present. Later, you can run the same command but with a suitable SQL Repair clause to fix database corruption. However, you should backup the database before executing database repair as data loss is likely.

Run MS SQL Repair software for repairing corrupted SQL database. These utilities generally repair the database after any type and extent of damage.

Resource Link:

No comments:

Post a Comment