-
公开(公告)号:US20180329921A1
公开(公告)日:2018-11-15
申请号:US15533966
申请日:2015-11-26
Inventor: Yingfei Xue , Chunbo Lai , Pu Wang , Bo Zhao , Feng Zheng
CPC classification number: G06F17/30153 , G06F3/0608 , G06F3/064 , G06F3/0673 , G06F17/30 , G06F17/30321 , G06F17/30551
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.
-
公开(公告)号:US10606806B2
公开(公告)日:2020-03-31
申请号:US15533966
申请日:2015-11-26
Inventor: Yingfei Xue , Chunbo Lai , Pu Wang , Bo Zhao , Feng Zheng
IPC: G06F16/00 , G06F16/174 , G06F16/22 , G06F16/2458 , G06F3/06
Abstract: A method and apparatus for storing time series data are disclosed. A method may include: 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: a time point and an index value associated with the time point, and 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; 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.
-