Database in recovery
-
Friday, March 30, 2007 8:01 PM
I have a database currently showing to be in recovery. I have not been able to find a GUI method to monitor the progress (to determine when it might complete) so is there a command line T-SQL method to monitor the recovery process?
All Replies
-
Saturday, March 31, 2007 3:42 AMModerator
If this is 2005, this might be what you need:
select der.session_id, der.command, der.status, der.percent_complete, *
from sys.dm_exec_requests as derIt works for other types of commands that have known progress indicators. If not, then I really don't think it tells you. You might also check the error log to see how long it took the previous time... -
Monday, April 02, 2007 1:50 PM
Thanks Louis! It worked fine and the database eventually did recover.
-
Friday, April 13, 2007 5:48 PMThanks Louis, it works for me too..

-
Wednesday, May 27, 2009 1:34 PM
I have a database currently showing to be in recovery. I have not been able to find a GUI method to monitor the progress (to determine when it might complete) so is there a command line T-SQL method to monitor the recovery process?
Try MS SQL Database Recovery to recover & restore corrupted SQL Database. -
Wednesday, May 27, 2009 2:39 PMModerator
I have a database currently showing to be in recovery. I have not been able to find a GUI method to monitor the progress (to determine when it might complete) so is there a command line T-SQL method to monitor the recovery process?
Try MS SQL Database Recovery to recover & restore corrupted SQL Database.
That is not what the OP asked for... The OP didn't have a corrrupt database.
Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://sqlblog.com/blogs/tibor_karaszi -
Wednesday, May 27, 2009 2:50 PMI think he knew that, but wanted an opportunity to post a stealth sales ad. Why else resurrect a 2 year old thread with irrelevant info?
Michael Asher -
Wednesday, May 27, 2009 2:53 PMModerator<<I think he knew that, but wanted an opportunity to post a stealth sales ad. >>
I figured that, I just wanted to be a bit more... subtle... about it. ;-)
Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://sqlblog.com/blogs/tibor_karaszi -
Tuesday, February 09, 2010 9:11 PM
I hate to bump an old thread, but this thread is at the top of Google search results for database in recovery.To check the recovery status, look in the server's application event log. There will be MSSQLSERVER entries with the progress and ETA listed.- Proposed As Answer by Olivier Pirlet 85 Monday, November 29, 2010 11:28 AM
-
Thursday, September 30, 2010 2:29 PMHey don't apologize AFraley that helped me today and this is 7 months after your post.
-
Thursday, October 06, 2011 1:43 PM
This was helpful to me. I found a lot of articles describing what Recovery was, how it worked, etc., but this was the first article I found describing how to check it's progress.
The system logs actually said that the database had finished recovering 7 minutes earlier, but the status still said (In Recovery). I right clicked on the database node in Management Studio and did a refresh and the status displayed correctly.
-Charlie
- Edited by Charles Foxtrot Thursday, October 06, 2011 1:44 PM
-
Thursday, October 06, 2011 1:47 PMModerator
Louis answered it, as I see, but I knew of another recent blog post on this same topic, so I post it here
How much longer will the SQL Server database restore take
For every expert, there is an equal and opposite expert. - Becker's Law
My blog- Marked As Answer by Kalman TothMicrosoft Community Contributor, Moderator Friday, April 13, 2012 4:41 AM
-
Friday, April 13, 2012 12:39 AM
Thanks!! This work great!!! :) I just need to refresh the database.
-
Sunday, December 16, 2012 1:05 AM
Hi Guys,
I had less Space in Drive where Log (.ldf) File Exists. To release the Space I tried to Srink the Log File & release few space but Still I need more Free space so thought to Re-start the Server. When Re-started Server My one of the DB is in Recovery State. It is showing infront of DB Tartget (In Recovery).
What caused this? Even I noticed SQL Server Agent is Showing Error (Agent XPs disabled)
I followed below link but still same message it is displaying:
Thanks Shiven:) If Answer is Helpful, Please Vote

