Logo des Repositoriums
 
Textdokument

Aggregate-based Training Phase for ML-based Cardinality Estimation

Vorschaubild nicht verfügbar

Volltext URI

Dokumententyp

Zusatzinformation

Datum

2021

Zeitschriftentitel

ISSN der Zeitschrift

Bandtitel

Quelle

Verlag

Gesellschaft für Informatik, Bonn

Zusammenfassung

Cardinality estimation is a fundamental task in database query processing and optimization. As shown in recent papers, machine learning (ML)-based approaches may deliver more accurate cardinality estimations than traditional approaches. However, a lot of training queries have to be executed during the model training phase to learn a data-dependent ML model making it very time-consuming. Many of those training or example queries use the same base data, have the same query structure, and only differ in their selective predicates. To speed up the model training phase, our core idea is to determine a predicate-independent pre-aggregation of the base data and to execute the example queries over this pre-aggregated data. Based on this idea, we present a specific aggregate-based training phase for ML-based cardinality estimation approaches in this paper. As we are going to show with different workloads in our evaluation, we are able to achieve an average speedup of 63 with our aggregate-based training phase and thus outperform indexes.

Beschreibung

Woltmann, Lucas; Hartmann, Claudio; Habich, Dirk; Lehner, Wolfgang (2021): Aggregate-based Training Phase for ML-based Cardinality Estimation. BTW 2021. DOI: 10.18420/btw2021-07. Gesellschaft für Informatik, Bonn. PISSN: 1617-5468. ISBN: 978-3-88579-705-0. pp. 135-154. ML & Data Science. Dresden. 13.-17. September 2021

Zitierform

Tags