BitEngine: Rethinking Query Processing with Bitmap Indexes
Abstract
Bitmap indexes offer space and query efficiency for analytical workloads. Recent advances have extended bitmap indexes beyond read-only, low-cardinality attributes, but in DBMSs they remain largely confined to scan acceleration. In this paper, we extend the use of bitmap indexes by proposing BitEngine, a novel bitmap-oriented query engine for analytical systems. Our design offers four key advantages compared to baseline designs. (1) Bitmap indexing significantly reduces the amount of data processed in scan-heavy operations (e.g., column scan and selection). (2) Bitmap indexing result bitvectors naturally map to modern AVX-512 mask registers, allowing computation-intensive operations (e.g., grouping and aggregation) to better leverage modern SIMD instructions. (3) BitEngine transforms joins into predicate evaluations on bitmap-indexed foreign-key columns, eliminating the costly column scans and intermediate hash tables of baseline designs. (4) BitEngine’s operators typically pass bitvectors that can be combined efficiently. This allows BitEngine to decompose complex analytical queries (e.g., star joins) into independent subqueries and then merge their result bitvectors, significantly reducing intermediate data. BitEngine can be integrated into modern analytical systems by replacing physical plan operators. Integrated into DuckDB, BitEngine accelerates 12 of 22 TPC-H queries with performance bottlenecks by 1.2x–10x.
Proceedings of the VLDB Endowment, Vol. 19(13), 2026
Junchang Wang, Fei Gao, Fu Xiao, Manos Athanassoulis

