{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.

Search FAQs

Database Maintenance Progress

Issue
How to determine the progress of a database maintenance operation.

Product Line
Struxureware Power Monitoring 7.0.x
Power Monitoring Expert 7.2.x, 8.x, 9.x, 2020
ION Enterprise 6.0. x
ION EEM

Environment
SQL Server 2005, SQL Server 2008 R 2, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017

Cause
Maintenance operations on larger database make take some time to complete and can also become 'stuck'.  Monitoring
the progress of these operations can be useful when troubleshooting and/or estimating the time to completion for what may be system
impacting maintenance procedures.

Resolution
*Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*

To retrieve the database maintenance progress information from the current SQL Server installation, log into SQL Server Management Studio
and run the attached SQL script (Mnt_Progress.sql).
Alternatively, execute the query(s) below :
SELECT command, percent_complete, start_time 
FROM sys.dm_exec_requests
where percent_complete <> 0;

Schneider Electric Ireland

Attachment(s)

Mnt_Progress.sqlMnt_Progress.sql [102 Bytes]
Explore more
Range:
EcoStruxureâ„¢ Power Monitoring Expert 8.2EcoStruxure Power Monitoring Expert
Explore more
Range:
EcoStruxureâ„¢ Power Monitoring Expert 8.2EcoStruxure Power Monitoring Expert
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.