Title :
Benchmarking two types of restricted transitive closure algorithms
Author :
Toptsis, Anestis A. ; Yu, Clement T. ; Nelson, Peter C.
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., Illinois Univ., Chicago, IL, USA
fDate :
31 Oct-2 Nov 1990
Abstract :
The authors present and evaluate two algorithms-one linear and one logarithmic-for the computation of the restricted transitive closure of a binary database relation. The algorithms are implemented in a relational database management system (Ingres), and on equipment which is fairly common in today´s database application environments. The performance evaluation reveals three important points. First, unlike the case of the complete transitive closure computations where the linear (seminaive) method is outperformed by the logarithmic methods, in the computation of the restricted transitive closure the opposite is true. Second, contrary to the popular belief that the algorithms run faster if the size of the intermediate result relations is decreased by deleting excess data, the fastest algorithms are those which attempt to delete no data. Unless deletions can be handled efficiently, their potential benefits are overshadowed by the cost incurred to perform them. Third, the operations union and difference are established as being significantly more expensive than the join operation in these algorithms
Keywords :
database theory; performance evaluation; query languages; relational databases; Ingres; benchmarking; binary database relation; difference; join operation; performance evaluation; relational database management system; restricted transitive closure algorithms; union; Algebra; Algorithm design and analysis; Analytical models; Computational modeling; Computer science; Databases; Performance analysis; Query processing;
Conference_Titel :
Computer Software and Applications Conference, 1990. COMPSAC 90. Proceedings., Fourteenth Annual International
Conference_Location :
Chicago, IL
Print_ISBN :
0-8186-2054-4
DOI :
10.1109/CMPSAC.1990.139387