Solved

SQL 2008 R2 Database going to recovery mode

Posted on 2014-03-14
5
395 Views
Last Modified: 2014-05-26
Dear All,

  I have database which is 1 TB in size running under SQL 2008 R2 enterprise and configured for DB mirroring, each time I restart my server or service the Database is going for recovery for 45 minutes  or more, can someone advise me what is the reason and how to troubleshoot it


Thanks
0
Comment
Question by:ITMaster1979
5 Comments
 
LVL 12

Accepted Solution

by:
Tony303 earned 300 total points
ID: 39930982
Hey,

Have a look see here...

http://social.msdn.microsoft.com/Forums/sqlserver/en-US/d08a0035-db93-4ef3-b357-d7825040107a/database-in-recovery-every-time-i-restart-sql-server-service?forum=sqldatabaseengine

Are your transaction log backups being done regularly? So you need to decrease the log backups interval? so there is less to recover at SQL Server Service startup?

T
0
 
LVL 35

Expert Comment

by:David Todd
ID: 39933555
Hi,

Have you looked at the article Tony suggested?

Or considered his advice to reduce the time between log backups? I've seen Brent Ozar blog about taking a transaction log backup every minute.

Regards
  David
0
 
LVL 14

Expert Comment

by:BlueCompute
ID: 39942113
This is standard behaviour.  At startup the server will check all the transaction logs to ensure that the DB is in a consistent state.  As the other posters have said, back up the logs more frequently to reduce the amount that have to be processed at startup.
0
 
LVL 1

Author Comment

by:ITMaster1979
ID: 40092292
Thanks
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question