Efficient and Extensible Algorithms for Multi Query Optimization
Prasan Roy, S. Seshadri, S. Sudarshan, Siddhesh Bhobe

TL;DR
This paper introduces practical, heuristic algorithms for multi-query optimization that exploit common sub-expressions to significantly reduce evaluation costs in complex query workloads.
Contribution
It presents three new cost-based heuristic algorithms, including a greedy heuristic with novel optimizations, that are easy to integrate into existing query optimizers.
Findings
Algorithms outperform traditional optimization in reducing evaluation costs.
Significant benefits observed with acceptable optimization overhead.
Workload tests using TPC-D benchmark queries demonstrate effectiveness.
Abstract
Complex queries are becoming commonplace, with the growing use of decision support systems. These complex queries often have a lot of common sub-expressions, either within a single query, or across multiple such queries run as a batch. Multi-query optimization aims at exploiting common sub-expressions to reduce evaluation cost. Multi-query optimization has hither-to been viewed as impractical, since earlier algorithms were exhaustive, and explore a doubly exponential search space. In this paper we demonstrate that multi-query optimization using heuristics is practical, and provides significant benefits. We propose three cost-based heuristic algorithms: Volcano-SH and Volcano-RU, which are based on simple modifications to the Volcano search strategy, and a greedy heuristic. Our greedy heuristic incorporates novel optimizations that improve efficiency greatly. Our algorithms are…
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
TopicsGraph Theory and Algorithms · Cloud Computing and Resource Management · Data Management and Algorithms
