Outerjoin simplification and reordering for query optimization

被引:52
作者
GalindoLegaria, C
Rosenthal, A
机构
[1] MITRE CORP, BEDFORD, MA 01730 USA
[2] HARVARD UNIV, CAMBRIDGE, MA 02138 USA
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 1997年 / 22卷 / 01期
关键词
outerjoins; query optimization; query reordering;
D O I
10.1145/244810.244812
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Conventional database optimizers take full advantage of associativity and commutativity properties of join to implement efficient and powerful optimizations on select/project/join queries. However, only limited optimization is performed on other binary operators. In this article, we present the theory and algorithms needed to generate alternative evaluation orders for the optimization of queries containing outerjoins. Our results include both a complete set of transformation rules, suitable for new-generation, transformation-based optimizers, and a bottom-up join enumeration algorithm compatible with those used by traditional optimizers.
引用
收藏
页码:43 / 74
页数:32
相关论文
共 34 条
[1]  
*ANSI, 1992, SQL2SQL3 AM NAT STAN
[2]  
BHARGAVA G, 1995, P ACM SIGMOD INT C M, P304
[3]  
Boncoeur M., 1994, P ACM SIGMOD INT C M, P348
[4]  
CHEN ALP, 1990, 2 INT S DAT PAR DIST
[5]  
Codd E. F., 1979, ACM Transactions on Database Systems, V4, P397, DOI 10.1145/320107.320109
[6]  
DATE CJ, 1986, INTRO DATABASE SYSTE, V2
[7]  
DAVID M, 1991, ACM SIGMOD REC, V21, P65
[8]   VIEW DEFINITION AND GENERALIZATION FOR DATABASE INTEGRATION IN A MULTIDATABASE SYSTEM [J].
DAYAL, U ;
HWANG, HY .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (06) :628-645
[9]  
Dayal U., 1987, Proceedings of the Thirteenth International Conference on Very Large Data Bases: 1987 13th VLDB, P197
[10]  
DAYAL U, 1983, MAR P ACM SIGMOD SIG, P125