To Iterate Is Human, to Recurse Is Divine --- Mapping Iterative Python to Recursive SQL
Author:
Abstract
Writing complex algorithms and iterative computations in SQL is difficult at best, commonly leading to code that intermingles looping control flow with database access. This yields programs with control flow that rapidly hops in and out of the database, with each roundtrip incurring significant overhead. We present the ByePy compiler, which can compile entire Python functions directly to plain recursive SQL:1999 queries. By doing so, the compilation eliminates all but a single roundtrip, leading to runtime speedups of up to an order of magnitude.
- Citation
- BibTeX
Fischer, T.,
(2023).
To Iterate Is Human, to Recurse Is Divine --- Mapping Iterative Python to Recursive SQL.
In:
König-Ries, B., Scherzinger, S., Lehner, W. & Vossen, G.
(Hrsg.),
BTW 2023.
Gesellschaft für Informatik e.V..
DOI: 10.18420/BTW2023-73
@inproceedings{mci/Fischer2023,
author = {Fischer, Tim},
title = {To Iterate Is Human, to Recurse Is Divine --- Mapping Iterative Python to Recursive SQL},
booktitle = {BTW 2023},
year = {2023},
editor = {König-Ries, Birgitta AND Scherzinger, Stefanie AND Lehner, Wolfgang AND Vossen, Gottfried} ,
doi = { 10.18420/BTW2023-73 },
publisher = {Gesellschaft für Informatik e.V.},
address = {}
}
author = {Fischer, Tim},
title = {To Iterate Is Human, to Recurse Is Divine --- Mapping Iterative Python to Recursive SQL},
booktitle = {BTW 2023},
year = {2023},
editor = {König-Ries, Birgitta AND Scherzinger, Stefanie AND Lehner, Wolfgang AND Vossen, Gottfried} ,
doi = { 10.18420/BTW2023-73 },
publisher = {Gesellschaft für Informatik e.V.},
address = {}
}
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.18420/BTW2023-73
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Send Feedback
More Info
DOI: 10.18420/BTW2023-73
ISBN: 978-3-88579-725-8
xmlui.MetaDataDisplay.field.date: 2023
Language:
(en)

Content Type: Text/Conference Paper