The complete story of joins (in hyper)

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

7 Scopus citations

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.

Original languageEnglish
Title of host publicationDatenbanksysteme fur Business, Technologie und Web, BTW 2017 - 17. Fachtagung des GI-Fachbereichs "Datenbanken und Informationssysteme�, DBIS 2017, Proceedings
EditorsBernhard Mitschang, Daniela Nicklas, Frank Leymann, Harald Schoning, Melanie Herschel, Jens Teubner, Theo Harder
PublisherGesellschaft fur Informatik (GI)
Pages31-50
Number of pages20
ISBN (Electronic)9783885796596
StatePublished - 2017
EventDatenbanksysteme 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 - Stuttgart, Germany
Duration: 6 Mar 201710 Mar 2017

Publication series

NameLecture Notes in Informatics (LNI), Proceedings - Series of the Gesellschaft fur Informatik (GI)
Volume265
ISSN (Print)1617-5468

Conference

ConferenceDatenbanksysteme 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
Country/TerritoryGermany
CityStuttgart
Period6/03/1710/03/17

Fingerprint

Dive into the research topics of 'The complete story of joins (in hyper)'. Together they form a unique fingerprint.

Cite this