- 专利标题: Technique and framework to provide diagnosability for XML query/DML rewrite and XML index selection
-
申请号: US13172573申请日: 2011-06-29
-
公开(公告)号: US09767214B2公开(公告)日: 2017-09-19
- 发明人: Beda Christoph Hammerschmidt , Zhen Hua Liu , Geeta Arora , Thomas Baby
- 申请人: Beda Christoph Hammerschmidt , Zhen Hua Liu , Geeta Arora , Thomas Baby
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Hickman Palermo Becker Bingham LLP
- 主分类号: G06F7/00
- IPC分类号: G06F7/00 ; G06F17/00 ; G06F17/30
摘要:
A method and apparatus for automatically analyzing and providing feedback regarding the optimizability of a relational database query. A query developer's primary goal is to ensure that queries and DML operations are rewritten for the most efficient execution. Rewrite diagnosability captures metadata for each attempted query optimization including success or failure and the reasons for failure. The metadata is stored in association with the operators that were not removed through rewriting. Once all optimizations have been attempted and rewriting is complete, the metadata is selectively displayed based on the cost to perform the associated operation. The context of performing the operation may affect the cost. The cost may be based at least on the type of operation and where within the query tree the operation is located. A query developer may configure the database system not to execute the resulting query plan based on one or more criteria.
公开/授权文献
信息查询