I have a PC which acts as a basic server runing sql server 2005. I recently noticed that some databases are in recovery for a while after I restart the PC. I suppose there may be some issues with my hard drive so I run chkdsk:
chkdsk d: \F
I still have the same problem. Is there anything else I can do? Thanks in advance!
Christian
Let it finish recovering if you want the database to be usable and in a consistent state.
It will always do this on start up if it is interrupted. Note: the cause is usually when SQL Server shuts down during a rollback operation.
So, let it finish and it shouldn’t happen again.
If you are too impatient, delete the MDF/LDF when SQL Server is stopped. On restart the DB will be “suspect” and restore from backup.
Also see https://stackoverflow.com/q/4471830/27535