Title :
Optimizing join queries in distributed databases
Author :
Pramanik, Sakti ; Vineyard, David
Author_Institution :
Dept. of Comput. Sci., Michigan State Univ., East Lansing, MI, USA
fDate :
9/1/1988 12:00:00 AM
Abstract :
A reduced cover set of the set of full reducer semijoin programs for an acyclic query graph for a distributed database system is given. An algorithm is presented that determines the minimum cost full reducer program. The computational complexity of finding the optimal full reducer for a single relation is of the same order as that of finding the optimal full reducer for all relations. The optimization algorithm is able to handle query graphs where more than one attribute is common between the relations. A method for determining the optimum profitable semijoin program is presented. A low-cost algorithm which determines a near-optimal profitable semijoin program is outlined. This is done by converting a semijoin program into a partial order graph. This graph also allows one to maximize the concurrent processing of the semijoins. It is shown that the minimum response time is given by the largest cost path of the partial order graph. This reducibility is used as a post optimizer for the SSD-1 query optimization algorithm. It is shown that the least upper bound on the length of any profitable semijoin program is N(N-1) for a query graph of N nodes
Keywords :
computational complexity; database theory; distributed databases; graph theory; optimisation; acyclic query graph; computational complexity; concurrent processing; distributed database; distributed databases; join queries; minimum response time; optimization; partial order graph; reduced cover set; Computational complexity; Computer science; Cost function; Data communication; Database systems; Delay; Distributed databases; Greedy algorithms; Query processing; Upper bound;
Journal_Title :
Software Engineering, IEEE Transactions on