Article

Distributed Join Algorithms on Thousands of Cores
December 2016

Traditional database operators such as joins are relevant not only in the context of database engines but also as a first step in many computational and machine learning algorithms. With the advent of big data, there is an increasing demand for efficient join algorithms that can scale with the available hardware resources. In this paper, we explore the implementation of distributed join algorithms in systems with several thousand cores connected by a low-latency network as used in high performance computing systems or data centers. We compare radix hash join to sort-merge join algorithms and discuss their implementation at this scale. In the paper, we explain how to use MPI to implement joins, show the impact and advantages of RDMA, discuss the importance of network scheduling, and study the relative performance of sorting vs. hashing. The experimental results show that the algorithms we present scale well with the number of cores, reaching a throughput of 48.7 billion input tuples per second on 4096 cores. Furthermore, we identify opportunities for improvements, opening up important directions for future research.

Authors: Claude Barthels, Timo Schneider, Ingo Mueller, Gustavo Alonso, Torsten Hoefler

Venue: VLDB 2017 (http://www.vldb.org/2017/)

Content:

Hardware and Software, Engineered to Work Together