Lune

VLDB2022Top-tier venue

Prefix Filter: Practically and Theoretically Better Than Bloom

Tomer Even, Guy Even, Adam Morrison

Abstract

Many applications of approximate membership query data structures, or filters , require only an incremental filter that supports insertions but not deletions. However, the design space of incremental filters is missing a "sweet spot" filter that combines space efficiency, fast queries, and fast insertions. Incremental filters, such as the Bloom and blocked Bloom filter, are not space efficient. Dynamic filters (i.e., supporting deletions), such as the cuckoo or vector quotient filter, are space efficient but do not exhibit consistently fast insertions and queries.

In this paper, we propose the prefix filter , an incremental filter that addresses the above challenge: (1) its space (in bits) is similar to state-of-the-art dynamic filters; (2) query throughput is high and is comparable to that of the cuckoo filter; and (3) insert throughput is high with overall build times faster than those of the vector quotient filter and cuckoo filter by 1.39X--1.46X and 3.2X--3.5X, respectively. We present a rigorous analysis of the prefix filter that holds also for practical set sizes (i.e., n = 2 25 ). The analysis deals with the probability of failure, false positive rate, and probability that an operation requires accessing more than a single cache line.

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.

5 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

  • Succinct and Fast Tiny Pointer Hash Tables cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
  • Rethinking The Compaction Policies in LSM-trees cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • Rethinking The Compaction Policies in LSM-trees cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
  • Rethinking The Compaction Policies in LSM-trees cites GRF: A Global Range Filter for LSM-Trees with Shape Encoding
  • Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design cites SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
  • Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design cites Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
  • InfiniFilter: Expanding Filters to Infinity and Beyond cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • InfiniFilter: Expanding Filters to Infinity and Beyond cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
  • Aleph Filter: To Infinity in Constant Time cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • Aleph Filter: To Infinity in Constant Time cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
  • Aleph Filter: To Infinity in Constant Time cites GRF: A Global Range Filter for LSM-Trees with Shape Encoding
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites InfiniFilter: Expanding Filters to Infinity and Beyond
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 citations
  2. GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 citations
  3. Aleph Filter: To Infinity in Constant TimeNiv Dayan, Ioana Oriana Bercea, Rasmus PaghVLDB 2024 · 13 citations
  4. Rethinking The Compaction Policies in LSM-treesHengrui Wang, Jiansheng Qiu, Fangzhou Yuan, Huanchen ZhangSIGMOD 2025 · 9 citations
  5. Succinct and Fast Tiny Pointer Hash TablesXilin Tang, Yuqi Mai, William Kuszmaul, Alex ConwayVLDB 2026

Builds on4

  1. SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value StoresAlexander Conway, Abhishek Gupta, Vijay Chidambaram, Martin Farach-Colton et al.USENIX ATC 2020 · 90 citations
  2. Chucky: A Succinct Cuckoo Filter for LSM-TreeNiv Dayan, Moshe TwittoSIGMOD 2021 · 57 citations
  3. Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter DesignPrashant Pandey, Alex Conway, Joe Durie, Michael A. Bender et al.SIGMOD 2021 · 40 citations
  4. Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at FacebookZhichao Cao, Siying Dong, Sagar Vemuri, David H. C. DuFAST 2020

Related papers

  1. Breadcrumb Filters: Fast Fully Featured FiltersAndrew Krapivin, Aaditya Rangarajan, Alex Conway, Martin Farach-Colton et al.SIGMOD 2026
  2. Dynamic Flat Filter: A Unified Framework for Scalable and Stable Fingerprint-Based FiltersYang Du, Shankui Ji, He Huang, Yu-E Sun et al.SIGMOD 2026
  3. AniFilter: parallel and failure-atomic cuckoo filter for non-volatile memoriesHyungjun Oh, Bongki Cho, Changdae Kim, Heejin Park et al.EuroSys 2020 · 3 citations
  4. Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 citations
  5. The Logarithmic Dynamic Cuckoo FilterFan Zhang, Hanhua Chen, Hai Jin, Pedro ReviriegoICDE 2021 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines