Degradation of Complexity for Join Enumeration via Weight Measure on CMP

Yongheng Chen,Kerui Chen,YaoJin Lin
DOI: https://doi.org/10.12785/amis/090339
2015-01-01
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 pr ogramming 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 W eighted Edge Join Graph (WEJG) according to the edge weight and constructs all partial order join and partial order graph wi thin WEJG. Then the global optimal query plan is achieved according to the parallelize top-down enumeration. Our theoretical result s 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.
What problem does this paper attempt to address?