subject: Recovering Ms Sql Server 2000 Database In Case Of Error 8645 [print this page] Lot many times, when you work on an MS SQL Server database you would have seen some queries unable to execute even if they are correctly constructed. Most of the times, these problems arise when there are not enough memory resources for the query to be executed. You should try to reduce the workload and run that query again. If the issue persists, then it may be possible that the database is corrupt, which can be recovered using a third-party MDF file recovery software.
Let us consider a practical situation in which you are running a query to retrieve some records in an MS SQL Server 2000 database. However, the query is failing and the following error message is getting displayed:
A time out occurred while waiting for memory resources to execute the query. Re-run the query.
Cause:
The most possible cause of this problem seems to be memory allocation issues due to which the query does not execute.
There is the 'query wait' option in MS SQL Server. If its value is -1, then the query is tried 25 times to be executed. However, if the returned value is a nonnegative value then it means that despite having the memory to execute the query, it does not execute because of corruption.
Resolution:
To resolve this problem, you can perform the following measures:
Free the memory on the server by using following methods:
Check the size of the virtual memory paging file.
Try to increase the size of the file, if possible.
Try to close any applications that are running on the server.
Provide additional memory on the server.
You should try to reduce the server load.
You should create one or more indexes in the database.
You should increase the value of the 'query wait' configuration.
If you are still unable to recover the database, then it means that the database is corrupt and you would need to recover it. In such cases, a third-party master database file recovery software should be able to resolve all such corruption issues. The reason behind this is that these SQL recovery tools are read-only in nature that do not modify the existing database while recovery.
The most remarkable MS SQL Server recovery tool is Stellar Phoenix SQL Data Recovery, which is able to recover SQL databases from all instances of corruption. Supporting MS SQL Server 2008, 2005, 2000, and 7.0, this software recovers various database components including triggers, tables, defaults, NDF files, stored procedures, collations, etc. With the ability to update its version over the Internet, this SQL database recovery tool is compatible with Windows 7, Server 2008, Vista, Server 2003, XP, and 2000.