• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 636
  • Last Modified:

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
0
James Murrell
Asked:
James Murrell
  • 4
  • 4
1 Solution
 
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
 
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
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
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
 
AustinSevenCommented:
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now