Guardado en:
Detalles Bibliográficos
Autores principales: Erol, Mehmet Hamza, Hao, Xiangpeng, Bianchi, Federico, Greco, Ciro, Tagliabue, Jacopo, Zou, James
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:https://arxiv.org/abs/2602.10387
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918331951349760
author Erol, Mehmet Hamza
Hao, Xiangpeng
Bianchi, Federico
Greco, Ciro
Tagliabue, Jacopo
Zou, James
author_facet Erol, Mehmet Hamza
Hao, Xiangpeng
Bianchi, Federico
Greco, Ciro
Tagliabue, Jacopo
Zou, James
contents Traditional query optimization relies on cost-based optimizers that estimate execution cost (e.g., runtime, memory, and I/O) using predefined heuristics and statistical models. Improving these heuristics requires substantial engineering effort, and even when implemented, these heuristics often cannot take into account semantic correlations in queries and schemas that could enable better physical plans. Using our DBPlanBench harness for the DataFusion engine, we expose the physical plan through a compact serialized representation and let the LLM propose localized edits that can be applied and executed. We then apply an evolutionary search over these edits to refine candidates across iterations. Our key insight is that LLMs can leverage semantic knowledge to identify and apply non-obvious optimizations, such as join orderings that minimize intermediate cardinalities. We obtain up to 4.78$\times$ speedups on some queries and we demonstrate a small-to-large workflow in which optimizations found on small databases transfer effectively to larger databases.
format Preprint
id arxiv_https___arxiv_org_abs_2602_10387
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Making Databases Faster with LLM Evolutionary Sampling
Erol, Mehmet Hamza
Hao, Xiangpeng
Bianchi, Federico
Greco, Ciro
Tagliabue, Jacopo
Zou, James
Databases
Artificial Intelligence
Traditional query optimization relies on cost-based optimizers that estimate execution cost (e.g., runtime, memory, and I/O) using predefined heuristics and statistical models. Improving these heuristics requires substantial engineering effort, and even when implemented, these heuristics often cannot take into account semantic correlations in queries and schemas that could enable better physical plans. Using our DBPlanBench harness for the DataFusion engine, we expose the physical plan through a compact serialized representation and let the LLM propose localized edits that can be applied and executed. We then apply an evolutionary search over these edits to refine candidates across iterations. Our key insight is that LLMs can leverage semantic knowledge to identify and apply non-obvious optimizations, such as join orderings that minimize intermediate cardinalities. We obtain up to 4.78$\times$ speedups on some queries and we demonstrate a small-to-large workflow in which optimizations found on small databases transfer effectively to larger databases.
title Making Databases Faster with LLM Evolutionary Sampling
topic Databases
Artificial Intelligence
url https://arxiv.org/abs/2602.10387