Lune

ICDE2026顶会

Deferred Flushing for Out-of-Order Arrivals in Apache IoTDB

Xiaojian Zhang, Zhiheng Liu, Shaoxu Song, Xiangdong Huang, Chen Wang, Jianmin Wang

摘要

Delays are inevitably associated with network transmission, leading to out-of-order time series arrivals. To store the data in time order, time series databases (TSDBs) choose to merge them via compaction in an LSM-tree. It incurs huge write amplification cost. We notice that the out-of-order arrivals are often delayed further for only a short while. By deferring a bit the flush of the latest data to disk, most out-of-order data arrivals can be sorted in memory. The problem is thus how to determine the size of data in memory deferred flushing, in order to reduce the disordered data for compaction. In this paper, we analyze the properties of delay distributions and determine a proper number κ\kappa of the latest data that will be deferred in flushing for lower write amplification. The proposal has been deployed in time series database Apache IoTDB. Extensive experiments on real and synthetic workloads demonstrate that the proposed method can reduce write amplification from 2.0 to almost 1.0, i.e., eliminating most disordered data. While it may slightly incur some cost of maintaining the deferred κ\kappa data points in writing, the compaction as well as query time costs are significantly reduced.

问 Lune

几分钟看清这篇 Paper 的位置,不用再花一下午。

Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

摘要 · 相关的 Paper

获取答案

免费开始,无需绑卡

相关 Paper

  1. On Reducing Space Amplification with Multi-Column Compaction in Apache IoTDBChenguang Fang, Zijie Chen, Shaoxu Song, Xiangdong Huang 等VLDB 2024 · 1 次引用
  2. Sorting Compressed Time SeriesZhiheng Liu, Xingyu Liu, Shaoxu Song, Jianmin WangICDE 2026
  3. Distance-based Outlier Query Optimization in Apache IoTDBYunxiang Su, Shaoxu Song, Xiangdong Huang, Chen Wang 等VLDB 2024 · 2 次引用
  4. Time Series Representation for Visualization in Apache IoTDBLei Rui, Xiangdong Huang, Shaoxu Song, Yuyuan Kang 等SIGMOD 2024 · 7 次引用
  5. Reducing Write Amplification of LSM-Tree with Block-Grained CompactionXiaoliang Wang, Peiquan Jin, Bei Hua, Hai Long 等ICDE 2022 · 26 次引用
黄昏的海面,两侧是细线勾勒的悬崖