发明名称 Reordering of complex SQL queries involving GROUPBYs, joins, outer joins and full outer joins
摘要 A method, apparatus, and article of manufacture for query simplification by applying generalized inference propagation and generalized transitive closure in SQL queries having selection, projection, join, outer join, and intersection operations. The disclosed transformations and enumeration method unify and solve the problems of 1) unnesting join aggregate queries, and 2) complete enumeration of queries containing outer joins, when the outer join predicate references an aggregated value, or the predicate references more than two base relations in a query subtree. The system first eliminates redundant sub-expressions and modifies expensive binary operations to inexpensive binary operations, then converts complex predicates to simple predicates by application of a generalized selection (GS) operator.
申请公布号 US5713015(A) 申请公布日期 1998.01.27
申请号 US19960655300 申请日期 1996.05.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GOEL, PIYUSH;IYER, BALAKRISHNA RAGHAVENDRA
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址