Query rewriting is crucial for optimizing poorly written queries to enhance database performance. Traditional methods have limitations, but GenRewrite introduces Natural Language Rewrite Rules (NLR2s) to leverage Large Language Models (LLMs) effectively. By iteratively correcting syntactic and semantic errors in rewritten queries, GenRewrite speeds up complex TPC queries by 2x-3.2x compared to traditional methods and 2.1x higher than LLM baseline.
Sang ngôn ngữ khác
từ nội dung nguồn
arxiv.org
Thông tin chi tiết chính được chắt lọc từ
by Jie Liu,Barz... lúc arxiv.org 03-15-2024
https://arxiv.org/pdf/2403.09060.pdfYêu cầu sâu hơn