I have SQL Express SP1 installed on serveral machines, each has one instance and each instance has more than one database.
Recently, I found out some dbs are marked Suspect. MOM tool reported something like:
The database "your-DB" in the instance "Your-Instance" is in a critical state. The state is: Suspect.
I tried to run "DBCC CHECKDB", but it failed.
Can someone tell me what could cause the problem, and how to fix it?
Thanks,
Peter
This generally occurs when there is a bad restore from a backup. If this is your situation then first attempt to do the restore again. It's telling that the databases MDF file has been corrupted.
If redoing the restore does not work then run this:
DBCC CHECKDB with REPAIR_REBUILD
if that fails then this
DBCC CHECKDB with REPAIR_ALLOW_DATA_LOSS|||
Thanks for the reply.
In my case, after a few tries, I found out that simply restarting the service of the instance would fix the problem. I did not really had time to debug the problem because customer was waiting. Next time if the problem appears again. I will look into it a little bit deepper.
It seems that the problem occurred after the additional databases were created for the same instance. BTW, we have SQL2005 running on the same machine too, and the SQL browser service running under different user than the user for SQL Express instance.
No comments:
Post a Comment