DATABASE Recovering

I have several ms sql2000 servers with 20 db on each every now and then one will say Recovering. sometimes for a long time any ideas?

btw the servers have not be restarted and it is only the odd one
LVL 31
James MurrellProduct SpecialistAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AustinSevenConnect With a Mentor Commented:
I've also noticed a few times that auto close seems to have been mysteriously enabled.   Just turn it off and you will probably see that your issue with 'recovering status' goes away.   Forget about restores now.

AustinSeven
0
 
Spot_The_CatCommented:
Are you sure that SQLServer service has not been restarted for some reason? Check the eventlogs.
0
 
James MurrellProduct SpecialistAuthor Commented:
yes 100% that they have not been restarted...

nothing strange in event log
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
AustinSevenCommented:
You didn't say what the role of these databases were but if they are no production servers/databases, maybe there is something setup like jobs that restore databases?   We have DR and Dev/test servers that automatically restore databases from production backups for example.    When the restore is being done, the databases will be in recovering status after loading status.   Also, check the databases in question and see if 'auto close' is enabled as a database option (database properties).   If they are set to 'auto close', turn this option off.

austinseven
0
 
AustinSevenCommented:
Also ensure that you refresh Enterprise Manager (2000) or Managment Studio (2005) as the database status might not be current but still being displayed.

austinseven
0
 
James MurrellProduct SpecialistAuthor Commented:
thanks..... no jobs that restore are on any of them.


auto close - will check - any advice on this ie: explanation
0
 
James MurrellProduct SpecialistAuthor Commented:
auto close  is enabled strange ..........al db are created on same script on servers, apart from one or two which are created with same scripts but on a machine with Personal edition > do you think that is what is causing this..... can a restore from PE turn this option off?
0
 
James MurrellProduct SpecialistAuthor Commented:
Thanks that seems to do the trick Something i will double check over the next couple of week...... FMP
0
 
AustinSevenCommented:
Also, if you have a look in the SQL Server error log, if Auto Close is enabled, a load of entries indicating that the offending databases are being brought online, repeatedly.   The database is 'opened' any time it is accessed.    disabling Auto Close will see the end of all those error log entries.

AustinSeven
0
All Courses

From novice to tech pro — start learning today.