首页> 外国专利> Technique and framework to provide diagnosability for XML query/DML rewrite and XML index selection

Technique and framework to provide diagnosability for XML query/DML rewrite and XML index selection

机译:为XML查询/ DML重写和XML索引选择提供可诊断性的技术和框架

摘要

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.
机译:一种用于自动分析和提供有关关系数据库查询的优化性的反馈的方法和装置。查询开发人员的主要目标是确保重写查询和DML操作以实现最有效的执行。重写可诊断性为每次尝试的查询优化捕获元数据,包括成功或失败以及失败的原因。元数据与未通过重写删除的运算符关联存储。一旦尝试了所有优化并完成重写,就将根据执行关联操作的成本有选择地显示元数据。执行操作的上下文可能会影响成本。成本可以至少基于操作的类型以及该操作在查询树中的位置。查询开发人员可以基于一个或多个标准,将数据库系统配置为不执行结果查询计划。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号