Invention Grant
US07685150B2 Optimization of queries over XML views that are based on union all operators
有权
基于联合所有运算符优化基于XML视图的查询
- Patent Title: Optimization of queries over XML views that are based on union all operators
- Patent Title (中): 基于联合所有运算符优化基于XML视图的查询
-
Application No.: US11237286Application Date: 2005-09-27
-
Publication No.: US07685150B2Publication Date: 2010-03-23
- Inventor: Anand Manikutty , Muralidhar Krishnaprasad , Zhen Hua Liu , Vikas Arora , James W. Warner , Rohan Angrish , Hui Zhang
- Applicant: Anand Manikutty , Muralidhar Krishnaprasad , Zhen Hua Liu , Vikas Arora , James W. Warner , Rohan Angrish , Hui Zhang
- 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
- Agent Eric L. Sutton
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
Optimization is provided for database statements involving XML data, e.g., XPath and XQuery, which operate over views that use aggregate set operators, e.g., UNION ALL. As part of a “view merge” stage of query transformation, the query that operates over the view is merged with a query that defines the view. One or more expressions (e.g., operators, predicates, virtual table constructs) from the query that operates over the view are then “pushed down” to operate on the individual underlying XML data constructs. “Branch elimination” is performed based on the structure of the view and the query acting over the view, based on which it is possible to determine whether any of the sub-queries, if executed, would result in the return of zero rows. If so, then such branches are eliminated from the transformed query, leaving a reduced set of data containers on which to execute the query.
Public/Granted literature
- US20060235840A1 Optimization of queries over XML views that are based on union all operators Public/Granted day:2006-10-19
Information query