Conference Paper

Optimizing Query Processing in PostgreSQL Through Learned Optimizer Hints

Loading...
Thumbnail Image

Fulltext URI

Document type

Text/Conference Paper

Additional Information

Date

2023

Journal Title

Journal ISSN

Volume Title

Source

Publisher

Gesellschaft für Informatik e.V.

Abstract

Query optimization in database systems is an important aspect and despite decades of research, it isstill far from being solved. Nowadays, query optimizers usually provide hints to be able to steer theoptimization on a query-by-query basis. However, setting the best-fitting hints is challenging. To tacklethat, we present a learning-based approach to predict the best-fitting hints for each incoming query. Inparticular, our learning approach is based on simple gradient boosting, where we learn one modelper query context for fine-grained predictions rather than a single global context-agnostic model asproposed in related work. We demonstrate the efficiency as well as effectiveness of our learning-basedapproach using the open-source database system PostgreSQL and show that our approach outperformsrelated work in that context.

Description

Thiessat, Jerome; Woltmann, Lucas; Hartmann, Claudio; Habich, Dirk (2023): Optimizing Query Processing in PostgreSQL Through Learned Optimizer Hints. BTW 2023. DOI: 10.18420/BTW2023-74. Bonn: Gesellschaft für Informatik e.V.. ISBN: 978-3-88579-725-8. pp. 1075-1081. Dresden, Germany. 06.-10. März 2023

Keywords

Query Optimization, Hint Set Prediction, Gradient Boosting

Citation

Endorsement

Review

Supplemented By

Referenced By

Show citations