跳到主要导航 跳到搜索 跳到主要内容

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

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

科研成果: 期刊稿件会议文章同行评审

摘要

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.

源语言英语
页(从-至)1674-1687
页数14
期刊Proceedings of the VLDB Endowment
19
7
DOI
出版状态已出版 - 2026
活动52nd International Conference on Very Large Data Bases, VLDB 2026 - Boston, 美国
期限: 31 8月 20264 9月 2026

指纹

探究 'OBELISK: Efficient Offline Query Planning with Bayesian Optimization-Informed Language Model Reasoning' 的科研主题。它们共同构成独一无二的指纹。

引用此