发明名称 Cost based materialized view selection for query optimization
摘要 A query optimizer determines the applicability of materialized views to a query. View utilization alternatives are generated in the exploration stage of optimization, so that interaction with other transformations in complex queries is taken into account. A final decision on whether to use a materialized view is based on estimated cost. The optimizer generates a table of alternatives, which compactly encodes the various possibilities for each sub-expression of the query. Optimal-cost operator trees are extracted from this table. Materialized views are detected and substituted during exploration of the various possibilities and added to the table of alternatives. Materialized views and the alternatives are selected for use in a query execution plan based on cost. When two operator trees are not identical, a residual operator can be used if one operator tree subsumes the other operator tree. The residual expression can contain operators such as filters, group by and join.
申请公布号 US6510422(B1) 申请公布日期 2003.01.21
申请号 US20000671458 申请日期 2000.09.27
申请人 MICROSOFT CORPORATION 发明人 GALINDO-LEGARIA CESAR A.;JOSHI MILIND M.
分类号 G06F12/00;G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F12/00
代理机构 代理人
主权项
地址
您可能感兴趣的专利