Lune

VLDB2020顶会

Cuckoo Index: A Lightweight Secondary Index Structure

Andreas Kipf, Damian Chromejko, Alexander Hall, Peter Boncz, David G. Andersen

摘要

In modern data warehousing, data skipping is essential for high query performance. While index structures such as B-trees or hash tables allow for precise pruning, their large storage requirements make them impractical for indexing secondary columns. Therefore, many systems rely on approximate indexes such as min/max sketches (ZoneMaps) or Bloom filters for cost-effective data pruning. For example, Google PowerDrill skips more than 90% of data on average using such indexes. In this paper, we introduce Cuckoo Index (CI), an approximate secondary index structure that represents the many-to-many relationship between keys and data partitions in a highly space-efficient way. At its core, CI associates variable-sized fingerprints in a Cuckoo filter with compressed bitmaps indicating qualifying partitions. With our approach, we target equality predicates in a read-only (immutable) setting and optimize for space efficiency under the premise of practical build and lookup performance. In contrast to per-partition (Bloom) filters, CI produces correct results for lookups with keys that occur in the data. CI allows to control the ratio of false positive partitions for lookups with non-occurring keys. Our experiments with real-world and synthetic data show that CI consumes significantly less space than per-partition filters for the same pruning power for low-to-medium cardinality columns. For high cardinality columns, CI is on par with its baselines.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • NEXT: A New Secondary Index Framework for LSM-based Data Storage 引用了 Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent Memory
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 Learning Multi-Dimensional Indexes
  • Can Learned Models Replace Hash Functions? 引用了 Learning Multi-Dimensional Indexes
  • Can Learned Models Replace Hash Functions? 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Can Learned Models Replace Hash Functions?Ibrahim Sabek, Kapil Vaidya, Dominik Horn, Andreas Kipf 等VLDB 2023 · 29 次引用
  2. Fast Algorithms for Denial Constraint DiscoveryEduardo H. M. Pena, Fábio Porto, Felix NaumannVLDB 2023 · 23 次引用
  3. Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent MemoryJing Wang, Youyou Lu, Qing Wang, Yuhao Zhang 等USENIX ATC 2023 · 13 次引用
  4. Sieve: A Learned Data-Skipping Index for Data AnalyticsYulai Tong, Jiazhen Liu, Hua Wang, Ke Zhou 等VLDB 2023 · 10 次引用
  5. NEXT: A New Secondary Index Framework for LSM-based Data StorageJiachen Shi, Jingyi Yang, Gao Cong, Xiaoli LiSIGMOD 2025 · 3 次引用

它引用的 Paper3

  1. Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 次引用
  2. Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed WorkloadsJialin Ding, Vikram Nathan, Mohammad Alizadeh, Tim KraskaVLDB 2021 · 178 次引用
  3. Tree-Encoded BitmapsHarald Lang, Alexander Beischl, Viktor Leis, Peter Boncz 等SIGMOD 2020 · 11 次引用

相关 Paper

  1. Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 次引用
  2. A Learned Cuckoo Filter for Approximate Membership Queries over Variable-sized Sliding Windows on Data StreamsYao Tian, Tingyun Yan, Ruiyuan Zhang, Kai Huang 等SIGMOD 2024 · 7 次引用
  3. Conditional Cuckoo FiltersDaniel Ting, Rick ColeSIGMOD 2021 · 13 次引用
  4. A four-dimensional Analysis of Partitioned Approximate FiltersTobias Schmidt, Maximilian Bandle, Jana GicevaVLDB 2021 · 6 次引用
  5. Prefix Filter: Practically and Theoretically Better Than BloomTomer Even, Guy Even, Adam MorrisonVLDB 2022 · 13 次引用
黄昏的海面,两侧是细线勾勒的悬崖