Technical FAQs

Ask a Question

What Years Contain the Most Data in the Power Monitoring Expert Database?

Issue:
Often times it is necessary to remove older data from the Power Monitoring Expert database in order to reduce the database size, free up hard drive space, etc. Knowing how much data resides in the database, and how far back the data goes can be useful in determining how much trimming needs to be done. 

Product Line:
StruxureWare Power Monitoring 7.0.x
Power Monitoring Expert 7.2.x, 8.x

Environment:
SQL Server Management Studio
ION_Data Database

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

There are two queries attached. The DataRowsbyYear.sql will return the amount of rows in the DataLog2, EventLog2 and WaveformLog2 tables, grouped by calendar year.



The DataRowsbyMonthYear.sql will return the same data, however it is broken out by Month and then Year to give better granularity. 


 
Was this helpful?
What can we do to improve the information ?