Title :
Kruskal´s Algorithm for Query Tree Optimization
Author :
Guttoski, Pryscila Barvik ; Sunye, Marcos Sfair ; Silva, Fabiano
Author_Institution :
Univ. Fed. do Parana, Curitiba
Abstract :
This paper describes an implementation of Kruskal´s algorithm in query optimization process for generation of a near optimal execution query tree. The open source Post- greSQL DBMS was used in the experiments since its query optimization is performed by dynamic programming and genetic algorithm, which allows a concrete comparison with our approach. Kruskal´s algorithm presents some advantages like its simplified code, its polynomial-time execution and the reduced search space to generate only one query tree, that will be the optimal tree. In most experiments, Kruskal´s algorithm got the expected results in almost the same time as the results achieved by default Post- greSQL´s optimization algorithms. The results confirm that Kruskal´s algorithm is a feasible method for query optimization.
Keywords :
SQL; database management systems; dynamic programming; genetic algorithms; polynomials; query processing; dynamic programming; genetic algorithm; near optimal execution query tree; open source post-greSQL DBMS; polynomial-time execution; query tree optimization; Cost function; Databases; Dynamic programming; Genetic algorithms; Greedy algorithms; Heuristic algorithms; Information retrieval; Polynomials; Query processing; Tree graphs;
Conference_Titel :
Database Engineering and Applications Symposium, 2007. IDEAS 2007. 11th International
Conference_Location :
Banff, Alta.
Print_ISBN :
978-0-7695-2947-9
DOI :
10.1109/IDEAS.2007.4318118