Exploiting multithreaded architectures to improve the hash join operation

  • Authors:
  • Layali Rashid;Wessam M. Hassanein;Moustafa A. Hammad

  • Affiliations:
  • University of Calgary;University of Calgary;University of Calgary

  • Venue:
  • Proceedings of the 9th workshop on MEmory performance: DEaling with Applications, systems and architecture
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

As database management systems gain importance in our everyday life, it is essential to have efficient implementations of important database operations such as the hash join. Improvements in processor architectures including simultaneous multithreaded architectures and Chip Multiprocessors have opened opportunities for taking advantage of the new multithreaded hardware. Recently, several efforts have been done to enhance database performance through architecture-aware data management. In this paper, we present a new architecture-aware hash join (AA_HJ) algorithm for main memory database systems, where all the data resides in memory. AA_HJ relies on sharing critical structures at the cache level, and distributing the load evenly between threads. Our timing results show a performance improvement up to 2.9x for the Intel® Pentium® 4 HT and up to 4.6x on the Intel® Quad Xeon® Dual-Core machine, compared to single-threaded hash join. The L2 load miss rate is reduced by up 82%.