Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 Administration
»
Database getting into recovery mode
Database getting into recovery mode
Rate Topic
Display Mode
Topic Options
Author
Message
kapfundestanley
kapfundestanley
Posted Wednesday, March 06, 2013 11:43 AM
Right there with Babe
Group: General Forum Members
Last Login: Yesterday @ 1:47 AM
Points: 774,
Visits: 1,047
Database getting into recovery mode is every morning.
“When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris
Post #1427560
Lynn Pettis
Lynn Pettis
Posted Wednesday, March 06, 2013 11:53 AM
SSC-Insane
Group: General Forum Members
Last Login: Today @ 5:20 PM
Points: 21,602,
Visits: 27,428
So what is happening on the server? have you checked the SQL Server and Windows log files?
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #1427567
GilaMonster
GilaMonster
Posted Wednesday, March 06, 2013 12:01 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 3:07 PM
Points: 37,687,
Visits: 29,946
Why is SQL being restarted every morning?
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1427570
kapfundestanley
kapfundestanley
Posted Thursday, March 07, 2013 12:39 AM
Right there with Babe
Group: General Forum Members
Last Login: Yesterday @ 1:47 AM
Points: 774,
Visits: 1,047
SQL server only getting back online from recovery after restart(to correct issue)...it's not being restarted.
“When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris
Post #1427811
GilaMonster
GilaMonster
Posted Thursday, March 07, 2013 2:01 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 3:07 PM
Points: 37,687,
Visits: 29,946
There are two reasons why a database goes into the recovering state. SQL is restarted or the database is being closed and reopened (offline, autoclose, etc).
Check the logs, ensure that SQL is not being restarted, that the DBs don't have autoclose on, that there's nothing taking them offline.
btw, restarting SQL is not a fix for a DB in the recovering state, it's a cause. Restarting SQL when you have a database in the recovering state means it'll take longer to come online, not less time.
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1427834
kapfundestanley
kapfundestanley
Posted Thursday, March 07, 2013 4:00 AM
Right there with Babe
Group: General Forum Members
Last Login: Yesterday @ 1:47 AM
Points: 774,
Visits: 1,047
I need to be corrected here,I have databases that will be recovering but as soon as I restart they regain online state after spending after hours in recovering.I have been using restarting sql server as the solution.
“When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris
Post #1427885
Lynn Pettis
Lynn Pettis
Posted Thursday, March 07, 2013 5:41 AM
SSC-Insane
Group: General Forum Members
Last Login: Today @ 5:20 PM
Points: 21,602,
Visits: 27,428
kapfundestanley (3/7/2013)
I need to be corrected here,I have databases that will be recovering but as soon as I restart they regain online state after spending after hours in recovering.I have been using restarting sql server as the solution.
Solution to what, you haven't told us what the problem is.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #1427914
kapfundestanley
kapfundestanley
Posted Thursday, March 07, 2013 8:32 AM
Right there with Babe
Group: General Forum Members
Last Login: Yesterday @ 1:47 AM
Points: 774,
Visits: 1,047
The problem is the database is an recovery state(and it is inaccessible).
“When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris
Post #1428025
Lynn Pettis
Lynn Pettis
Posted Thursday, March 07, 2013 8:36 AM
SSC-Insane
Group: General Forum Members
Last Login: Today @ 5:20 PM
Points: 21,602,
Visits: 27,428
kapfundestanley (3/7/2013)
The problem is the database is an recovery state(and it is inaccessible).
That means something happened on the server resulting in SQL Server restarting. You need to find out what caused SQL Server to restart. Start looking through the SQL Server and Windows log files.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #1428031
Jay Beta
Jay Beta
Posted Thursday, March 07, 2013 10:02 AM
Grasshopper
Group: General Forum Members
Last Login: Yesterday @ 12:06 PM
Points: 12,
Visits: 59
Look at the SQL Server Logs from within SQl Server Agent's Error Logs. Also review the system and application logs within event viewer. Something is causing SQL Server to restart. You should be able to discover a reason behind it in these logs.
If this is happening at the same time every day, that should point to a pattern which generally are much easier to troubleshoot. Let us know what you find...
Post #1428095
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.