XPath containment for index and materialized view matching
Abstract
A method for using pre-computed information stored in auxiliary structures to speed up processing of expensive queries on hierarchical documents such as XML documents being queried using XPath. The invention defines a taxonomy of such structures such as indexes and materialized views for storing pre-computed XPath results (PXRs), determines what portion of the query can be evaluated by the structures, and computes the compensation for the results generated by the structures. The invention detects all structures applicable to the query and rewrites the query to use such structures, speeding up the performance of the queries. The invention identifies the matching structures by detecting containment mappings between XPath expressions in the query and the structure. The invention also includes a new representation for XPath expressions that is rich enough to express all features of XPath.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 31.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for querying a structured document, comprising: identifying auxiliary structures including pre-computed information applicable to accelerate user query processing by detecting containment mappings between query expressions and expressions in the auxiliary structures, wherein the auxiliary structures include a number of indexes, a number of partial XML indexes, and a number of materialized views; computing compensation to perform index selection and materialized view matching to determine what portion of said query expressions are evaluated by said index and said m
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 31 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Balmin et al., "XPath Query Containment for Index and Materialized View Matching," Nov. 2002, pp. 1-12.
- Braga et al., "A Tool for Extracting XML Association Rules", Proc. of the 14th IEEE Confer. on Tools with Artificial Intelligence, 2002, pp. 57-64.
- Cheng et al., "XML and DB2", IBM Santa Teresa Laoratory, Proc. of 16th Intern. Conference on Data Engineering, Feb. 2000, pp. 1-5.
- Miklau et al., "Containment and Equivalence for an XPath Fragment", ACM PODS, Jun. 2002, pp. 65-76.
- Neven, "Automata Theory for XML Researchers", Database Principles, vol. 31, No. 3, Sep. 2002, pp. 39-46.