Invention Grant
- Patent Title: Join factorization of union/union all queries
- Patent Title (中): 加入联盟/联盟所有查询的因式分解
-
Application No.: US11716010Application Date: 2007-03-08
-
Publication No.: US07644062B2Publication Date: 2010-01-05
- Inventor: Hong Su , Rafi Ahmed , Allison Lee , Mohamed Zait , Thierry Cruanes
- Applicant: Hong Su , Rafi Ahmed , Allison Lee , Mohamed Zait , Thierry Cruanes
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Truong & Becker, LLP
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30

Abstract:
Under a type of query transformation referred to herein as join factorization, the branches of an UNION/UNION ALL query that join a common table are combined to reduce accesses to the common table. The transformation can be expressed as (T1 join T2) union all (T1 join T3)=T1 join (T2 union all T3), where T1, T2 and T3 are three tables. A given query may be rewritten in many alternate ways using join factorization. Evaluating each alternative can be expensive. Therefore, the alternatives are generated and evaluated in a way that minimizes the cost of evaluating the alternatives.
Public/Granted literature
- US20070219969A1 Join factorization of union/union all queries Public/Granted day:2007-09-20
Information query