Exploring Means to Enhance the Efficiency of GPU Bitmap Index Query Processing
Computer and Information Sciences
bitmap indices, big data, query processing, GPU
Once exotic, computational accelerators are now commonly available in many computing systems. Graphics processing units (GPUs) are perhaps the most frequently encountered computational accelerators. Recent work has shown that GPUs are beneficial when analyzing massive data sets. Specifically related to this study, it has been demonstrated that GPUs can significantly reduce the query processing time of database bitmap index queries. Bitmap indices are typically used for large, read-only data sets and are often compressed using some form of hybrid run-length compression. In this paper, we present three GPU algorithm enhancement strategies for executing queries of bitmap indices compressed using word aligned hybrid compression: (1) data structure reuse (2) metadata creation with various type alignment and (3) a preallocated memory pool. The data structure reuse greatly reduces the number of costly memory system calls. The use of metadata exploits the immutable nature of bitmaps to pre-calculate and store necessary intermediate processing results. This metadata reduces the number of required query-time processing steps. Preallocating a memory pool can reduce or entirely remove the overhead of memory operations during query processing. Our empirical study showed that performing a combination of these strategies can achieve 32.4 × to 98.7 × speedup over the current state-of-the-art implementation. Our study also showed that by using our enhancements, a common gaming GPU can achieve a 15.0 × speedup over a more expensive high-end CPU.
Data Science and Engineering
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
Tran, B., Schaffner, B., Myre, J. M., Sawin, J., and Chiu, D. (2020). Exploring Means to Enhance the Efficiency of GPU Bitmap Index Query Processing. Data Science and Engineering, 6, 209-228. https://doi.org/10.1007/s41019-020-00148-8