Optimal Join Algorithms Meet Top- k

have been studied intensively in the database community and they are an important means to reduce query cost when only the "best" or "most interesting" results are needed instead of the full output. While some optimality results exist, e.g., the famous Threshold Algorithm, they h...

Full description

Saved in:
Bibliographic Details
Published inProceedings - ACM-SIGMOD International Conference on Management of Data Vol. 2020; p. 2659
Main Authors Tziavelis, Nikolaos, Gatterbauer, Wolfgang, Riedewald, Mirek
Format Journal Article Conference Proceeding
LanguageEnglish
Published United States 01.06.2020
Online AccessGet full text
ISSN0730-8078
DOI10.1145/3318464.3383132

Cover

More Information
Summary:have been studied intensively in the database community and they are an important means to reduce query cost when only the "best" or "most interesting" results are needed instead of the full output. While some optimality results exist, e.g., the famous Threshold Algorithm, they hold only in a fairly limited model of computation that does not account for the cost incurred by large intermediate results and hence is not aligned with typical database-optimizer cost models. On the other hand, the idea of avoiding large intermediate results is arguably the main goal of recent work on , which uses the standard RAM model of computation to determine algorithm complexity. This research has created a lot of excitement due to its promise of reducing the time complexity of join queries with cycles, but it has mostly focused on full-output computation. We argue that the two areas can and should be studied from a unified point of view in order to achieve optimality in the common model of computation for a very general class of top- -style join queries. This tutorial has two main objectives. First, we will explore and contrast the main assumptions, concepts, and algorithmic achievements of the two research areas. Second, we will cover recent, as well as some older, approaches that emerged at the intersection to support efficient . These are related to classic work on -shortest path algorithms and more general optimization problems, some of which dates back to the 1950s. We demonstrate that this line of research warrants renewed attention in the challenging context of ranked enumeration for general join queries.
ISSN:0730-8078
DOI:10.1145/3318464.3383132