Efficient and extensible algorithms for multi query optimization

Citation
P. Roy et al., Efficient and extensible algorithms for multi query optimization, SIG RECORD, 29(2), 2000, pp. 249-260
Citations number
18
Categorie Soggetti
Computer Science & Engineering
Journal title
SIGMOD RECORD
ISSN journal
01635808 → ACNP
Volume
29
Issue
2
Year of publication
2000
Pages
249 - 260
Database
ISI
SICI code
0163-5808(200006)29:2<249:EAEAFM>2.0.ZU;2-9
Abstract
Complex queries are becoming commonplace, with the growing use of decision support systems. These complex queries often have a lot of common sub-expre ssions, either within a single query, or across multiple such queries run a s a batch. Multiquery optimization aims at exploiting common sub-expression s to reduce evaluation cost. Multi-query optimization has hither-to been vi ewed 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-bas ed heuristic algorithms: Volcano-SH and Volcano-RU, which are based on simp le modifications to the Volcano search strategy and a greedy heuristic. Our greedy heuristic incorporates novel optimizations that improve efficiency greatly Our algorithms are designed to be easily added to existing optimize rs. We present a performance study comparing the algorithms, using workload s consisting of queries from the TPC-D benchmark. The study shows that our algorithms provide significant benefits over traditional optimization, at a very acceptable overhead in optimization time.