Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Efficient Joins with Compressed Bitmap Indexes

Conference ·
OSTI ID:982896
We present a new class of adaptive algorithms that use compressed bitmap indexes to speed up evaluation of the range join query in relational databases. We determine the best strategy to process a join query based on a fast sub-linear time computation of the join selectivity (the ratio of the number of tuples in the result to the total number of possible tuples). In addition, we use compressed bitmaps to represent the join output compactly: the space requirement for storing the tuples representing the join of two relations is asymptotically bounded by min(h; n . cb), where h is the number of tuple pairs in the result relation, n is the number of tuples in the smaller of the two relations, and cb is the cardinality of the larger column being joined. We present a theoretical analysis of our algorithms, as well as experimental results on large-scale synthetic and real data sets. Our implementations are efficient, and consistently outperform well-known approaches for a range of join selectivity factors. For instance, our count-only algorithm is up to three orders of magnitude faster than the sort-merge approach, and our best bitmap index-based algorithm is 1.2x-80x faster than the sort-merge algorithm, for various query instances. We achieve these speedups by exploiting several inherent performance advantages of compressed bitmap indexes for join processing: an implicit partitioning of the attributes, space-efficiency, and tolerance of high-cardinality relations.
Research Organization:
Ernest Orlando Lawrence Berkeley National Laboratory, Berkeley, CA (US)
Sponsoring Organization:
Computational Research Division
DOE Contract Number:
AC02-05CH11231
OSTI ID:
982896
Report Number(s):
LBNL-3115E
Country of Publication:
United States
Language:
English

Similar Records

An efficient compression scheme for bitmap indices
Technical Report · Tue Apr 13 00:00:00 EDT 2004 · OSTI ID:841308

Evaluation Strategies for Bitmap Indices with Binning
Conference · Thu Jun 03 00:00:00 EDT 2004 · OSTI ID:861196

Breaking the Curse of Cardinality on Bitmap Indexes
Conference · Fri Apr 04 00:00:00 EDT 2008 · OSTI ID:927150