Efficiently Compiling Efficient Query Plans for Modern Hardware
As main memory grows, query performance is more and more determined by the raw CPU costs of query processing itself. The classical iterator style query processing technique is very simple and exible, but shows poor performance on modern CPUs due to lack of locality and frequent instruction…
- Year
- 2011
- Venue
- Proceedings of the VLDB Endowment
- Published
- Jun 1, 2011
Paper
Thomas Neumann
As main memory grows, query performance is more and more determined by the raw CPU costs of query processing itself. The classical iterator style query processing technique is very simple and exible, but shows poor performance on modern CPUs due to lack of locality and frequent instruction mispredictions. Several techniques like batch oriented processing or vectorized tuple processing have been proposed in the past to improve this situation, but even these techniques are frequently out-performed by hand-written execution plans. In this work we present a novel compilation strategy that translates a query into compact and efficient machine code using the LLVM compiler framework. By aiming at good code and data locality and predictable branch layout the resulting code frequently rivals the performance of hand-written C++ code. We integrated these techniques into the HyPer main memory database system and show that this results in excellent query performance while requiring only modest compilation time.
Authors
Thomas Neumannauthor #1manualdoi.orgNov 23, 2026
Venue
About
- Query compilationarchitectureseedseed/papers/core.yamlNov 23, 2026
Sources · 2 distinct URLs back this page · 1 curated facts cite the seed files
Identifiers (2)
- doi: 10.14778/2002938.2002940
- openalex_id: W2106771621
Profile facts (1)
- landing_url
Relationships (1)
- Authors: Thomas NeumannPublished at: VLDB 2011
Metrics (1)
- openalex.org/W2106771621Nov 18, 2026cited_by
Every connection lists its evidence: source kind, link and observation date. Dashed markers flag derived or low-confidence links.