Lune

ICDE2026顶会

Sorting Compressed Time Series

Zhiheng Liu, Xingyu Liu, Shaoxu Song, Jianmin Wang

2026年份

摘要

Compression is commonly used to reduce storage costs in large-scale time series databases. While time series data should be ordered by timestamps, they often arrive out of order due to network delay and thus need to be sorted. However, most existing compression schemes do not support direct swap operations on compressed data, and thus need to decompress for sorting. The challenges of sorting directly the compressed data are the potential space amplification and high time costs when performing swap operations. In this paper, (1) we design the Order-Sensitive Encoding (OSE) method, which not only reduces space usage as the orderliness of the time series improves, but also delivers high encoding and decoding speeds. Based on the space-bound of OSE, (2) we propose the Compressed Bubble Sort (CBS) algorithm, which enables sorting compressed data without space amplification. Notably, it achieves a time complexity of O(n)O(n), since the delay of time series data typically follows an exponential distribution. Furthermore, (3) we propose the Compressed Merge Sort (CMS) algorithm for merging two compressed and ordered time series in database compaction. It needs only O(1)O(1) time cost by leveraging the ordered nature of data segments, given the exponential delay distribution. The proposed OSE has been implemented as encoding method in Apache TsFile, while CBS and CMS as compressed sorting operators in Apache IoTDB. The experimental results demonstrate that our approach significantly improves both space and time efficiency.

问问这篇 Paper

问问你的智能体。

Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。

可以从这些问题问起

智能体调用

Lunesearch_papers

在 Lune 里问

免费开始,无需绑卡

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖