Method for aggregation optimization of time series data
AssigneeTaos Data
InventorsHaojun LIAO, Shengliang GUAN, Hongze CHENG, Jianhui TAO
Life of this patent
Estimating the term…
Loading patent…
AssigneeTaos Data
InventorsHaojun LIAO, Shengliang GUAN, Hongze CHENG, Jianhui TAO
Estimating the term…
The invention discloses an aggregation optimized processing method for time-series data, characterized by comprising the following steps: writing a time-series data record into a database, forming a time-series database file, wherein the time-series database file comprises a data file and an index file, the data file comprises multiple data blocks, the index file comprises index blocks, and each index block correspond to one data block; by scanning an index file according to a start time period and a stop time period, extracting all index blocks of the time series that need to be aggregated that meet the time period conditions, and then sorting the index blocks according to the data block offset recorded in the index block; and by scanning the data file according to a data block offset order recorded in sorted index blocks, performing specified reading and calculating on each data block, and aggregating calculation results. According to the method, the reading of a single time series data or the aggregation operation of multiple time-series data can be completed by only opening a data file once for scanning such that the overall performance is greatly improved.
A method for aggregation and optimization of time-series data, comprising the following steps:
Dependencies are inferred from the claim text.