首页>
外国专利>
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.
展开▼