Estimating Cardinalities of XML Table Constructs Within Queries
AssigneeOracle International Corporation
InventorsNing Zhang, Sam Idicula, Sivasankaran Chandrasekar, Nipun Agarwal
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsNing Zhang, Sam Idicula, Sivasankaran Chandrasekar, Nipun Agarwal
Estimating the term…
Techniques are provided for estimating the cardinality of a virtual result table that is produced by executing path-based table functions within a query, such as the XMLTABLE function. Some path-based table functions apply a path expression to input from a base table of XML documents to select rows to produce the result table. Path statistics are collected for the path expressions for the base table. The path statistics are used to estimate the cardinalities of the result table. The estimated cardinality of the result table is useful for estimating costs of query execution plans that are generated for the query.
A computer-implemented method comprising the steps of:
Dependencies are inferred from the claim text.