sjbloom
sjbloom · Bloom and exact-key filters for adaptive distributed semi-join experiments
Overview
PostgreSQL · 18
Usage
Sources:
sjbloom 1.0 builds Bloom, exact-key and pass-through filters for a research implementation of semi-join filtering. The supplied automatic planner integration patches postgres_fdw from PostgreSQL 18.6; installing this extension alone does not enable that planner behavior.
Filter Functions
sjb_build accepts integer keys, a bit count and a hash count. sjb_contains tests whether an integer passes the byte-array filter. Bloom matches may be false positives; the final exact join must remove them. NULL inputs remain NULL.
Automatic Filtering and Limits
sjb_build_auto chooses a filter from cardinalities, row widths, network speed and calibrated costs. sjb_choice_report exposes the model’s alternatives; sjb_best_bits estimates filter size. Default cost values came from upstream’s test machine and are not universal performance guarantees.
For distributed use, install matching functions at both participating sites and follow the patched FDW setup. The standalone functions need no preload. The extension is relocatable; installation requires a superuser. This course prototype has no verified current-major portability or production-readiness claim, and the repository does not provide a verified license file.