Paper · 2023 · Open access
Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization
IT University Of Copenhagen (IT University of Copenhagen), 535–554 · Published 1 January 2023 · DOI 10.18420/btw2023-25
In brief
“Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization” is a 2023 paper by Behr, Henriette and 2 co-authors, published in IT University Of Copenhagen (IT University of Copenhagen). OpenAlex counts 9 citations as of 5 December 2026. It is open access: the full text is free to read at IT University Of Copenhagen (IT University of Copenhagen).
- Citations
- 9
- Most cited in
- 2024 (3)
- Field-weighted impact
- 1.17
- Authors
- 3
Abstract
Query optimization is crucial for any data management system to achieve good performance. Recent advancements in Machine Learning (ML) have led to several efforts in the database research community that aim at improving query optimization with the help of ML. In particular, many works propose replacing the cost model used during plan enumeration with an ML model. The goal of these works is to learn a regression model from previously executed query plans that estimates the runtime of a given plan. Interestingly, it is well-known that what really matters in query optimization is the order of the query plans and not their actual cost or runtime. We thus take a learning-to-rank approach and propose a novel neural network model architecture that considers a plan in comparison with other equivalent plans that belong to the same query. We use our model architecture together with a loss function that incorporates ranking metrics into the learning process to highlight the learning-to-rank objective. To enable training, we first extract features from query plans by adapting a state-of-the-art deep learning approach so that all features are independent of the input dataset schema. Second, we devise two score functions that map the runtime of plans to scores which are then used as labels. We integrate the trained model into an adapted bottom-up plan enumeration algorithm that finds the best possible execution plan for a given query. We evaluate our approach against two state-of-the-art ML models and the highly tuned cost model of a commercial database and measure the runtime of the plans chosen in each case when executed in the database. We show that our approach achieves up to an order of magnitude better query performance than the comparison models and is able to either match (for short and medium-running queries) or outperform the commercial database (up to 5x for long-running queries).
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Henriette, B., Markl, V., & Kaoudi, Z. (2023). Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization. IT University Of Copenhagen (IT University of Copenhagen), 535–554. https://doi.org/10.18420/btw2023-25
MLA 9
Henriette, Behr,, et al. “Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization.” IT University Of Copenhagen (IT University of Copenhagen), 2023, pp. 535–554. https://doi.org/10.18420/btw2023-25.
Chicago
Henriette, Behr,, Volker Markl, and Zoi Kaoudi. 2023. “Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization.” IT University Of Copenhagen (IT University of Copenhagen): 535–554. https://doi.org/10.18420/btw2023-25.
Harvard
Henriette, B., Markl, V. and Kaoudi, Z. (2023) ‘Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization’, IT University Of Copenhagen (IT University of Copenhagen), pp. 535–554. doi:10.18420/btw2023-25.
IEEE
B. Henriette, V. Markl, and Z. Kaoudi, “Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization,” IT University Of Copenhagen (IT University of Copenhagen), pp. 535–554, 2023, doi: 10.18420/btw2023-25.
BibTeX
@article{henriette2023learn,
title = {{Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization}},
author = {Henriette, Behr, and Markl, Volker and Kaoudi, Zoi},
journal = {IT University Of Copenhagen (IT University of Copenhagen)},
year = {2023},
pages = {535--554},
doi = {10.18420/btw2023-25},
url = {https://doi.org/10.18420/btw2023-25}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Citations by year
| Year | Citations | Share of the best year |
|---|---|---|
| 2023 | 1 | |
| 2024 | 3 | |
| 2025 | 3 | |
| 2026 | 2 |
Its field-weighted citation impact is 1.17: it has been cited 1.17 times as often as the average work of the same field, type and year (1.00 is the world average).
Topic and keywords
Physical Sciences › Computer Science › Information Systems › Advanced Database Systems and Queries
- query optimization
- learning to rank
- neural network architecture
- cost model
- database performance
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Henriette, B., Markl, V., & Kaoudi, Z. (2023). Learn What Really Matters: A Learning-to-Rank Approach for ML-based Query Optimization. IT University Of Copenhagen (IT University of Copenhagen), 535–554. https://doi.org/10.18420/btw2023-25
How many times has this paper been cited?
9 times, according to OpenAlex on 5 December 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at IT University Of Copenhagen (IT University of Copenhagen): sign in and open the full text from this page.
Who wrote this paper?
Behr, Henriette, Volker Markl, Zoi Kaoudi.
What is the DOI of this paper?
10.18420/btw2023-25, permanently at https://doi.org/10.18420/btw2023-25. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 5 December 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.