发明名称 Use of statistics on views in query optimization
摘要 A query optimizer produces a preferred execution plan by utilizing statistics on views. These provide the optimizer with statistical information beyond that available on tables, for example, with information on the result of scalar or relational expressions. Pre-derived accurate statistics are thus available which are used to improve the accuracy of estimation and thus increase the quality and reliability of the query processor. Transformations of expressions and sub-expressions of candidate plans produce equivalent sub-expressions. Where those sub-expressions include references to views, an estimation of the cardinality and other execution statistics for the sub-expression can be made using the view statistics. This can be used to estimate the cardinality for all equivalent sub-expressions, leading to higher accuracy for the estimate.
申请公布号 US7509311(B2) 申请公布日期 2009.03.24
申请号 US20030652423 申请日期 2003.08.29
申请人 MICROSOFT CORPORATION 发明人 GALINDO-LEGARIA CESAR A.;JOSHI MILIND M.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址