Back to papers
SEFRQO: A Self-Evolving Fine-Tuned RAG-Based Query Optimizer
Summary: SEFRQO is a self-evolving RAG-based query optimizer that fine-tunes LLMs (supervised + reinforcement) to produce performance-oriented query hints by retrieving execution-feedback. It dynamically builds prompts from similar queries and per-query execution records for continual in-context learning, cutting latency up to ~65–94% vs prior LQOs.
(summarized by gpt-5-mini on Feb 11 2026)
Paper ID
hddeec3dcd78afb60
Venue
SIGMOD
Year
2026
Pagerank
4.9605343e-05
Overall Rank
10,668 | 28.50%
DOI
10.1145/3769826
PDF
Download
(CC BY 4.0)
Incoming Non-self Citations Over Time
No non-self incoming citations found for this paper in this database.
BibTeX Citation
Copy BibTeX
@inproceedings{liu_sigmod26,
title = {{SEFRQO: A Self-Evolving Fine-Tuned RAG-Based Query Optimizer}},
author = {Liu, Hanwen and Zhang, Qihan and Marcus, Ryan and Sabek, Ibrahim},
series = {{SIGMOD} '26},
booktitle = {Proceedings of the {ACM} {SIGMOD} International Conference on Management of Data},
publisher = {Association for Computing Machinery},
doi = {10.1145/3769826},
url = {https://dl.acm.org/doi/10.1145/3769826},
year = {2026}
}
Incoming Citations (Sorted by Pagerank)
Showing 2 of 2 citing papers.
Outgoing Citations (Sorted by Pagerank)
Showing 22 of 22 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
Rank
Cited Paper
Year
Venue
Pagerank
15
How Good Are Query Optimizers, Really?
2016
VLDB
0.00061463175
142
Neo: A Learned Query Optimizer
2019
VLDB
0.00029114937
163
Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
2024
VLDB
0.00027456647
181
Milvus: A Purpose-Built Vector Data Management System
2021
SIGMOD
0.00026425782
355
Bao: Making Learned Query Optimization Practical
2021
SIGMOD
0.00020146245
605
CAESURA: Language Models as Multi-Modal Query Planners
2024
CIDR
0.00015630219
1,175
Balsa: Learning a Query Optimizer Without Expert Demonstrations
2022
SIGMOD
0.00011630532
1,238
DB-BERT: A Database Tuning Tool that "Reads the Manual"
2022
SIGMOD
0.00011375179
1,740
Flow-Loss: Learning Cardinality Estimates That Matter
2021
VLDB
9.7289523e-05
2,190
Lero: A Learning-to-Rank Query Optimizer
2023
VLDB
8.8848923e-05
2,227
GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization
2024
VLDB
8.7924681e-05
2,696
Cost-based or Learning-based? A Hybrid Query Optimizer for Query Plan Selection
2022
VLDB
8.1068354e-05
3,481
LOGER: A Learned Optimizer towards Generating Efficient and Robust Query Execution Plans
2023
VLDB
7.2463722e-05
3,951
Deploying a Steered Query Optimizer in Production at Microsoft
2022
SIGMOD
6.8884038e-05
4,202
Kepler: Robust Learning for Faster Parametric Query Optimization
2023
SIGMOD
6.7258607e-05
4,247
LEON: A New Framework for ML-Aided Query Optimization
2023
VLDB
6.6920059e-05
4,383
R-Bot: An LLM-based Query Rewrite System
2025
VLDB
6.6140223e-05
5,245
FASTgres: Making Learned Query Optimizer Hinting Effective
2023
VLDB
6.1995935e-05
5,794
Lemo: A Cache-Enhanced Learned Optimizer for Concurrent Queries
2023
SIGMOD
5.9759435e-05
6,085
Demonstrating GPT-DB: Generating Query-Specific and Customizable Code for SQL Processing with GPT-4
2023
VLDB
5.8745517e-05
6,584
Can Large Language Models Be Query Optimizer for Relational Databases?
2026
SIGMOD
5.72395e-05
8,037
Generating Succinct Descriptions of Database Schemata for Cost-Efficient Prompting of Large Language Models
2024
VLDB
5.3863017e-05
Semantically Similar Papers
#
Overall Rank
Paper
Year
Venue
1
3,717
Logical and Physical Optimizations for SQL Query Execution over Large Language Models
2025
SIGMOD
2
10,960
RAGPerf: An End-to-End Benchmarking Framework for Retrieval-Augmented Generation Systems
2026
VLDB
3
6,109
Is Your Learned Query Optimizer Behaving As You Expect? A Machine Learning Perspective
2024
VLDB
4
1,956
LLM-R^2: A Large Language Model Enhanced Rule-based Rewrite System for Boosting Query Efficiency
2025
VLDB
5
10,758
SchemaRAG: A Schema-aware Retrieval-Augmented Generation Framework for Text-to-SQL
2026
SIGMOD
6
4,383
R-Bot: An LLM-based Query Rewrite System
2025
VLDB
7
9,754
Leveraging Query Optimizers to Verify the Soundness of LLM-based Query Rewrites for Real-World Workloads, and More!
2026
CIDR
8
10,851
SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL
2026
VLDB
9
10,903
ReSequel: Robust LLM-assisted Query Rewriting and Optimization using Templatization and Sampling
2026
VLDB
10
6,584
Can Large Language Models Be Query Optimizer for Relational Databases?
2026
SIGMOD