首页    期刊浏览 2025年02月28日 星期五
登录注册

文章基本信息

  • 标题:Compiling Database Queries into Machine Code
  • 本地全文:下载
  • 作者:Thomas Neumann ; Viktor Leis
  • 期刊名称:Bulletin of the Technical Committee on Data Engineering
  • 出版年度:2014
  • 卷号:37
  • 期号:1
  • 出版社:IEEE Computer Society
  • 摘要:On modern servers the working set of database management systems becomes more and more main memory resident. Slow disk accesses are largely avoided, and thus the in-memory processing speed of databases becomes an important factor. One very attractive approach for fast query processing is just- in-time compilation of incoming queries. By producing machine code at runtime we avoid the overhead of traditional interpretation systems, and by carefully organizing the code around register usage we minimize memory traffic and get excellent performance. In this paper we show how queries can be brought into a form suitable for efficient translation, and how the underlying code generation can be orchestrated. By carefully abstracting away the necessary plumbing infrastructure we can build a query compiler that is both maintainable and efficient. The effectiveness of the approach is demonstrated by the HyPer system, that uses query compilation as its execution strategy, and that achieves excellent performance
国家哲学社会科学文献中心版权所有