arrow
Return

LEON+: towards robust ML-aided query optimization

delete2026-04-03
delete0
PRE
AI
X
Xu Chen
X
Ximu Zeng
Y
Yuze Wang
Z
Zibo Liang
K
Kai Zeng
H
Han Su *
K
Kai Zheng *
DOI:10.1007/s00778-026-00973-9delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Query optimization has long been a fundamental yet challenging topic in the database field. With the prosperity of machine learning (ML), some recent works have shown the advantages of reinforcement learning (RL) based learned query optimizer. However, they suffer from fundamental limitations due to the data-driven nature of ML. Motivated by the ML characteristics and database maturity, we propose LEON–a framework for ML-aidEd query OptimizatioN. LEON improves the expert query optimizer to self-adjust to the particular deployment by leveraging ML and the fundamental knowledge in the expert query optimizer. Different from the previous regression objective, we propose a pair-wise ranking objective and train a ranking model for plans. To help the optimizer escape the local minima and avoid failure, a ranking and uncertainty-based exploration strategy is proposed, which discovers the valuable plans to aid the optimizer. To enhance the robustness and practicality of our framework, we introduce an advanced version of the LEON framework, referred to as LEON+. By dynamically adjusting the optimization space, we significantly enhance the framework’s robustness against unseen workloads and drastically reduce the costs associated with exploration. We have seamlessly integrated the LEON+ framework into traditional optimizers, enabling unobtrusive and automated tuning. Extensive experiments offer evidence that the proposed framework can outperform the state-of-the-art methods in terms of end-to-end latency performance, training efficiency, and stability.
Keywords:
Query optimization
Learned query optimizer
Cost estimation
Ranking model

Journal

T
The VLDB Journal
IF:
0
Papers:
36
Citations:
0

Organization

U
university of electronic science and technology of china
Scholars:
1.3W
Papers: 4.8K
Citations: 4
Cited Papers

Cited Papers

QTune
err2019-08-01
err0
PREAI
errGuoliang Li; Xuanhe Zhou; Shifu Li; Bo Gao
errShare
errSave
errShare
errSave
Bao
err2022-06-01
err0
PREAI
errRyan Marcus; Parimarjan Negi; Hongzi Mao; Nesime Tatbul; Mohammad Alizadeh; Tim Kraska
errShare
errSave
Selectivity estimation for range predicates using lightweight models
err2019-05-01
err0
PREAI
errAnshuman Dutt; Chi Wang; Azade Nazi; Srikanth Kandula; Vivek Narasayya; Surajit Chaudhuri
errShare
errSave
Hands-On Bayesian Neural Networks-A Tutorial for Deep Learning Users
err2022-05-01
err296
errOAAI
errJospin, Laurent Valentin; Laga, Hamid; Boussaid, Farid; Buntine, Wray; Bennamoun, Mohammed
errShare
errSave
Multi-Task Deep Model With Margin Ranking Loss for Lung Nodule Analysis
err2020-03-01
err91
PREAI
errLiu, Lihao; Dou, Qi; Chen, Hao; Qin, Jing; Heng, Pheng-Ann
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
How good are query optimizers, really?
err2015-11-01
err0
errOAAI
errViktor Leis; Andrey Gubichev; Atanas Mirchev; Peter Boncz; Alfons Kemper; Thomas Neumann
errShare
errSave
Towards a learning optimizer for shared clouds
err2018-11-01
err0
PREAI
errChenggang Wu; Alekh Jindal; Saeed Amizadeh; Hiren Patel; Wangchao Le; Shi Qiao; Sriram Rao
errShare
errSave
Ensemble deep learning: A review
err2022-10-01
err0
errOAAI
errM.A. Ganaie; Minghui Hu; A.K. Malik; M. Tanveer; P.N. Suganthan
errShare
errSave
researcher View more