Order-Preserving Key Compression for In-Memory Search Trees
Huanchen Zhang, Xiaoxuan Liu, David G. Andersen, Michael Kaminsky, Kimberly Keeton, Andrew Pavlo
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- An Empirical Evaluation of Columnar Storage Formats 引用了 Good to the Last Bit: Data-Driven Encoding with CodecDB
- An Empirical Evaluation of Columnar Storage Formats 引用了 LeCo: Lightweight Compression via Learning Serial Correlations
- LeCo: Lightweight Compression via Learning Serial Correlations 引用了 Good to the Last Bit: Data-Driven Encoding with CodecDB
引用它的顶会 Paper13
- An Empirical Evaluation of Columnar Storage FormatsXinyu Zeng, Yulong Hui, Jiahong Shen, Andrew Pavlo 等VLDB 2024 · 59 次引用
- Good to the Last Bit: Data-Driven Encoding with CodecDBHao Jiang, Chunwei Liu, John Paparrizos, Andrew A. Chien 等SIGMOD 2021 · 45 次引用
- SALI: A Scalable Adaptive Learned Index Framework based on Probability ModelsJiake Ge, Huanchen Zhang, Boyu Shi, Yuanhui Luo 等SIGMOD 2024 · 28 次引用
- Cosine: A Cloud-Cost Optimized Self-Designing Key-Value Storage EngineSubarna Chatterjee, Meena Jagadeesan, Wilson Qin, Stratos IdreosVLDB 2022 · 17 次引用
- LeCo: Lightweight Compression via Learning Serial CorrelationsYihao Liu, Xinyu Zeng, Huanchen ZhangSIGMOD 2024 · 17 次引用
相关 Paper
- Robust and Budget-Constrained Encoding Configurations for In-Memory Database SystemsMartin BoissierVLDB 2022 · 17 次引用
- Blitzcrank: Fast Semantic Compression for In-memory Online Transaction ProcessingYiming Qiao, Yihan Gao, Huanchen ZhangVLDB 2024 · 3 次引用
- Revisiting B-tree Compression: An Experimental StudyChuqing Gao, Shreya Ballijepalli, Jianguo WangSIGMOD 2024 · 5 次引用
- Adaptive Compression for Fast Scans on String ColumnsYannis Foufoulas, Lefteris Sidirourgos, Elefterios Stamatogiannakis, Yannis E. IoannidisSIGMOD 2021 · 6 次引用
- REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu 等ICDE 2023 · 18 次引用
