2016
DOI: 10.14778/3007263.3007298
|View full text |Cite
|
Sign up to set email alerts
|

Precision performance surgery for CostgreSQL

Abstract: We demonstrate how the compilation of SQL expressions into machine code leads to significant query runtime improvements in PostgreSQL 9. Our primary goal is to connect recent research in query code generation with one of the most widely deployed database engines. The approach calls on LLVM to translate arithmetic and filter expressions into native x86 instructions just before SQL query execution begins. We deliberately follow a non-invasive design that does not turn PostgreSQL on its he… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2

Citation Types

0
2
0

Year Published

2018
2018
2022
2022

Publication Types

Select...
4
1

Relationship

0
5

Authors

Journals

citations
Cited by 7 publications
(2 citation statements)
references
References 3 publications
0
2
0
Order By: Relevance
“…al. [21] compiles query subexpressions into machine code. The work in [58] uses program specialization and LLVM to generate query code.…”
Section: Related Workmentioning
confidence: 99%
“…al. [21] compiles query subexpressions into machine code. The work in [58] uses program specialization and LLVM to generate query code.…”
Section: Related Workmentioning
confidence: 99%
“…Weld [50] provides a common runtime for diverse libraries (e.g., SQL and machine learning). Butterstein et al [19] compile query subexpressions into machine code in PostgreSQL. Similarly, the work in [62] uses program specialization and LLVM to generate query code in Postgres.…”
Section: Related Workmentioning
confidence: 99%