Test-Time Optimization of Physical Query Plans with LLMs
11 Feb · Mehmet Hamza Erol, Xiangpeng Hao, Federico Bianchi +3 · arXiv:2602.10387
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 requires substantial engineering effort, yet they often cannot exploit semantic correlations in queries and schemas that could enable better physical plans. Large language models (LLMs), however, can reason about column…