Virtual Global Trading AG leverages QuestDB for efficient energy data management
Virtual Global Trading uses QuestDB to manage time-series data for energy production and consumption, enabling dynamic pricing and efficient energy distribution.
Time-series data, handled with precision
Virtual Global Trading leverages QuestDB to receive data from a broad array of smart meters, power plants, sensors, and other devices which monitor energy grid usage. Data is time-bound for billing and tracking purposes. A specialized time-series database ensures clean, timely arrival of key data.
SELECTdatapointName,meteringPointID,source,sourceID,interval,status,MIN(measuredUTC) AS measuredUTC,MIN(importedUTC) AS importedUTC,SUM(value) AS valueFROM(SELECTdatapointName,meteringPointID,value,source,sourceID,interval,status,measuredUTC,importedUTCFROM<DataTable>WHEREmeasuredUTC >= '2015-10-31T00:00:00.000000Z'AND measuredUTC < '2025-11-01T02:00:00.000000Z'AND meteringPointID = <SomeID>LATEST ON importedUTC PARTITION BY measuredUTC)SAMPLE BY 1yALIGN TO CALENDAR TIME ZONE 'Europe/Zurich';
Time-series extensions for precise queries
Virtual Global Trading uses powerful SQL queries to
manage and aggregate time-series data efficiently.
Time-series extensions like SAMPLE BY enhance the
precision of these queries, enabling better data
handling and visualization.
Data for various sensors arrive, then are processed and aggregated by time.
This leads to dynamic pricing calculations and real-time information for both
customers and internal applications.
This powerful query is broken down as such:
measuredUTC
and importedUTC
value
and takes
the minimum of measuredUTC
and importedUTC
SAMPLE BY
then groups the data by yearly intervals,
then aligns to the calendar in the Europe/Zurich time zonePredictive Analytics for Energy
Virtual Global Trading previously utilized MongoDB for time-series data. However, MongoDB's limitations for time-based aggregations and data updates prompted the transition to QuestDB. With QuestDB, Virtual Global Trading has overcome their ingestion and analytics bottlenecks.