Autor(en): Funke, Henning
Mühlig, Jan
Teubner, Jens
Titel: Low-latency query compilation
Sprache (ISO): en
Zusammenfassung: Query compilation is a processing technique that achieves very high processing speeds but has the disadvantage of introducing additional compilation latencies. These latencies cause an overhead that is relatively high for short-running and high-complexity queries. In this work, we present Flounder IR and ReSQL, our new approach to query compilation. Instead of using a general purpose intermediate representation (e.g., LLVM IR) during compilation, ReSQL uses Flounder IR, which is specifically designed for database processing. Flounder IR is lightweight and close to machine assembly. This simplifies the translation from IR to machine code, which otherwise is a costly translation step. Despite simple translation, compiled queries still benefit from the high processing speeds of the query compilation technique. We analyze the performance of our approach with micro-benchmarks and with ReSQL, which employs a full translation stack from SQL to machine code. We show reductions in compilation times up to two orders of magnitude over LLVM and show improvements in overall execution time for TPC-H queries up to 5.5 × over state-of-the-art systems.
Schlagwörter: Query processing
Query compilation
Just-in-time compilation
Schlagwörter (RSWK): Abfrageverarbeitung
Just-in-Time-Compiler
URI: http://hdl.handle.net/2003/41845
http://dx.doi.org/10.17877/DE290R-23688
Erscheinungsdatum: 2022-05-10
Rechte (Link): https://creativecommons.org/licenses/by/4.0/
Enthalten in den Sammlungen:LS 06 Datenbanken und Informationssysteme

Dateien zu dieser Ressource:
Datei Beschreibung GrößeFormat 
s00778-022-00741-5.pdfDNB1.06 MBAdobe PDFÖffnen/Anzeigen


Diese Ressource ist urheberrechtlich geschützt.



Diese Ressource wurde unter folgender Copyright-Bestimmung veröffentlicht: Lizenz von Creative Commons Creative Commons