Logo des Repositoriums
 
Konferenzbeitrag

PostBOUND: PostgreSQL with Upper Bound SPJ Query Optimization

Vorschaubild nicht verfügbar

Volltext URI

Dokumententyp

Text/Conference Paper

Zusatzinformation

Datum

2023

Zeitschriftentitel

ISSN der Zeitschrift

Bandtitel

Quelle

Verlag

Gesellschaft für Informatik e.V.

Zusammenfassung

A variety of query optimization papers have shown the disastrous effect of poor cardinality estimates on the overall run time for arbitrary select-project-join (SPJ) queries.Especially, underestimating join cardinalities for multi-joins can lead to catastrophic join orderings. A promising solution to overcome this problem is query optimization based on upper bounds for the join cardinalities. In this domain, our proposed UES concept is presently the most efficient technique featuring a simple, yet effective upper bound for an arbitrary number of joins. To foster research in that direction, we introduce PostBOUND, our generalized framework making upper bound SPJ query optimization a first class citizen in PostgreSQL.PostBOUND provides abstractions to calculate arbitrary upper bounds, to model joins required by an SPJ query and to iteratively construct an optimized join order.To highlight the extensibility of PostBOUND and to show the research potential, we additionally present two tighter upper bound UES variants using top-k statistics in this paper.In our evaluation, we show the efficiency and applicability of PostBOUND on different workloads as well as using different PostgreSQL versions. Additionally, we evaluate both presented tighter upper bound variant ideas.

Beschreibung

Bergmann, Rico; Hertzschuch, Axel; Hartmann, Claudio; Habich, Dirk; Lehner, Wolfgang (2023): PostBOUND: PostgreSQL with Upper Bound SPJ Query Optimization. BTW 2023. DOI: 10.18420/BTW2023-14. Bonn: Gesellschaft für Informatik e.V.. ISBN: 978-3-88579-725-8. pp. 283-304. Dresden, Germany. 06.-10. März 2023

Zitierform

Tags