Can I determine how much of a restore is complete and how long it will take to finish while it's running?
asked Nov 25, 2009 at 05:22 PM in Default
Steve Jones - Editor ♦♦
Yes, you actually can. If you query the sys.dm_exec_requests dynamic management object you will see a percent_complete column. It will show you approximately (it's not perfect) how much the restore is completed. You also get estimated_completion_time, but I wouldn't count on that (as a matter of fact, it's considered an internal marker and isn't documented within Books Online). Instead, use the total_elapsed_time, start_time and percent_complete to arrive at a finish time.
answered Nov 25, 2009 at 05:42 PM
Grant Fritchey ♦♦