The Complete Story of Joins (inHyPer)
Abstract
SQL has evolved into an (almost) fully orthogonal query language that allows (arbitrarily deeply) nested subqueries in nearly all parts of the query. In order to avoid recursive evaluation strategies which incur unbearable O(n2) runtime we need an extended relational algebra to translate such subqueries into non-standard join operators. This paper concentrates on the non-standard join operators beyond the classical textbook inner joins, outer joins and (anti) semi joins. Their implementations in HyPer were covered in previous publications which we refer to. In this paper we cover the new join operators mark-join and single-join at both levels: At the logical level we show the translation and reordering possibilities in order to e ectively optimize the resulting query plans. At the physical level we describe hash-based and block-nested loop implementations of these new joins. Based on our database system HyPer, we describe a blue print for the complete query translation and optimization pipeline. The practical need for the advanced join operators is proven by an analysis of the two well known TPC-H and TPC-DS benchmarks which revealed that all variants are actually used in these query sets.
- Citation
- BibTeX
Neumann, T., Leis, V. & Kemper, A.,
(2017).
The Complete Story of Joins (inHyPer).
In:
Mitschang, B., Nicklas, D., Leymann, F., Schöning, H., Herschel, M., Teubner, J., Härder, T., Kopp, O. & Wieland, M.
(Hrsg.),
Datenbanksysteme für Business, Technologie und Web (BTW 2017).
Gesellschaft für Informatik, Bonn.
(S. 31-50).
@inproceedings{mci/Neumann2017,
author = {Neumann, Thomas AND Leis, Viktor AND Kemper, Alfons},
title = {The Complete Story of Joins (inHyPer)},
booktitle = {Datenbanksysteme für Business, Technologie und Web (BTW 2017)},
year = {2017},
editor = {Mitschang, Bernhard AND Nicklas, Daniela AND Leymann, Frank AND Schöning, Harald AND Herschel, Melanie AND Teubner, Jens AND Härder, Theo AND Kopp, Oliver AND Wieland, Matthias} ,
pages = { 31-50 },
publisher = {Gesellschaft für Informatik, Bonn},
address = {}
}
author = {Neumann, Thomas AND Leis, Viktor AND Kemper, Alfons},
title = {The Complete Story of Joins (inHyPer)},
booktitle = {Datenbanksysteme für Business, Technologie und Web (BTW 2017)},
year = {2017},
editor = {Mitschang, Bernhard AND Nicklas, Daniela AND Leymann, Frank AND Schöning, Harald AND Herschel, Melanie AND Teubner, Jens AND Härder, Theo AND Kopp, Oliver AND Wieland, Matthias} ,
pages = { 31-50 },
publisher = {Gesellschaft für Informatik, Bonn},
address = {}
}
Dateien | Groesse | Format | Anzeige | |
---|---|---|---|---|
paper04.pdf | 538.2Kb | View/ |
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Send Feedback
More Info
ISBN: 978-3-88579-659-6
ISSN: 1617-5468
xmlui.MetaDataDisplay.field.date: 2017
Language:
(en)

Content Type: Text/Conference Paper