LIMAO: A Framework for Lifelong Modular Learned Query Optimization
Qihan Zhang, Shaolin Xie, Ibrahim Sabek

TL;DR
LIMAO is a lifelong learning framework for query optimizers that adapts to dynamic environments, significantly improving performance and stability while mitigating catastrophic forgetting.
Contribution
It introduces a modular lifelong learning approach with an attention-based neural network architecture for query plan cost prediction in LQOs.
Findings
Up to 40% reduction in query execution time.
Variance of execution time reduced by up to 60%.
Achieves up to 4x speedup over Postgres on benchmarks.
Abstract
Query optimizers are crucial for the performance of database systems. Recently, many learned query optimizers (LQOs) have demonstrated significant performance improvements over traditional optimizers. However, most of them operate under a limited assumption: a static query environment. This limitation prevents them from effectively handling complex, dynamic query environments in real-world scenarios. Extensive retraining can lead to the well-known catastrophic forgetting problem, which reduces the LQO generalizability over time. In this paper, we address this limitation and introduce LIMAO (Lifelong Modular Learned Query Optimizer), a framework for lifelong learning of plan cost prediction that can be seamlessly integrated into existing LQOs. LIMAO leverages a modular lifelong learning technique, an attention-based neural network composition architecture, and an efficient training…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Cloud Computing and Resource Management · Data Management and Algorithms
