Litcius/Paper detail

Succinct Range Filters

Huanchen Zhang, Hyeontaek Lim, Viktor Leis, David G. Andersen, Michael Kaminsky, Kimberly Keeton, Andrew Pavlo

2020ACM Transactions on Database Systems18 citationsDOIOpen Access PDF

Abstract

We present the Succinct Range Filter (SuRF), a fast and compact data structure for approximate membership tests. Unlike traditional Bloom filters, SuRF supports both single-key lookups and common range queries: open-range queries, closed-range queries, and range counts. SuRF is based on a new data structure called the Fast Succinct Trie (FST) that matches the point and range query performance of state-of-the-art order-preserving indexes, while consuming only 10 bits per trie node. The false-positive rates in SuRF for both point and range queries are tunable to satisfy different application needs. We evaluate SuRF in RocksDB as a replacement for its Bloom filters to reduce I/O by filtering requests before they access on-disk data structures. Our experiments on a 100-GB dataset show that replacing RocksDB’s Bloom filters with SuRFs speeds up open-seek (without upper-bound) and closed-seek (with upper-bound) queries by up to 1.5× and 5× with a modest cost on the worst-case (all-missing) point query throughput due to slightly higher false-positive rate.

Topics & Concepts

Bloom filterComputer scienceTrieRange (aeronautics)Range query (database)Data structureThroughputFilter (signal processing)Upper and lower boundsPoint (geometry)Data miningTheoretical computer scienceAlgorithmInformation retrievalSearch engineMathematicsTelecommunicationsMathematical analysisGeometryComposite materialProgramming languageMaterials scienceWirelessComputer visionWeb search querySargableCaching and Content DeliveryAdvanced Data Storage TechnologiesInternet Traffic Analysis and Secure E-voting