Title :
Compressing bitmap indexes for faster search operations
Author :
Wu, Kesheng ; Otoo, Ekow J. ; Shoshani, Arie
Author_Institution :
Lawrence Berkeley Nat. Lab., CA, USA
Abstract :
We study the effects of compression on bitmap indexes. The main operations on the bitmaps during query processing are bitwise logical operations. Using the general purpose compression schemes the logical operations on the compressed bitmaps are much slower than on the uncompressed bitmaps. Specialized compression schemes, like the byte-aligned bitmap code (BBC), are usually faster in performing logical operations than the general purpose schemes, but in many cases they are still orders of magnitude slower than the uncompressed scheme. To make the compressed bitmap indexes operate more efficiently, we designed a CPU-friendly scheme which we refer to as the word-aligned hybrid code (WAH). Tests on both synthetic and real application data show that the new scheme significantly outperforms well-known compression schemes at a modest increase in storage space. Compared to BBC, WAH performs logical operations about 12 times faster and uses only 60% more space. Compared to the uncompressed scheme, in most test cases WAH is faster while still using less space. We further verified with additional tests that the improvement in logical operation speed translates to similar improvement in query processing speed.
Keywords :
data compression; natural sciences computing; query processing; CPU-friendly scheme; bitmap indexes compression; bitwise logical operations; byte-aligned bitmap code; general purpose compression schemes; logical operation speed; query processing; search operations; word-aligned hybrid code; Character generation; Contracts; Data warehouses; Databases; Indexing; Laboratories; Logic testing; Performance analysis; Query processing; Scientific computing;
Conference_Titel :
Scientific and Statistical Database Management, 2002. Proceedings. 14th International Conference on
Print_ISBN :
0-7695-1632-7
DOI :
10.1109/SSDM.2002.1029710