Technical FAQs

Ask a Question

How Much Data is in the Power Monitoring Expert Database for a Particular Meter?

Issue:
Database growth can become problematic when gone unchecked. Knowing how much data a meter has in the Power Monitoring Expert database can be useful in determining which sources need to have their logging parameters examined and possibly adjusted. 

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

The attached MeterRowDataCount.sql will return a list of all sources in the ION_Data database, as well as the rowcount and data size information for that meter in the DataLog2, EventLog2 and WaveformLog2 tables. 



Note: This query may take several minutes to run. Database size and server hardware specs will cause the run times to vary. A 400GB database containing over 5.3 billion rows of information in the DataLog2 table was used for testing, and the run time was approx. 12 minutes. 
Was this helpful?
What can we do to improve the information ?