Enabling Incremental Query Re-Optimization
Mengmeng Liu, Zachary G. Ives, and Boon Thau Loo

TL;DR
This paper introduces an incremental query re-optimization approach that allows adaptive, cost-based query plan updates in real-time environments, improving responsiveness over traditional non-incremental methods.
Contribution
It presents a novel incremental re-optimization architecture based on recursive datalog query enumeration, enabling faster adaptation in streaming and repeated query scenarios.
Findings
Supports cost-based initial optimization and frequent adaptivity
Effective pruning strategies for static and incremental cases
Implemented within an existing system demonstrating practical benefits
Abstract
As declarative query processing techniques expand in scope --- to the Web, data streams, network routers, and cloud platforms --- there is an increasing need for adaptive query processing techniques that can re-plan in the presence of failures or unanticipated performance changes. A status update on the data distributions or the compute nodes may have significant repercussions on the choice of which query plan should be running. Ideally, new system architectures would be able to make cost-based decisions about reallocating work, migrating data, etc., and react quickly as real-time status information becomes available. Existing cost-based query optimizers are not incremental in nature, and must be run "from scratch" upon each status or cost update. Hence, they generally result in adaptive schemes that can only react slowly to updates. An open question has been whether it is possible to…
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
