METHOD AND APPARATUS FOR STORING TIME SERIES DATA

    公开(公告)号:US20180329921A1

    公开(公告)日:2018-11-15

    申请号:US15533966

    申请日:2015-11-26

    Abstract: The present application discloses a method and apparatus for storing time series data. A specific implementation of the method for storing time series data comprising: saving an index value of time series data to a time interval data table according to a time point of the time series data, wherein the time series data includes the following information: a time point and an index value associated with the time point, each data row in the time interval data table records index values associated with at least one time point within a time interval of a predetermined length, the time points are spaced by a predetermined time length, each time point occupies one storage area of a memory, each storage area includes a predetermined quantity of bytes, and the index value associated with each time point is filled in the storage area occupied by the time point; performing data compression processing on a storage area having no written data, to obtain compressed time interval data; and writing the compressed time interval data to a magnetic disk. This implementation reduces the occupation of the storage space of the magnetic disk.

Patent Agency Ranking