Lune

SIGMOD2021顶会

Good to the Last Bit: Data-Driven Encoding with CodecDB

Hao Jiang, Chunwei Liu, John Paparrizos, Andrew A. Chien, Jihong Ma, Aaron J. Elmore

摘要

Columnar databases rely on specialized encoding schemes to reduce storage requirements. These encodings also enable efficient in-situ data processing. Nevertheless, many existing columnar databases are encoding-oblivious. When storing the data, these systems rely on a global understanding of the dataset or the data types to derive simple rules for encoding selection. Such rule-based selection leads to unsatisfactory performance. Specifically, when performing queries, the systems always decode data into memory, ignoring the possibility of optimizing access to encoded data. We develop CodecDB, an encoding-aware columnar database, to demonstrate the benefit of tightly-coupling the database design with the data encoding schemes. CodecDB chooses in a principled manner the most efficient encoding for a given data column and relies on encoding-aware query operators to optimize access to encoded data. Storage-wise, CodecDB achieves on average 90% accuracy for selecting the best encoding and improves the compression ratio by up to 40% compared to the state-of-the-art encoding selection solution. Query-wise, CodecDB is on average one order of magnitude faster than the latest open-source and commercial columnar databases on the TPC-H benchmark, and on average 3x faster than a recent research project on the Star-Schema Benchmark (SSB).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 25 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • An Empirical Evaluation of Columnar Storage Formats 引用了 Order-Preserving Key Compression for In-Memory Search Trees
  • An Empirical Evaluation of Columnar Storage Formats 引用了 FSST: Fast Random Access String Compression
  • Fast Adaptive Similarity Search through Variance-Aware Quantization 引用了 PIDS: Attribute Decomposition for Improved Compression and Query Performance in Columnar Storage
  • Choose Wisely: An Extensive Evaluation of Model Selection for Anomaly Detection in Time Series 引用了 Fast Adaptive Similarity Search through Variance-Aware Quantization
  • Choose Wisely: An Extensive Evaluation of Model Selection for Anomaly Detection in Time Series 引用了 PIDS: Attribute Decomposition for Improved Compression and Query Performance in Columnar Storage
  • Choose Wisely: An Extensive Evaluation of Model Selection for Anomaly Detection in Time Series 引用了 TSB-UAD: An End-to-End Benchmark Suite for Univariate Time-Series Anomaly Detection
  • Choose Wisely: An Extensive Evaluation of Model Selection for Anomaly Detection in Time Series 引用了 Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly Detection
  • TSB-UAD: An End-to-End Benchmark Suite for Univariate Time-Series Anomaly Detection 引用了 PIDS: Attribute Decomposition for Improved Compression and Query Performance in Columnar Storage
  • TSB-UAD: An End-to-End Benchmark Suite for Univariate Time-Series Anomaly Detection 引用了 Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly Detection
  • Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly Detection 引用了 TSB-UAD: An End-to-End Benchmark Suite for Univariate Time-Series Anomaly Detection
  • Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly Detection 引用了 Fast Adaptive Similarity Search through Variance-Aware Quantization
  • Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly Detection 引用了 PIDS: Attribute Decomposition for Improved Compression and Query Performance in Columnar Storage
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper25

  1. Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly DetectionJohn Paparrizos, Paul Boniol, Themis Palpanas, Ruey S. Tsay 等VLDB 2022 · 171 次引用
  2. TSB-UAD: An End-to-End Benchmark Suite for Univariate Time-Series Anomaly DetectionJohn Paparrizos, Yuhao Kang, Paul Boniol, Ruey S. Tsay 等VLDB 2022 · 138 次引用
  3. An Empirical Evaluation of Columnar Storage FormatsXinyu Zeng, Yulong Hui, Jiahong Shen, Andrew Pavlo 等VLDB 2024 · 59 次引用
  4. Choose Wisely: An Extensive Evaluation of Model Selection for Anomaly Detection in Time SeriesEmmanouil Sylligardos, Paul Boniol, John Paparrizos, Panos E. Trahanias 等VLDB 2023 · 40 次引用
  5. Fast Adaptive Similarity Search through Variance-Aware QuantizationJohn Paparrizos, Ikraduya Edian, Chunwei Liu, Aaron J. Elmore 等ICDE 2022 · 34 次引用

它引用的 Paper5

  1. Order-Preserving Key Compression for In-Memory Search TreesHuanchen Zhang, Xiaoxuan Liu, David G. Andersen, Michael Kaminsky 等SIGMOD 2020 · 31 次引用
  2. Efficient Query Processing with Optimistically Compressed Hash Tables & Strings in the USSRTim Gubner, Viktor Leis, Peter BonczICDE 2020 · 2 次引用
  3. PIDS: Attribute Decomposition for Improved Compression and Query Performance in Columnar StorageHao Jiang, Chunwei Liu, Qi Jin, John Paparrizos 等VLDB 2020
  4. FSST: Fast Random Access String CompressionPeter Boncz, Thomas Neumann, Viktor LeisVLDB 2020
  5. MorphStore: Analytical Query Engine with a Holistic Compression-Enabled Processing ModelPatrick Damme, Annett Ungethüm, Johannes Pietrzyk, Alexander Krause 等VLDB 2020

相关 Paper

  1. Selection Pushdown in Column Stores using Bit Manipulation InstructionsYinan Li, Jianan Lu, Badrish ChandramouliSIGMOD 2023 · 15 次引用
  2. Robust and Budget-Constrained Encoding Configurations for In-Memory Database SystemsMartin BoissierVLDB 2022 · 17 次引用
  3. LeCo: Lightweight Compression via Learning Serial CorrelationsYihao Liu, Xinyu Zeng, Huanchen ZhangSIGMOD 2024 · 17 次引用
  4. Exploring SIMD Vectorization in Aggregation Pipelines for Encoded IoT DataRui Kang, Shaoxu Song, Jianmin WangICDE 2025
  5. Time Series Data Encoding for Efficient Storage: A Comparative Analysis in Apache IoTDBJinzhao Xiao, Yuxiang Huang, Changyu Hu, Shaoxu Song 等VLDB 2022 · 37 次引用
黄昏的海面,两侧是细线勾勒的悬崖