Skip to main navigation Skip to search Skip to main content

OBELISK: Efficient Offline Query Planning with Bayesian Optimization-Informed Language Model Reasoning

  • East China Normal University
  • PingCAP (US), Inc.
  • Hong Kong Baptist University

Research output: Contribution to journalConference articlepeer-review

Abstract

Query optimization (QO) remains a fundamental challenge in the database community. Despite decades of research, cost-based QO (CQO) is still susceptible to performance regressions due to inherent inaccuracies in cardinality estimation, cost modeling, and plan enumeration. To mitigate the instability, modern databases employ SQL plan management (SPM), which reuses curated plans and bypasses CQO. However, there exists a fundamental issue in SPM: how can we efficiently identify the optimal plans to manage? The existing approach falls short due to low generalizability and poor inter-pretability. Thus, we argue for revisiting this problem from a novel perspective, where we intervene in the sensitivity of CQO through well-designed cost scaling knobs. Nevertheless, this transformation poses three key challenges: (1) efficient search guidance, (2) comprehensive semantic utilization, and (3) cost-effective performance evaluation. To address these challenges, we propose OBELISK, an Offline Bayesian optimization-informed quEry pLannIng framework, with language model reaSoning over cost scaling Knobs. OBELISK is training-free and can efficiently find optimal query plan through a closed-loop process: a timeout-constrained Bayesian optimization technique to identify promising knob subspaces, thereby informing the search; a feedback-aware self-evolving reasoner to recommend knob configurations; and a lightweight evaluator with history-based admission gatekeeper to avoid redundant evaluations. Extensive experiments on well-established benchmarks demonstrate the effectiveness and superiority of our OBELISK.

Original languageEnglish
Pages (from-to)1674-1687
Number of pages14
JournalProceedings of the VLDB Endowment
Volume19
Issue number7
DOIs
StatePublished - 2026
Event52nd International Conference on Very Large Data Bases, VLDB 2026 - Boston, United States
Duration: 31 Aug 20264 Sep 2026

Fingerprint

Dive into the research topics of 'OBELISK: Efficient Offline Query Planning with Bayesian Optimization-Informed Language Model Reasoning'. Together they form a unique fingerprint.

Cite this