succinct-range-filter · research · also SuRF

Succinct range filter

An approximate point-and-range membership structure based on a truncated order-preserving Fast Succinct Trie.

The SIGMOD 2018 SuRF design is static. Real-key suffix bits assist range filtering, whereas hash suffix bits refine point tests without encoding order. A positive range answer still needs verification against stored keys. [1]

The underlying trie encodes its upper levels with a fast bitmap scheme and its lower levels with a compact LOUDS-Sparse scheme whose label and topology streams use 10 bits per trie node, excluding auxiliary rank/select storage. The filter keeps only the shortest key prefixes that distinguish each key, which took about 10 bits per key for 64-bit random integers and 14 bits per key for email addresses. [1]

Adding n hash suffix bits per key bounds the point-query false positive rate below 2^-n, so 7 bits give about 1%. Real suffix bits extend the stored prefix in key order and help both point and range queries. Inserting a key requires rebuilding the filter. [1]

A later comparison reports that truncating the trie helps long range queries more than short ones, because short ranges are often empty and nearby keys tend to differ only in their least significant bits. Rosetta instead covers a range with aligned power-of-two intervals and probes prefix filters recursively. A singleton needs one cover interval: 2 log2(R) must not be read as a literal all-R bound or a total probe count. [4] [3]

Relations

related
Bloom filter, Prefix Bloom filter, Prefix extractor, Rosetta range filter, Grafite range filter, Rank/select, Prefix siphoning

Advantages

  • Replacing the Bloom filters of a key-value store with filters of the same size sped up closed-range queries by up to 5 times and open-range queries by 1.5 times on a 100 GB time-series dataset. [1]

Limitations

  • For point queries on absent keys the same-size filter had a false positive rate of 0.2% against 0.1% for a Bloom filter, making the store up to 40% slower. [1]
  • Its false positive rate depends on the distribution of stored and queried keys, so correlated or skewed queries can raise it. [3]

Citations

  1. Zhang et al., SuRF: Practical Range Query Filtering with Fast Succinct Tries, SIGMOD 2018, sections 1-4; DOI 10.1145/3183713.3196931 (accessed 2026-11-17)
  2. Luo, Chatterjee, Ketsetsidis, Dayan, Qin and Idreos. Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores. SIGMOD 2020, sections 1 and 2 (accessed 2026-11-08)
  3. Hesela: exact dyadic-cover examples and exhaustive tests (CC0) (accessed 2026-11-08)

Further reading

  1. Hesela: filter predicates, prefix correctness and SuRF boundaries (accessed 2026-10-13)
Sources & caveats
  • surf is the SIGMOD 2018 paper by Zhang, Lim, Leis, Andersen, Kaminsky, Keeton and Pavlo (Carnegie Mellon University and industrial co-authors), reread in sections 1 to 4 on the access date.
  • rosetta is the SIGMOD 2020 paper by Luo, Chatterjee, Ketsetsidis, Dayan, Qin and Idreos (Harvard University), read in sections 1 and 2.
  • 10 bits per node, 10 and 14 bits per key, 2^-n, 7 bits, 1%, 100 GB, 5 times, 1.5 times, 0.2%, 0.1% and 40% come from surf. The singleton clarification follows exact integer interval geometry. [4]
  • The status stays research because the published design is static.
  • Section 2.5 separates the 10n-bit sparse label/topology layout from rank/select support; it calls this layout compact rather than succinct in the strict asymptotic classification.

JSON: /data/terms/succinct-range-filter.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Succinct range filter. Hesela. 2026-12-02. https://hesela.dev/terms/succinct-range-filter/