[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL 2008 R2 Database going to recovery mode

Posted on 2014-03-14
5
Medium Priority
?
562 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
4 Comments
 
LVL 12

Accepted Solution

by:
Tony303 earned 900 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

834 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