- 专利标题: Optimization technique of generalized disjunctive semi/anti join
-
申请号: US13603302申请日: 2012-09-04
-
公开(公告)号: US10726010B2公开(公告)日: 2020-07-28
- 发明人: Rafi Ahmed , Chun-Chieh Lin , Mohamed Zait
- 申请人: Rafi Ahmed , Chun-Chieh Lin , Mohamed Zait
- 申请人地址: US CA Redwood Shores
- 专利权人: ORACLE INTERNATIONAL CORPORATION
- 当前专利权人: ORACLE INTERNATIONAL CORPORATION
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Hickman Palermo Becker Bingham
- 主分类号: G06F16/2453
- IPC分类号: G06F16/2453
摘要:
A method, apparatus, and stored instructions are provided for transforming a query representation by unnesting a predicate condition that is based on whether or not a result exists for a subquery of the predicate condition. An initial query representation is received. The initial query representation represents an initial query that includes an EXISTS-equivalent predicate or a NOT-EXISTS-equivalent predicate and at least one other predicate in a disjunction. The initial query representation is transformed into a semantically equivalent transformed query representation that represents a transformed query. The transformed query includes, instead of the EXISTS-equivalent predicate or a NOT-EXISTS-equivalent predicate, a join operator that references the data object. The transformed query representation, when used for execution, causes the at least one other predicate to be applied separately from a join operation caused by the join operator such that execution of the initial representation is semantically equivalent to execution of the transformed representation.
公开/授权文献
信息查询