Patents
US 8,301,620 B2#7038602 Most CitedActiveUnited States (USPTO)Utility

Efficient way to evaluate aggregations on XML data using path-based row sources

14Forward Citations (#7038602 Global)
1.0/yrCitation Velocity (#6466092 Global)
2.18Citation PageRank (#12681333 Global)
38Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The approaches described herein provide an efficient way for a database server to process certain kinds of queries that require the evaluation of an aggregation function over XML data stored in an object-relational database. An aggregation function takes multiple inputs and generates a single output. A database server first determines whether the query qualifies for this particular kind of optimization, then creates a query execution plan that specifies the use of an enhanced path-based row source, eliminating the need for a second path-based row source for computing the aggregation function. The enhanced path-based row source specified in the query execution plan computes an aggregation function and stores the result of that function computation in a column of each row. The XPath evaluation results that are the individual inputs to the aggregation function are only stored temporarily until they are used to compute the aggregation function.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 14.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: a server 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 that is generated by the server to compute the query expression, said plurality of row sources including a path-based row source based on a path expression; said server determining whether to enable the path-based row source to compute an aggregate function; and in response to determining to enable the path-based row source to compute said aggregate function, said server e

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Funderburk et al, "XML programming with SQL/XML and XQuery", 2002, IBM System Journal, vol. 41, No. 4, pp. 642-665.
  • 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/467,984, filed May 18, 2009, Final Office Action, Oct. 31, 2011.
  • U.S. Appl. No. 12/474,124, filed May 28, 2009, Final Office Action, Dec. 12, 2011.
  • Zhang et al., "Honey, I Shrunk the XQuery!-An XML Algebra Optimization Approach," WIDM '02, Nov. 8, 2002, ACM, pp. 15-22.