首页> 外国专利> Cost-based optimizer for an XML data repository within a database

Cost-based optimizer for an XML data repository within a database

机译:数据库中XML数据存储库的基于成本的优化器

摘要

Cost-based optimizer functionality for an XML database repository provides means for optimizing the execution of database queries that access XML resources in the database repository. Statistics about XML resources that are stored in the database repository are gathered, stored and utilized by a query optimizer to compute computational costs associated with each of multiple methods of accessing particular XML resources requested in a database query. Hence, the optimizer is able to select the most efficient query execution plan based on the costs of possible access paths. In one embodiment, specific statistics about the hierarchical structure of XML resources stored in the XML database repository are gathered, stored in a relational table in the database management system, and used to compute the selectivity of query predicates and the index cost associated with traversing one or more indexes to access requested XML resources.
机译:XML数据库存储库的基于成本的优化器功能为优化访问数据库存储库中XML资源的数据库查询的执行提供了方法。查询优化器收集,存储和利用有关存储在数据库存储库中的XML资源的统计信息,以计算与访问数据库查询中请求的特定XML资源的多种方法中的每一种相关的计算成本。因此,优化器能够基于可能的访问路径成本来选择最有效的查询执行计划。在一个实施例中,收集有关存储在XML数据库存储库中的XML资源的层次结构的特定统计信息,并将其存储在数据库管理系统中的关系表中,并用于计算查询谓词的选择性和与遍历一个查询相关的索引成本。或更多索引以访问请求的XML资源。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号