Using sibling-count in XML indexes to optimize single-path queries
Abstract
A method and apparatus are provided for using sibling-counts in XML indices to optimize single-path queries. Using a b-tree XML index with a SQL query logarithmically reduces the number of disk accesses by passing over index entries where it is determined that a match will not be found. However, because certain index entries are passed over, it is impossible to ascertain if a path expression occurs more than once in the XML index, as certain queries sometimes require. This hurdle can be overcome by maintaining a sibling count with each node entry in the XML index. Because the sibling count is stored with the index entry, the index will reveal whether the matching node is single or has other siblings. In additional to re-writing the original query for optimization by use of an XML index, it will be re-written to check for a single-path condition in the index.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for optimizing a query, comprising performing a machine-executed operation involving instructions, wherein said instructions are instructions which, when executed by one or more processors, cause the one or more processors to perform certain steps comprising: for each node in a set of nodes, creating an entry in an index; including, in the entry for each node, stored information that indicates whether there is either one node or more than one node at a path of the each node; receiving a first query against the set of nodes, wherein the first query specifies a function that receives a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,977,284 B2 | Text search of database with one-pass indexing including filtering | 2021 | 1 |
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Chae, Mi-Ok et al., "Design and Implementation of an Object-Oriented Multimedia DBMS Tightly Coupled with Information Retrieval Functions," Proc. 17th IASTED International Conference on Applied Informatics, Feb. 15-18, 1999, abstract.
- Chen et al., "From Tree Patterns to Generalized Tree Patterns: On Efficient Evaluation of XQuery, 2003", Proceedings of the 29th VLDB Conference, pp. 1-12.
- Choi, Byron et al., "The XQuey Formal Semantics: A Foundation for Implementation Optimization," May 31, 2002, IEEE XP-002353605, 15 pages.
- Claims, European patent application 05732473.3-1225, 3 pages.
- Claims, European patent application 2005800186273.9, 3 pages.