The Community for Technology Leaders
RSS Icon
Issue No.04 - July/August (2002 vol.14)
pp: 709-730
<p>In the past decade, the exponential growth in commodity CPU's speed has far outpaced advances in memory latency. A second trend is that CPU performance advances are not only brought by increased clock rate, but also by increasing parallelism inside the CPU. Current database systems have not yet adapted to these trends and show poor utilization of both CPU and memory resources on current hardware. In this paper, we show how these resources can be optimized for large joins and translate these insights into guidelines for future database architectures, encompassing data structures, algorithms, cost modeling, and implementation. In particular, we discuss how vertically fragmented data structures optimize cache performance on sequential data access. On the algorithmic side, we refine the partitioned hash-join with a new partitioning algorithm called radix-cluster, which is specifically designed to optimize memory access. The performance of this algorithm is quantified using a detailed analytical model that incorporates memory access costs in terms of a limited number of parameters, such as cache sizes and miss penalties. We also present a calibration tool that extracts such parameters automatically from any computer hardware. The accuracy of our models is proven by exhaustive experiments conducted with the Monet database system on three different hardware platforms. Finally, we investigate the effect of implementation techniques that optimize CPU resource usage. Our experiments show that large joins can be accelerated almost an order of magnitude on modern RISC hardware when both memory and CPU resources are optimized.</p>
Main-memory databases, query processing, memory access optimization, decomposed storage model, join algorithms, implementation techniques.
Stefan Manegold, Peter Boncz, Martin Kersten, "Optimizing Main-Memory Join on Modern Hardware", IEEE Transactions on Knowledge & Data Engineering, vol.14, no. 4, pp. 709-730, July/August 2002, doi:10.1109/TKDE.2002.1019210
6 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool