发明授权
US07685150B2 Optimization of queries over XML views that are based on union all operators
有权
基于联合所有运算符优化基于XML视图的查询
- 专利标题: Optimization of queries over XML views that are based on union all operators
- 专利标题(中): 基于联合所有运算符优化基于XML视图的查询
-
申请号: US11237286申请日: 2005-09-27
-
公开(公告)号: US07685150B2公开(公告)日: 2010-03-23
- 发明人: Anand Manikutty , Muralidhar Krishnaprasad , Zhen Hua Liu , Vikas Arora , James W. Warner , Rohan Angrish , Hui Zhang
- 申请人: Anand Manikutty , Muralidhar Krishnaprasad , Zhen Hua Liu , Vikas Arora , James W. Warner , Rohan Angrish , Hui Zhang
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Hickman Palermo Truong & Becker LLP
- 代理商 Eric L. Sutton
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
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.
公开/授权文献
信息查询