Applied Mathematics & Information Sciences
Abstract
Most contemporary database systems query optimizers exploit System-R’s Bottom-Up dynamic programming method (DP) to find the optimal query execution plan (QEP). The dynamic programming algorithm has a worst case running time, thus for queries with more than 10 joins, it becomes infeasible. To resolve this problem, random strategies are used. In this paper we propose a parallel top-down join enumeration algorithm that is optimal with respect to the partial order graph based on Chip Multi-Processor (CMP). This paper firstly transforms the undirected query graph to Weighted Edge Join Graph (WEJG) according to the edge weight and constructs all partial order join and partial order graph within WEJG. Then the global optimal query plan is achieved according to the parallelize top-down enumeration. Our theoretical results and empirical evaluation show that our algorithm could gracefully degrade the complexity degree for top-down join enumeration with large number of tables and gains impressive in the performance in terms of both output quality and running time.
Recommended Citation
Chen, Yongheng; Chen, Kerui; and Lin, YaoJin
(2015)
"Degradation of Complexity for Join Enumeration via Weight Measure on CMP,"
Applied Mathematics & Information Sciences: Vol. 09:
Iss.
3, Article 39.
Available at:
https://digitalcommons.aaru.edu.jo/amis/vol09/iss3/39