Is Your Learned Query Optimizer Behaving As You Expect? A Machine Learning Perspective
Claude Lehmann, Pavel Sulimov, and Kurt Stockinger

TL;DR
This paper introduces a standardized benchmarking framework for learned query optimizers, evaluates existing methods, and finds PostgreSQL often outperforms learned optimizers across various tests.
Contribution
It proposes a comprehensive ML pipeline for evaluating learned query optimizers and provides a rigorous comparison showing PostgreSQL's strong performance.
Findings
PostgreSQL outperforms learned query optimizers in most tests.
Standardized benchmarking framework for LQOs is introduced.
Insights into ML pipeline stages specific to query optimization.
Abstract
The current boom of learned query optimizers (LQO) can be explained not only by the general continuous improvement of deep learning (DL) methods but also by the straightforward formulation of a query optimization problem (QOP) as a machine learning (ML) one. The idea is often to replace dynamic programming approaches, widespread for solving QOP, with more powerful methods such as reinforcement learning. However, such a rapid "game change" in the field of QOP could not pass without consequences - other parts of the ML pipeline, except for predictive model development, have large improvement potential. For instance, different LQOs introduce their own restrictions on training data generation from queries, use an arbitrary train/validation approach, and evaluate on a voluntary split of benchmark queries. In this paper, we attempt to standardize the ML pipeline for evaluating LQOs by…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Data Classification · Data Stream Mining Techniques · Machine Learning and Algorithms
