Lune

VLDB2025Top-tier venue

Diva: Dynamic Range Filter for Var-Length Keys and Queries

Navid Eslami, Ioana O. Bercea, Niv Dayan

Abstract

Range filters are compact probabilistic data structures that answer approximate range emptiness queries. They are used in many domains, e.g., in key-value stores, to quickly rule out the existence of keys in a given query range and avoid having to search for them in storage. However, all existing range filters exhibit at least one of the following shortcomings: (1) they do not provide robust false positive rate and performance guarantees, (2) they do not support variable-length keys and query ranges, and (3) they do not allow dynamic operations such as insertions, deletions, or expansions. We introduce Diva, the first range filter to address all the above challenges simultaneously. Diva learns the dataset's distribution by sampling keys and storing them in a cache-efficient trie. It compresses the keys in-between samples by removing their longest common prefix and truncating their suffixes while leaving enough bits in the middle (i.e., an infix) to allow differentiating between the keys in the sorted order. It stores infixes in constant time dynamic data blocks, which it splits to handle insertions and expansions. It processes a range query by traversing the trie and checking for the inclusion of infixes in the target query range. We show, theoretically and empirically, that Diva achieves a false positive rate on par with the state of the art on real-world datasets while supporting dynamicity and variable-length queries and keys.

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.

2 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

  • Sublime: Sublinear Error & Space for Unbounded Skewed Streams cites Zeno Filter: To Infinity in Tiny Steps
  • Zeno Filter: To Infinity in Tiny Steps cites SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
  • Zeno Filter: To Infinity in Tiny Steps cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • SNARF: A Learning-Enhanced Range Filter cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • Proteus: A Self-Designing Range Filter cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Zeno Filter: To Infinity in Tiny StepsHyuhng Min Kim, Navid Eslami, Niv DayanSIGMOD 2026 · 2 citations
  2. Sublime: Sublinear Error & Space for Unbounded Skewed StreamsNavid Eslami, Ioana O. Bercea, Rasmus Pagh, Niv DayanSIGMOD 2026

Builds on11

  1. Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value StoresSiqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan et al.SIGMOD 2020 · 91 citations
  2. 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
  3. Chucky: A Succinct Cuckoo Filter for LSM-TreeNiv Dayan, Moshe TwittoSIGMOD 2021 · 57 citations
  4. SNARF: A Learning-Enhanced Range FilterKapil Vaidya, Tim Kraska, Subarna Chatterjee, Eric R. Knorr et al.VLDB 2022 · 39 citations
  5. Proteus: A Self-Designing Range FilterEric R. Knorr, Baptiste Lemaire, Andrew Lim, Siqiang Luo et al.SIGMOD 2022 · 30 citations

Related papers

  1. Memento Filter: A Fast, Dynamic, and Robust Range FilterNavid Eslami, Niv DayanSIGMOD 2025 · 13 citations
  2. REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu et al.ICDE 2023 · 18 citations
  3. Aeris Filter: A Strongly and Monotonically Adaptive Range FilterYuvaraj Chesetti, Navid Eslami, Huanchen Zhang, Niv Dayan et al.SIGMOD 2026 · 4 citations
  4. Oasis: An Optimal Disjoint Segmented Learned Range FilterGuanduo Chen, Meng Li, Siqiang Luo, Zhenying HeVLDB 2024 · 17 citations
  5. InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 citations
Dusk over the sea between two cliffs drawn in fine vertical lines