发明申请
US20130006964A1 Technique and Framework to Provide Diagnosability for XML Query/DML Rewrite and XML Index Selection
有权
为XML查询/ DML重写和XML索引选择提供可诊断性的技术和框架
- 专利标题: Technique and Framework to Provide Diagnosability for XML Query/DML Rewrite and XML Index Selection
- 专利标题(中): 为XML查询/ DML重写和XML索引选择提供可诊断性的技术和框架
-
申请号: US13172573申请日: 2011-06-29
-
公开(公告)号: US20130006964A1公开(公告)日: 2013-01-03
- 发明人: 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
- 主分类号: G06F17/30
- IPC分类号: 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.
公开/授权文献
信息查询