计算机科学 > 数据库
[提交于 2024年11月6日]
标题:The Unreasonable Effectiveness of LLMs for Query Optimization
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Recent work in database query optimization has used complex machine learning strategies, such as customized reinforcement learning schemes. Surprisingly, we show that LLM embeddings of query text contain useful semantic information for query optimization. Specifically, we show that a simple binary classifier deciding between alternative query plans, trained only on a small number of labeled embedded query vectors, can outperform existing heuristic systems. Although we only present some preliminary results, an LLM-powered query optimizer could provide significant benefits, both in terms of performance and simplicity.
提交历史
来自:Peter Akioyamen[v1] 2024年11月6日 星期三 00:00:00 UTC