Cost-based optimizer for an XML data repository within a database
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising the computer-implemented steps of: gathering statistics by a database server about nodes that are stored in a database repository that is managed by the database server; wherein said nodes form a hierarchy; wherein each node is either an XML file or an XML file container; wherein at least one node in the hierarchy is an XML file container that contains a plurality of XML files, each of which contains a plurality of XML elements; storing said statistics; and in response to a request to the database server for access to one or more XML resources from said database repository,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗