Virtual cursors for XML joins
Abstract
A system, method, and computer program product to improve XML query processing efficiency with virtual cursors. Structural joins are a fundamental operation in XML query processing, and substantial work exists on index-based algorithms for executing them. Two well-known index features—path indices and ancestor information—are combined in a novel way to replace at least some of the physical index cursors in a structural join with virtual cursors. The position of a virtual cursor is derived from the path and ancestor information of a physical cursor. Virtual cursors can be easily incorporated into existing structural join algorithms. By eliminating index I/O and the processing cost of handling physical inverted lists, virtual cursors can improve the performance of holistic path queries by an order of magnitude or more.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for improving XML query evaluation, comprising: combining path indices and ancestor information to replace at least one physical index cursor with at least one virtual cursor for processing joins; given an element position p of a child query node, retrieving information describing ancestor positions of element position p and levels at which relevant ancestors appear; and finding the first ancestor position pa for which these conditions hold: (1) ancestor position pa>element position pcur, where pcur is the current element position of the virtual cursor, and (2) ancestor position pa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Al-Khalifa et al. Structural Joins: A Primitive for Efficient XML Query Pattern Matching In Proc. ICDE 2002.
- Beyer et alo Storing and Querying Ordered XML Using a Relational Database System. ACM SIGMOD'2002, Jun. 4-6, Madison, Wisconsin, USA.
- Bruno et al. Holistic Twig Joins: Optimal XML Pattern Matching ACM SIGMOD 'Jun. 4-6, 2002, Madison, Wisconsin, USA.
- Josifovski et al. Optimizing Cursor Movement in Holistic Twig Joins CIKM'05, Oct. 31-Nov. 5, 2005, Bremen, Germany.
- Yang et al. "Virtual Cursors for XML Joins" Association for Computing Machinery, Inc., CIKM 2004: Proceedings of the thirteenth ACM conference on information, New York: ACM Press, c2004 Jun. 25, 2004.