Lune

VLDB2020Top-tier venue

Cuckoo Index: A Lightweight Secondary Index Structure

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

Abstract

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.

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.

7 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

  • NEXT: A New Secondary Index Framework for LSM-based Data Storage cites Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent Memory
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads cites Learning Multi-Dimensional Indexes
  • Can Learned Models Replace Hash Functions? cites Learning Multi-Dimensional Indexes
  • Can Learned Models Replace Hash Functions? cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

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

Builds on3

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

Related papers

  1. Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 citations
  2. A Learned Cuckoo Filter for Approximate Membership Queries over Variable-sized Sliding Windows on Data StreamsYao Tian, Tingyun Yan, Ruiyuan Zhang, Kai Huang et al.SIGMOD 2024 · 7 citations
  3. Conditional Cuckoo FiltersDaniel Ting, Rick ColeSIGMOD 2021 · 13 citations
  4. A four-dimensional Analysis of Partitioned Approximate FiltersTobias Schmidt, Maximilian Bandle, Jana GicevaVLDB 2021 · 6 citations
  5. Prefix Filter: Practically and Theoretically Better Than BloomTomer Even, Guy Even, Adam MorrisonVLDB 2022 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines