Lune

SIGMOD2020Top-tier venue

Order-Preserving Key Compression for In-Memory Search Trees

Huanchen Zhang, Xiaoxuan Liu, David G. Andersen, Michael Kaminsky, Kimberly Keeton, Andrew Pavlo

Abstract

We present the High-speed Order-Preserving Encoder (HOPE) for in-memory search trees. HOPE is a fast dictionary-based compressor that encodes arbitrary keys while preserving their order. HOPE's approach is to identify common key patterns at a fine granularity and exploit the entropy to achieve high compression rates with a small dictionary. we first develop a theoretical model to reason about order-preserving dictionary designs. We then select six representative compression schemes using this model and implement them in HOPE. These schemes make different trade-offs between compression rate and encoding speed. We evaluate HOPE on five data structures used in databases: SuRF, ART, HOT, B+tree, and Prefix B+tree. Our experiments show that using HOPE allows the search trees to achieve lower query latency (up to 40% lower) and better memory efficiency (up to 30% smaller) simultaneously for most string key workloads.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • An Empirical Evaluation of Columnar Storage Formats cites Good to the Last Bit: Data-Driven Encoding with CodecDB
  • An Empirical Evaluation of Columnar Storage Formats cites LeCo: Lightweight Compression via Learning Serial Correlations
  • LeCo: Lightweight Compression via Learning Serial Correlations cites Good to the Last Bit: Data-Driven Encoding with CodecDB
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. An Empirical Evaluation of Columnar Storage FormatsXinyu Zeng, Yulong Hui, Jiahong Shen, Andrew Pavlo et al.VLDB 2024 · 59 citations
  2. Good to the Last Bit: Data-Driven Encoding with CodecDBHao Jiang, Chunwei Liu, John Paparrizos, Andrew A. Chien et al.SIGMOD 2021 · 45 citations
  3. SALI: A Scalable Adaptive Learned Index Framework based on Probability ModelsJiake Ge, Huanchen Zhang, Boyu Shi, Yuanhui Luo et al.SIGMOD 2024 · 28 citations
  4. Cosine: A Cloud-Cost Optimized Self-Designing Key-Value Storage EngineSubarna Chatterjee, Meena Jagadeesan, Wilson Qin, Stratos IdreosVLDB 2022 · 17 citations
  5. LeCo: Lightweight Compression via Learning Serial CorrelationsYihao Liu, Xinyu Zeng, Huanchen ZhangSIGMOD 2024 · 17 citations

Related papers

  1. Robust and Budget-Constrained Encoding Configurations for In-Memory Database SystemsMartin BoissierVLDB 2022 · 17 citations
  2. Blitzcrank: Fast Semantic Compression for In-memory Online Transaction ProcessingYiming Qiao, Yihan Gao, Huanchen ZhangVLDB 2024 · 3 citations
  3. Revisiting B-tree Compression: An Experimental StudyChuqing Gao, Shreya Ballijepalli, Jianguo WangSIGMOD 2024 · 5 citations
  4. Adaptive Compression for Fast Scans on String ColumnsYannis Foufoulas, Lefteris Sidirourgos, Elefterios Stamatogiannakis, Yannis E. IoannidisSIGMOD 2021 · 6 citations
  5. REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu et al.ICDE 2023 · 18 citations
Dusk over the sea between two cliffs drawn in fine vertical lines