Skip to main content
Log in

Optimizing database architecture for the new bottleneck: memory access

  • Regular contribution
  • Published:
The VLDB Journal Aims and scope Submit manuscript

Abstract.

In the past decade, advances in the speed of commodity CPUs have far out-paced advances in memory latency. Main-memory access is therefore increasingly a performance bottleneck for many computer applications, including database systems. In this article, we use a simple scan test to show the severe impact of this bottleneck. The insights gained are translated into guidelines for database architecture, in terms of both data structures and algorithms. We discuss how vertically fragmented data structures optimize cache performance on sequential data access. We then focus on equi-join, typically a random-access operation, and introduce radix algorithms for partitioned hash-join. The performance of these algorithms is quantified using a detailed analytical model that incorporates memory access cost. Experiments that validate this model were performed on the Monet database system. We obtained exact statistics on events such as TLB misses and L1 and L2 cache misses by using hardware performance counters found in modern CPUs. Using our cost model, we show how the carefully tuned memory access pattern of our radix algorithms makes them perform well, which is confirmed by experimental results.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received April 20, 2000 / Accepted June 23, 2000

Rights and permissions

Reprints and permissions

About this article

Cite this article

Manegold, S., Boncz, P. & Kersten, M. Optimizing database architecture for the new bottleneck: memory access. The VLDB Journal 9, 231–246 (2000). https://doi.org/10.1007/s007780000031

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s007780000031

Navigation