Query optimization for parallel machines needs to consider machine architecture, processor and memory resources available, and different types of parallelism, making the search space much larger than the sequential case. In this paper our aim is to determine a plan that makes the execution of an individual query very fast, making minimizing parallel execution time the right objective. This creates the following circular dependence: a plan tree is needed for effective resource assignment, which is needed to estimate the parallel execution time, and this is needed for the cost-based search for a good plan tree. In this paper we propose a new search heuristic that breaks the cycle by constructing the plan tree layer by layer in a bottom-up manner. To select nodes at the next level, the lower and upper bounds on the execution time for plans consistent with the decisions made so far are estimated and are used to guide the search. A query plan representation for intra- and inter-operator parallelism, pipelining, and processor and memory assignment is proposed. Also proposed is a new approach to estimating the parallel execution time of a plan that considers sum and mat of operators working sequentially and in parallel, respectively. The results obtained from a prototype optimizer are presented.
|Original language||English (US)|
|Title of host publication||Proceedings of the 2nd International Conference on Parallel and Distributed Information Systems, PDIS 1993|
|Publisher||Institute of Electrical and Electronics Engineers Inc.|
|Number of pages||9|
|ISBN (Electronic)||0818633301, 9780818633300|
|State||Published - 1993|
|Event||2nd International Conference on Parallel and Distributed Information Systems, PDIS 1993 - San Diego, United States|
Duration: Jan 20 1993 → Jan 22 1993
|Name||Proceedings of the 2nd International Conference on Parallel and Distributed Information Systems, PDIS 1993|
|Conference||2nd International Conference on Parallel and Distributed Information Systems, PDIS 1993|
|Period||1/20/93 → 1/22/93|
Bibliographical noteFunding Information:
'This work has been supported in part by the National Science Foundation through pant number RI-91-10584.
© 1993 IEEE.