发明授权
- 专利标题: Estimating cardinalities of XML table constructs within queries
- 专利标题(中): 估计查询中XML表结构的基数
-
申请号: US12328642申请日: 2008-12-04
-
公开(公告)号: US08200679B2公开(公告)日: 2012-06-12
- 发明人: Ning Zhang , Sam Idicula , Sivasankaran Chandrasekar , Nipun Agarwal
- 申请人: Ning Zhang , Sam Idicula , Sivasankaran Chandrasekar , Nipun Agarwal
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Hickman Palermo Truong Becker Bingham Wong LLP
- 主分类号: G06F17/00
- IPC分类号: G06F17/00
摘要:
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.
公开/授权文献
信息查询