DocumentCode :
2403477
Title :
Sequenced subset operators: definition and implementation
Author :
Dunn, Joseph ; Davey, Sean ; Descour, Anne ; Snodgrass, Richard T.
Author_Institution :
Dept. of Comput. Sci., Arizona Univ., Tucson, AZ, USA
fYear :
2002
fDate :
2002
Firstpage :
81
Lastpage :
92
Abstract :
Difference, intersection, semi join and anti-semi-join may be considered binary subset operators, in that they all return a subset of their left-hand argument. These operators are useful for implementing SQL´s EXCEPT, INTERSECT, NOT IN and NOT EXISTS, distributed queries and referential integrity. Difference-all and intersection-all operate on multi-sets and track the number of duplicates in both argument relations; they are used to implement SQL´s EXCEPT ALL and INTERSECT ALL. Their temporally sequenced analogues, which effectively apply the subset operator at each point in time, are needed for implementing these constructs in temporal databases. These SQL expressions are complex; most necessitate at least a three-way join, with nested NOT EXISTS clauses. We consider how to implement these operators directly in a DBMS. These operators are interesting in that they can fragment the left-hand validity periods (sequenced difference-all also fragments the right-hand periods) and thus introduce memory complications found neither in their non-temporal counterparts nor in temporal joins and semijoins. We introduce novel algorithms for implementing these operators by ordering the computation so that fragments need not be retained in main memory. We evaluate these algorithms and demonstrate that they are no more expensive than a single conventional join
Keywords :
SQL; query processing; relational algebra; relational databases; temporal databases; SQL; anti-semi join operators; binary subset operators; difference operators; distributed queries; intersection operators; referential integrity; relational database; semi join operators; sequenced subset operators; temporal databases; three-way join; Computer science; Data engineering; Distributed databases; Relational databases;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 2002. Proceedings. 18th International Conference on
Conference_Location :
San Jose, CA
ISSN :
1063-6382
Print_ISBN :
0-7695-1531-2
Type :
conf
DOI :
10.1109/ICDE.2002.994699
Filename :
994699
Link To Document :
بازگشت