Showing posts with label Database in recovery. Show all posts
Showing posts with label Database in recovery. Show all posts

Tuesday, 10 July 2012

Database in recovery



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 der


It 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...