The Design of an Efficient Lossy Compressor for Time Series Databases
Time-series databases (denoted as TSDB), which are designed for handling rapidly growing time-series data, usually apply compression techniques to reduce storage overhead. However, existing compressors are limited in key metrics for TSDB compression, such as compression ratio or decompression speed, primarily due to a mismatch between their design and the features specific to TSDB. To this end, we propose a lossy compressor Machete. It achieves a much higher compression ratio and fast decompression speed, while promising a user-specific and point-wise error bound to preserve the analytical value of the data. First, Machete proposes a pattern-based predictor and an efficient hybrid encoder to monitor data trends, which successfully achieve higher compression rates through better understanding of the data. Second, Machete proposes a SIMD-based decompression acceleration technique, which exploits the repeatedly intermediate calculations in decompression and shares them in decompression iterations through parallelism. Our evaluation on four real-world datasets shows that Machete outperforms state-of-the-art compressors by 69%–114% on compression ratio and achieves the fastest decompression speed on two datasets. When applied to a well-known time series database InfluxDB, Machete saves disk usage 40%–72% and improves the query performance of the InfluxDB database by saving I/O.
Authors
- Xiangyu Zou (ORCID: https://orcid.org/0000-0001-5104-8301)
- Wen Xia (ORCID: https://orcid.org/0000-0003-4093-6391)
- X Chen
- Dingwen Tao (ORCID: https://orcid.org/0000-0001-5422-4497)
- Shihao Wang (ORCID: https://orcid.org/0009-0001-9960-6998)
- Shi Yang (ORCID: https://orcid.org/0009-0000-9087-4948)
- Sian Jin (ORCID: https://orcid.org/0009-0009-9250-0611)
Institutions
- Shenzhen Institute of Information Technology (CN)
- Harbin Institute of Technology (CN)
- Temple College (US)
- Institute of Computing Technology (CN)
- Peng Cheng Laboratory (CN)
- Washington State University (US)
- Temple University (US)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2025-09-16
- DOI
- https://doi.org/10.1145/3767158
- Primary Topic
- Time Series Analysis and Forecasting
- Type
- article
- Field-Weighted Citation Impact
- 0.00