Technical Article

Database maintenance progress

,

Execute the provided script on an MS SQL Server instance where you want to know the progress of a maintenance operation. The script will return all the maintenance commands, progress in % for each operation, and thier start time.

The script has been tested on MS SQL Server versions: 2005, 2008, 2008R2, 2012, 2014, 2016.

SELECT command, percent_complete, start_time 
FROM sys.dm_exec_requests
where percent_complete <> 0;

Rate

2.57 (7)

You rated this post out of 5. Change rating

Share

Share

Rate

2.57 (7)

You rated this post out of 5. Change rating