DocumentCode :
2716475
Title :
Composition can be faster than join
Author :
Lien, Yao-Nan ; Hu, Chih-Lin
Author_Institution :
Dept. of Comput. Sci., Nat. Chengchi Univ., Taipei, Taiwan
fYear :
1997
fDate :
11-15 Aug 1997
Firstpage :
204
Lastpage :
209
Abstract :
In relational databases, a composition requires three operations: join, projection and duplicate elimination. An expensive external sort is required to eliminate duplicates in a large file. Most conventional composition algorithms take join and duplicate elimination as separate operations to reduce overhead on either operation, but not both. Direct composition algorithms outperform all these algorithms by executing the composition as a single primitive. We show that the direct composition can even outperform its component operation, join, under various conditions. Moreover, when the density of the joining attribute is high enough, the hot spot direct composition may even run faster as the operand relations become bigger. These results can encourage real DBMSs to remove duplicates in some relational operations, and thus, to preserve the closure property of the relational data model
Keywords :
data structures; database theory; relational algebra; relational databases; closure property; component operation; composition; direct composition algorithms; duplicate elimination; external sort; hot spot direct composition; join; joining attribute; operand relations; projection; real DBMSs; relational data model; relational databases; relational operations; Computer science; Data models; Database systems; Relational databases;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference, 1997. COMPSAC '97. Proceedings., The Twenty-First Annual International
Conference_Location :
Washington, DC
ISSN :
0730-3157
Print_ISBN :
0-8186-8105-5
Type :
conf
DOI :
10.1109/CMPSAC.1997.624793
Filename :
624793
Link To Document :
بازگشت