• Media type: E-Article
  • Title: Breaking the memory wall in MonetDB
  • Contributor: Boncz, Peter A.; Kersten, Martin L.; Manegold, Stefan
  • imprint: Association for Computing Machinery (ACM), 2008
  • Published in: Communications of the ACM
  • Language: English
  • DOI: 10.1145/1409360.1409380
  • ISSN: 0001-0782; 1557-7317
  • Keywords: General Computer Science
  • Origination:
  • Footnote:
  • Description: <jats:p> In the past decades, advances in speed of commodity CPUs have far outpaced advances in RAM latency. Main-memory access has therefore become a performance bottleneck for many computer applications; a phenomenon that is widely known as the "memory wall." In this paper, we report how research around the MonetDB database system has led to a redesign of database architecture in order to take advantage of modern hardware, and in particular to avoid hitting the memory wall. This encompasses (i) a redesign of the query execution model to better exploit pipelined CPU architectures and CPU instruction caches; (ii) the use of columnar rather than row-wise data storage to better exploit CPU data caches; (iii) the design of new <jats:italic>cache-conscious</jats:italic> query processing algorithms; and (iv) the design and automatic calibration of memory cost models to choose and tune these cache-conscious algorithms in the query optimizer. </jats:p>