Optimizing Hash Join with MapReduce on Multi-Core CPUs.

Tong Yuan,Zhijing Liu,Hui Liu
DOI: https://doi.org/10.1587/transinf.2015edp7306
2016-01-01
IEICE Transactions on Information and Systems
Abstract:In this paper, we exploit MapReduce framework and other optimizations to improve the performance of hash join algorithms on multi-core CPUs, including No partition hash join and partition hash join. We first implement hash join algorithms with a shared-memory MapReduce model on multi-core CPUs, including partition phase, build phase, and probe phase. Then we design an improved cuckoo hash table for our hash join, which consists of a cuckoo hash table and a chained hash table. Based on our implementation, we also propose two optimizations, one for the usage of SIMD instructions, and the other for partition phase. Through experimental result and analysis, we finally find that the partition hash join often outperforms the No partition hash join, and our hash join algorithm is faster than previous work by an average of 30%.
What problem does this paper attempt to address?