blocked-bloom-filter · shipping · also Cache-local Bloom filter

Blocked Bloom filter

A blocked Bloom filter confines all bit probes for a key to one selected block, ideally one cache line, to improve memory locality.

Related Observatory article: Read on hesela.com

A standard Bloom filter spreads the k probed bits of a key across the whole array. A blocked layout places them in one block that ideally matches a cache line of typically 512 bits, which cuts cache misses per insert or lookup from k to 1. Blocks fill unevenly, so the false-positive rate is higher than for a standard filter of the same size and total fill alone is insufficient to predict it. [1]

Schmitz, Zentgraf and Rahmann express the cost as space per key. For a false-positive rate of 2^-10, a standard Bloom filter needs 1.443 times the minimum of 10 bits per key, a blocked filter 1.565 times and their variant with two alternative blocks per key 1.456 times. [1]

Parquet uses a split-block design with 256-bit blocks of eight 32-bit words and one bit set per word. Its sizing example of 1024 blocks holding 26,214 hash values, about 10 bits per value, gives a false-positive probability of around 1.26%, rising to 18% at 5 bits per value and falling to 0.04% at 20. [2]

Relations

related
Vacuum filter, Bloom filter, Partitioned filter, Sorted string table, Counting Bloom filter

Advantages

  • Each insert or lookup touches one block, so memory traffic per operation does not grow with the number of probe bits. [1]

Limitations

  • A filter sized for an expected number of values degrades quickly when more are inserted, so the count must be estimated before the filter is built. [2]
  • Variants with two candidate blocks per key must check up to 2 blocks on lookup, which gives back part of the locality gain. [1]

Citations

  1. Johanna Elena Schmitz, Jens Zentgraf and Sven Rahmann. Blocked Bloom Filters with Choices. SEA 2025, article 25, sections 1-4. DOI: 10.4230/LIPIcs.SEA.2025.25. (accessed 2026-10-22)
  2. Apache Parquet: Bloom Filter, Technical Approach and Sizing an SBBF. (accessed 2026-10-22)

Further reading

  1. Hesela: finite Bloom probabilities and block load. (accessed 2026-10-17)
Sources & caveats
  • choices is the SEA 2025 paper by Schmitz, Zentgraf and Rahmann, re-read on 2026-10-22 in the introduction, Figure 1 and sections 2 to 4.
  • The 512-bit cache line, the k-to-1 cache-miss reduction and the 1.443, 1.565 and 1.456 overhead factors at a 2^-10 rate come from choices.
  • parquet is the Apache Parquet Bloom filter specification, re-read on 2026-10-22 in the technical approach and sizing sections.
  • The 256-bit block, eight 32-bit words, 1024 blocks, 26,214 values and the 1.26%, 18% and 0.04% probabilities come from parquet.

JSON: /data/terms/blocked-bloom-filter.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Blocked Bloom filter. Hesela. 2026-12-02. https://hesela.dev/terms/blocked-bloom-filter/