Skip to main content

PAR2QO: Parametric Penalty-Aware Robust Query Optimization

Publication ,  Conference
Xiu, H; Li, Y; Yang, Q; Agarwal, PK; Yang, J
Published in: Proceedings of the VLDB Endowment
January 1, 2025

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 PAR2QO (PARametric Penalty-Aware Robust Query Optimization), a system that integrates robust query optimization into PQO. PAR2QO strategically obtains plans from a well-balanced set of probe locations informed by the workload, and caches them as plan-penalty profiles. At runtime, PAR2QO selects the plan with the lowest expected penalty, explicitly accounting for selectivity uncertainties. Extensive experiments show that PAR2QO 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.

Duke Scholars

Published In

Proceedings of the VLDB Endowment

DOI

EISSN

2150-8097

Publication Date

January 1, 2025

Volume

18

Issue

11

Start / End Page

4532 / 4545

Related Subject Headings

  • 4605 Data management and data science
  • 0807 Library and Information Studies
  • 0806 Information Systems
  • 0802 Computation Theory and Mathematics
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Xiu, H., Li, Y., Yang, Q., Agarwal, P. K., & Yang, J. (2025). PAR2QO: Parametric Penalty-Aware Robust Query Optimization. In Proceedings of the VLDB Endowment (Vol. 18, pp. 4532–4545). https://doi.org/10.14778/3749646.3749711
Xiu, H., Y. Li, Q. Yang, P. K. Agarwal, and J. Yang. “PAR2QO: Parametric Penalty-Aware Robust Query Optimization.” In Proceedings of the VLDB Endowment, 18:4532–45, 2025. https://doi.org/10.14778/3749646.3749711.
Xiu H, Li Y, Yang Q, Agarwal PK, Yang J. PAR2QO: Parametric Penalty-Aware Robust Query Optimization. In: Proceedings of the VLDB Endowment. 2025. p. 4532–45.
Xiu, H., et al. “PAR2QO: Parametric Penalty-Aware Robust Query Optimization.” Proceedings of the VLDB Endowment, vol. 18, no. 11, 2025, pp. 4532–45. Scopus, doi:10.14778/3749646.3749711.
Xiu H, Li Y, Yang Q, Agarwal PK, Yang J. PAR2QO: Parametric Penalty-Aware Robust Query Optimization. Proceedings of the VLDB Endowment. 2025. p. 4532–4545.

Published In

Proceedings of the VLDB Endowment

DOI

EISSN

2150-8097

Publication Date

January 1, 2025

Volume

18

Issue

11

Start / End Page

4532 / 4545

Related Subject Headings

  • 4605 Data management and data science
  • 0807 Library and Information Studies
  • 0806 Information Systems
  • 0802 Computation Theory and Mathematics