PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
December 4, 2025Proceedings of the ACM on Management of Data0 citationsOpen Access

RABIT: Efficient Range Queries with Bitmap Indexing

View Full Paper
JWJunchang WangFXFu XiaoMAManos Athanassoulis

Key Points

  • Efficient bitmap indexing provides substantial performance gains for range queries in dynamic environments.
  • RABIT achieves up to 2.2x faster range queries and 530x faster updates while minimizing memory usage.
  • The method employs innovative group encoding and bitvector merging to support efficient data retrieval.
  • RABIT's design enables general-purpose usage of bitmap indexing across various database management systems.

Abstract

Range queries (RQ) are crucial for analytical workloads, with indexing support being essential to minimize storage accesses. However, indexing support for RQ faces several challenges. Existing tree-based indexes have suboptimal RQ performance and memory consumption when long-running RQs and short-lived updates coexist. Bitmap indexes show promise in overcoming these challenges because of their small size and their succinct and readily available query result; however, they have inherent limitations: they primarily target read-only, low-cardinality attributes. In this paper, we propose Ra nge Queries with Bit map Indexing (RABIT), a solution that addresses these shortcomings. Our design relies on three principles. First, we propose Group Encoding (GE), a novel encoding scheme that provides fast RQs and real-time updates while maintaining high compressibility. Second, we propose an efficient bitvector merging mechanism for GE. Depending on the bit density of each bitvector, we merge it in either its compressed or decompressed form, leveraging SIMD instructions when beneficial. Third, we propose a multi-layer update framework that enables lightweight multi-versioning and native index-only scans, while retaining single-versioned bitvectors, significantly reducing memory usage. Putting everything together, RABIT provides efficient point and range queries on attributes with any cardinality in tables ranging from read-only to frequently updated, unlocking the use of bitmap indexing as a general-purpose secondary index. We demonstrate that RABIT accelerates key DBMS operators (Scan, Join, and Aggregation), achieving substantial performance gains. In a row-store DBMS under HTAP workloads, RABIT offers up to 2.2x faster RQs, 530x faster updates, and 118x smaller footprint than tree indexes. In columnar DuckDB, RABIT accelerates TPC-H queries by up to 14.8x.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Wang et al. (2025) studied this question.

synapsesocial.com/papers/694025742d562116f28fde47https://doi.org/10.1145/3769819
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1A Workload-Aware Encrypted Index for Efficient Privacy-Preserving Range Queries2025
  2. 2Recursive Grid Indexing for Fast Non‐Uniform Quantization Without Binary Search2026
  3. 3ART That Lasts: Persistent Multiversion Adaptive Radix Trees with Fast Atomic Range Queries2026
  4. 4CaGR-RAG: Context-aware Query Grouping for Disk-based Vector Search in RAG Systems2025
  5. 5iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search2024 · 1 citations