Low Rank Learning for Offline Query Optimization
Yi, Zixuan, Tian, Yao, Ives, Zachary G., Marcus, Ryan
–arXiv.org Artificial Intelligence
Recent deployments of learned query optimizers use expensive neural networks and ad-hoc search policies. To address these issues, we introduce \textsc{LimeQO}, a framework for offline query optimization leveraging low-rank learning to efficiently explore alternative query plans with minimal resource usage. By modeling the workload as a partially observed, low-rank matrix, we predict unobserved query plan latencies using purely linear methods, significantly reducing computational overhead compared to neural networks. We formalize offline exploration as an active learning problem, and present simple heuristics that reduces a 3-hour workload to 1.5 hours after just 1.5 hours of exploration. Additionally, we propose a transductive Tree Convolutional Neural Network (TCNN) that, despite higher computational costs, achieves the same workload reduction with only 0.5 hours of exploration. Unlike previous approaches that place expensive neural networks directly in the query processing ``hot'' path, our approach offers a low-overhead solution and a no-regressions guarantee, all without making assumptions about the underlying DBMS. The code is available in \href{https://github.com/zixy17/LimeQO}{https://github.com/zixy17/LimeQO}.
arXiv.org Artificial Intelligence
Apr-10-2025
- Country:
- Asia
- China > Hong Kong (0.04)
- Middle East > Palestine
- Gaza Strip > Rafah Governorate > Rafah (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Europe > Germany
- Berlin (0.05)
- North America > United States
- Arizona > Maricopa County
- Phoenix (0.04)
- California
- San Diego County > San Diego (0.04)
- San Francisco County > San Francisco (0.14)
- Illinois > Cook County
- Chicago (0.04)
- Massachusetts > Suffolk County
- Boston (0.04)
- New York > New York County
- New York City (0.04)
- Pennsylvania > Philadelphia County
- Philadelphia (0.04)
- Texas
- Dallas County > Dallas (0.04)
- Harris County > Houston (0.04)
- Arizona > Maricopa County
- Oceania > Australia
- New South Wales > Sydney (0.04)
- South America > Chile
- Asia
- Genre:
- Research Report (0.82)
- Industry:
- Education (0.48)