发明名称 Left outer join elimination on key
摘要 A query optimization technique that determines whether any column from a right quantifier of a left outer join query is projected out of the query. If not, then all predicates in an ON clause are removed from the left outer join query, the right quantifier is removed from the left outer join query, and the left outer join query is converted to a simple select query. A number of steps are performed to determine whether any of the columns quantified by the right quantifier participate in a projection list of the query. A set of equivalence class columns is computed for the query, wherein the equivalence classes are derived from equi-join predicates in the query. A set of columns quantified by the right quantifier across the computed set of equivalence classes is computed. A determination is made whether a subset of the set of columns form a key for the right quantifier. If the right quantifier columns are not projected out of the query, then the optimization may be performed.
申请公布号 US2003009450(A1) 申请公布日期 2003.01.09
申请号 US20010887582 申请日期 2001.06.21
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 KIERNAN GERALD GEORGE;SHANMUGASUNDARAM JAYAVEL
分类号 G06F17/30;(IPC1-7):G06F7/00 主分类号 G06F17/30
代理机构 代理人
主权项
地址