Lune

VLDB2025Top-tier venue

Robust Plan Evaluation based on Approximate Probabilistic Machine Learning

Amin Kamali, Verena Kantere, Calisto Zuzarte, Vincent Corvinelli

Abstract

Query optimizers in RDBMSs search for execution plans expected to be optimal for given queries. They use parameter estimates, often inaccurate, and make assumptions that may not hold in practice. Consequently, they may select plans that are suboptimal at runtime, if estimates and assumptions are not valid. Therefore, they do not sufficiently support robust query optimization. Using ML to improve data systems has shown promising results for query optimization. Inspired by this, we propose Robust Query Optimizer, (Roq), a holistic framework based on a risk-aware learning approach. Roq includes a novel formalization of the notion of robustness in the context of query optimization and a principled approach for its quantification and measurement based on approximate probabilistic ML. It also includes novel strategies and algorithms for query plan evaluation and selection. Roq includes a novel learned cost model that is designed to predict the cost of query execution and the associated risks and performs query optimization accordingly. We demonstrate that Roq provides significant improvements in robust query optimization compared with the state-of-the-art.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Lero: A Learning-to-Rank Query Optimizer cites DeepDB: Learn from Data, not from Queries!
  • Lero: A Learning-to-Rank Query Optimizer cites Reinforcement Learning with Tree-LSTM for Join Order Selection
  • Lero: A Learning-to-Rank Query Optimizer cites Bao: Making Learned Query Optimization Practical
  • Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query Optimization cites Lero: A Learning-to-Rank Query Optimizer
  • Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query Optimization cites Reinforcement Learning with Tree-LSTM for Join Order Selection
  • Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query Optimization cites Flow-Loss: Learning Cardinality Estimates That Matter
  • Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query Optimization cites Bao: Making Learned Query Optimization Practical
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query OptimizationBaoming Chang, Amin Kamali, Verena KantereSIGMOD 2026 · 1 citation

Builds on12

  1. Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul et al.SIGMOD 2021 · 242 citations
  2. Reinforcement Learning with Tree-LSTM for Join Order SelectionXiang Yu, Guoliang Li, Chengliang Chai, Nan TangICDE 2020 · 168 citations
  3. DeepDB: Learn from Data, not from Queries!Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina et al.VLDB 2020 · 154 citations
  4. Lero: A Learning-to-Rank Query OptimizerRong Zhu, Wei Chen, Bolin Ding, Xingguang Chen et al.VLDB 2023 · 102 citations
  5. Flow-Loss: Learning Cardinality Estimates That MatterParimarjan Negi, Ryan Marcus, Andreas Kipf, Hongzi Mao et al.VLDB 2021 · 102 citations

Related papers

  1. How Good are Learned Cost Models, Really? Insights from Query Optimization TasksRoman Heinrich, Manisha Luthra, Johannes Wehrstein, Harald Kornmayer et al.SIGMOD 2025 · 13 citations
  2. Eraser: Eliminating Performance Regression on Learned Query OptimizerLianggui Weng, Rong Zhu, Di Wu, Bolin Ding et al.VLDB 2024 · 19 citations
  3. Kepler: Robust Learning for Parametric Query OptimizationLyric Doshi, Vincent Zhuang, Gaurav Jain, Ryan Marcus et al.SIGMOD 2023 · 35 citations
  4. Practical Parameterized Query Optimization via Efficient Plan Reuse and List-wise RankingHai Lan, Yang Yu, Zhifeng Bao, Zi Huang et al.SIGMOD 2026
  5. ROME: Robust Query Optimization via Parallel Multi-Plan ExecutionZiyun Wei, Immanuel TrummerSIGMOD 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines