Efficient way to evaluate uncorrelated path-based row sources with XML storage
Abstract
The approaches described herein provide an efficient way to process certain kinds of queries that retrieve XML data stored in an object-relational database. A technique determines whether a query comprises a plurality of iteration expressions that exhibit a particular relationship to one another, and if so, re-writes the query and produces an optimized query execution plan. The query execution plan specifies an XPath-based row source with caching enabled. A very small cache structure is used, and reference locators are stored in the cache that point into binary-encoded data rather than copying XMLType data into the cache. Row data may be cached on the first use of the path-based row source and re-used in subsequent requests for rows. Once there is a subsequent request for rows from the optimized path-based row source, the cache may be reorganized to efficiently produce the rows of the row source.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: computing a query expression against a collection of XML documents stored in one or more tables of a database by, at least in part, executing a plurality of row sources of a query execution plan created based on the query expression, said plurality of row sources including a first path-based row source based on a path expression and a second path-based row source based on a path expression; determining that the second path-based row source does not operate on rows that are generated by a first path-based row source; determining that the second path-based row source always
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (38)
Non-Patent Literature (5)
- Hemel et al., "Code Generation by Model Transformation, A case Study in Transformation Modularity," Theory and Practice of Model Transformations Lecture Notes in Computer Science, 2008, vol. 5063/2008, pp. 183-198.
- U.S. Appl. No. 12/474,124, filed May 28, 2009, Final Office Action, Dec. 12, 2011.
- U.S. Appl. No. 12/474,124, filed May 28, 2009, Office Action, Jun. 24, 2011.
- U.S. Appl. No. 12/474,133, filed May 28, 2009, Notice of Allowance, mailed Jun. 22, 2012.
- U.S. Appl. No. 12/474,133, filed May 28, 2009, Office Action, Jun. 22, 2011.