@inproceedings{0f7a6fbfdd0943718edb517ec3b1bf85,
title = "The complete story of joins (in hyper)",
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 effectively 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.",
author = "Thomas Neumann and Viktor Leis and Alfons Kemper",
note = "Publisher Copyright: {\textcopyright} 2017 Gesellschaft fur Informatik (GI). All rights reserved.; Datenbanksysteme fur Business, Technologie und Web, BTW 2017, 17. Fachtagung des GI-Fachbereichs {"}Datenbanken und Informationssysteme�, DBIS - Database Systems for Business, Technology and Web, BTW 2017, 17th Symposium of the GI Department {"}Databases and Information Systems{"}, DBIS ; Conference date: 06-03-2017 Through 10-03-2017",
year = "2017",
language = "English",
series = "Lecture Notes in Informatics (LNI), Proceedings - Series of the Gesellschaft fur Informatik (GI)",
publisher = "Gesellschaft fur Informatik (GI)",
pages = "31--50",
editor = "Bernhard Mitschang and Daniela Nicklas and Frank Leymann and Harald Schoning and Melanie Herschel and Jens Teubner and Theo Harder",
booktitle = "Datenbanksysteme fur Business, Technologie und Web, BTW 2017 - 17. Fachtagung des GI-Fachbereichs {"}Datenbanken und Informationssysteme�, DBIS 2017, Proceedings",
}