Affiliation:
1. CWI, P. O. Box 94079, 1090 GB Amsterdam, The Netherlands
Abstract
The outerjoin operator is currently available in the query language of several major DBMSs, and it is included in the proposed SQL2 standard draft. However, “associativity problems” of the operator have been pointed out since its introduction. In this paper we propose a shift in the intuition behind outerjoin: Instead of computing the join while also
preserving
its arguments, outerjoin delivers tuples that come
either
from the join
or
from the arguments. Queries with joins and outerjoins deliver tuples that come from one out of several joins, where a single relation is a trivial join. An advantage of this view is that, in contrast to preservation,
disjunction
is commutative and associative, which is a significant property for intuition, formalisms, and generation of execution plans.
Based on a disjunctive normal form, we show that some data merging queries cannot be evaluated by means of binary outerjoins, and give alternative procedures to evaluate those queries. We also explore several evaluation strategies for outerjoin queries, including the use of semijoin programs to reduce base relations.
Publisher
Association for Computing Machinery (ACM)
Subject
Information Systems,Software
Reference26 articles.
1. ANSI. Working draft of SQL2/SQL3. Technical report American National Standards Institute 1992. ANSI. Working draft of SQL2/SQL3. Technical report American National Standards Institute 1992.
2. Extending the database relational model to capture more meaning
Cited by
32 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献