arrow
Return

Making Compiling Query Engines Practical

delete2019-01-01
delete2
PRE
AI
A
André Kohn *
V
Viktor Leis
N
Neumann, Thomas
DOI:10.1109/TKDE.2019.2905235delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Compiling queries to machine code is a very efficient way for executing queries. One often overlooked problem with compilation is the time it takes to generate machine code. Even with fast compilation frameworks like LLVM, generating machine code for complex queries often takes hundreds of milliseconds. Such durations can be a major disadvantage for workloads that execute many complex, but quick queries. To solve this problem, we propose an adaptive execution framework, which dynamically switches from interpretation to compilation. We also propose a fast bytecode interpreter for LLVM, which can execute queries without costly translation to machine code and dramatically reduces the query latency. Adaptive execution is fine-grained, and can execute code paths of the same query using different execution modes. Our evaluation shows that this approach achieves optimal performance in a wide variety of settings-low latency for small data sets and maximum throughput for large data sizes. Besides compilation time, we also focus on debugging, which is another important challenge of compilation-based query engines. To address this problem, we present a novel, database-specific debugger for compiling query engines.
Keywords:
Query processing
query compilation
bytecode interpreter
register allocation
debugging
A hardware compilation framework for text analytics queries
err2018-01-01
err3
PREAI
errPolig, Raphael; Atasu, Kubilay; Giefers, Heiner; Hagleitner, Christoph; Chiticariu, Laura; Reiss, Frederick; Zhu, Huaiyu; Hofstee, Peter
errShare
errSave
Query running too slow? Rewrite it with Quorion!
err2025-08-01
err0
PREAI
errChen, Bingnan; Dai, Binyang; Wang, Qichen; Yi, Ke
errShare
errSave
Optimization and evaluation of disjunctive queries
err2000-01-01
err21
PREAI
errClaussen, J; Kemper, A; Moerkotte, G; Peithner, K; Steinbrunn, M
errShare
errSave
Query ranking model for search engine query recommendation
err2015-05-03
err5
PREAI
errWang, JianGuo; Huang, Joshua Zhexue; Guo, Jiafeng; Lan, Yanyan
errShare
errSave
Recommending high-utility search engine queries via a query-recommending model
err2015-11-01
err19
PREAI
errWang, JianGuo; Huang, Joshua Zhexue; Guo, Jiafeng; Lan, Yanyan
errShare
errSave

Journal

IEEE Transactions on Knowledge and Data Engineering cover
IEEE Transactions on Knowledge and Data Engineering
IF:
10.4
Papers:
7.0K
Citations:
4.1W

Organization

T
technical university of munich
Scholars:
2.9K
Papers: 1.0K
Citations: 3.4W
Cited Papers

Cited Papers

THE MALE RABBIT
err1967-10-01
err0
PREAI
errR. P. AMANN; J. T. LAMBIASE
errShare
errSave
Identification and analysis of a glutamatergic local interneuron lineage in the adult Drosophila olfactory system
err2011-01-26
err0
errOAAI
errAbhijit Das; Albert Chiang; Sejal Davla; Rashi Priya; Heinrich Reichert; K VijayRaghavan; Veronica Rodrigues
errShare
errSave
A meta‐synthesis of qualitative studies on stress urinary incontinence in women for the development of a Core Outcome Set: A systematic review
err2021-10-11
err0
PREAI
errMaria Patricia Rada; Stephanie Jones; Cornelia Betschart; Gabriele Falconi; Jorge Milhem Haddad; Stergios K. Doumouchtsis
errShare
errSave
Heliobacterium modesticaldum, sp. nov., a thermophilic heliobacterium of hot springs and volcanic soils
err1995-04-01
err0
PREAI
errLinda K. Kimble; Linda Mandelco; Carl R. Woese; Michael T. Madigan
errShare
errSave
Effects of Maturation Conditions on Spindle Morphology in Porcine MII Oocytes
err2005-01-01
err0
errOAAI
errSatoshi UENO; Mayuko KUROME; Hideto UEDA; Ryo TOMII; Katsumi HIRUMA; Hiroshi NAGASHIMA
errShare
errSave
Gonads are the heart of the matter
err2007-05-01
err0
PREAI
errLeon Speroff
errShare
errSave
The Role of Biomarkers in Diverticular Disease
err2016-10-01
err0
PREAI
errAntonella Gallo; Gianluca Ianiro; Massimo Montalto; Giovanni Cammarota
errShare
errSave
Effective interventions for reducing diabetes distress: systematic review and meta-analysis
err2015-07-06
err0
errOAAI
errJackie Sturt; Kathryn Dennick; Danielle Hessler; Benjamin M. Hunter; Jennifer Oliver; Lawrence Fisher
errShare
errSave
Hydration of nucleosides in dilute aqueous solutions
err1989-11-01
err0
PREAI
errV.A. Buckin; B.I. Kankiya; R.L. Kazaryan
errShare
errSave
researcher View more