首页> 外国专利> Cost based materialized view selection for query optimization

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.
机译:查询优化器确定实例化视图对查询的适用性。在优化的探索阶段会生成视图利用率替代方案,因此要考虑与复杂查询中其他转换的交互。关于是否使用实例化视图的最终决定是基于估计的成本。优化器会生成一个替代表,该表会紧凑地编码查询的每个子表达式的各种可能性。从此表中提取了最优成本运营商树。在探索各种可能性期间,将检测并替换实例化视图,并将其添加到替代表中。根据成本选择实例化视图和替代方案以用于查询执行计划。当两个运算符树不相同时,如果一个运算符树包含另一个运算符树,则可以使用残差运算符。剩余表达式可以包含运算符,例如过滤器,分组依据和联接。

著录项

  • 公开/公告号EP1193618A3

    专利类型

  • 公开/公告日2005-11-16

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号EP20010123065

  • 发明设计人 GALINDO-LEGARIA CESAR;JOSHI MILIND M.;

    申请日2001-09-26

  • 分类号G06F17/30;

  • 国家 EP

  • 入库时间 2022-08-21 21:33:15

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号