Lune

VLDB2025顶会

PAR2QO: Parametric Penalty-Aware Robust Query Optimization

Haibo Xiu, Yang Li, Qianyu Yang, Pankaj Agarwal, Jun Yang

摘要

Parametric Query Optimization (PQO) is an important problem in database systems, yet existing approaches suffer from high training costs, sensitivity to estimation errors, and vulnerability to severe performance regressions. This paper introduces PAR 2 QO (PARametric Penalty-Aware Robust Query Optimization), a system that integrates robust query optimization into PQO. PAR 2 QO strategically obtains plans from a well-balanced set of probe locations informed by the workload, and caches them as plan-penalty profiles. At runtime, PAR 2 QO selects the plan with the lowest expected penalty, explicitly accounting for selectivity uncertainties. Extensive experiments show that PAR 2 QO delivers significant speedups over existing methods while ensuring robustness against performance degradation. Additionally, we introduce CARVER , a workload generator aimed at covering possible cardinalities of subqueries. Not only does CARVER provide a more comprehensive way to evaluate PQO methods, but when used for training learned methods, it can also enhance their generalizability and stability.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Leveraging Query Logs and Machine Learning for Parametric Query Optimization 引用了 Bao: Making Learned Query Optimization Practical
  • DSB: A Decision Support Benchmark for Workload-Driven and Traditional Database Systems 引用了 Bao: Making Learned Query Optimization Practical
  • Kepler: Robust Learning for Parametric Query Optimization 引用了 Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation
  • Kepler: Robust Learning for Parametric Query Optimization 引用了 Bao: Making Learned Query Optimization Practical
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper9

  1. Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul 等SIGMOD 2021 · 242 次引用
  2. Cardinality Estimation in DBMS: A Comprehensive Benchmark EvaluationYuxing Han, Ziniu Wu, Peizhi Wu, Rong Zhu 等VLDB 2022 · 169 次引用
  3. DSB: A Decision Support Benchmark for Workload-Driven and Traditional Database SystemsBailu Ding, Surajit Chaudhuri, Johannes Gehrke, Vivek R. NarasayyaVLDB 2021 · 62 次引用
  4. Kepler: Robust Learning for Parametric Query OptimizationLyric Doshi, Vincent Zhuang, Gaurav Jain, Ryan Marcus 等SIGMOD 2023 · 35 次引用
  5. Leveraging Query Logs and Machine Learning for Parametric Query OptimizationKapil Vaidya, Anshuman Dutt, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2022 · 20 次引用

相关 Paper

  1. PARQO: Penalty-Aware Robust Plan Selection in Query OptimizationHaibo Xiu, Pankaj K. Agarwal, Jun YangVLDB 2024 · 8 次引用
  2. Practical Parameterized Query Optimization via Efficient Plan Reuse and List-wise RankingHai Lan, Yang Yu, Zhifeng Bao, Zi Huang 等SIGMOD 2026
  3. RankPQO: Learning-to-Rank for Parametric Query OptimizationSongsong Mo, Yue Zhao, Zhifeng Bao, Quanqing Xu 等VLDB 2025 · 3 次引用
  4. Robust Plan Evaluation based on Approximate Probabilistic Machine LearningAmin Kamali, Verena Kantere, Calisto Zuzarte, Vincent CorvinelliVLDB 2025 · 1 次引用
  5. APQO: An Adaptive Framework for Parametric Query OptimizationSijia Li, Peng Cai, Zhifan Zhang, Huiqi Hu 等SIGMOD 2026 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖