发明申请
- 专利标题: Estimating Cardinalities of XML Table Constructs Within Queries
- 专利标题(中): 估计查询中XML表构造的基数
-
申请号: US12328642申请日: 2008-12-04
-
公开(公告)号: US20100145957A1公开(公告)日: 2010-06-10
- 发明人: Ning Zhang , Sam Idicula , Sivasankaran Chandrasekar , Nipun Agarwal
- 申请人: Ning Zhang , Sam Idicula , Sivasankaran Chandrasekar , Nipun Agarwal
- 主分类号: G06F17/30
- IPC分类号: G06F17/30 ; G06F7/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.
公开/授权文献
信息查询