首页> 外文期刊>Computer science >Generating optimal DAG-structured query evaluation plans
【24h】

Generating optimal DAG-structured query evaluation plans

机译:生成最佳的DAG结构的查询评估计划

获取原文
获取原文并翻译 | 示例
       

摘要

In many database queries relations are access multiple times during query processing. In these cases query processing can be accelerated by sharing scan operators and possibly other operators based upon the common relations. The standard approach to achieve sharing works as follows. In a first phase, a non-shared tree-shaped plan is generated via a traditional plan generator. In a second phase, common instances of a scan are detected and shared. After that, other possible operators are shared. The result is an operator DAG (directed acyclic graph).rnThe limitation of this approach is obvious. As sharing influences plan costs, a separation of the optimization into two phases comprises the danger of missing the optimal plan, since the first optimization phase does not know about sharing.rnWe remedy this situation by (1) introducing a general framework for reasoning about sharing and (2) sketching how this framework can be integrated into a plan generator, which then constructs optimal DAG-structured query evaluation plans.
机译:在许多数据库查询中,在查询处理期间关系被多次访问。在这些情况下,可以通过共享扫描运算符以及可能基于共同关系的其他运算符来加速查询处理。实现共享的标准方法如下。在第一阶段,通过传统计划生成器生成非共享树形计划。在第二阶段,检测并共享扫描的常见实例。之后,共享其他可能的运算符。结果是算子DAG(有向无环图)。rn这种方法的局限性很明显。由于共享会影响计划成本,因此将优化分为两个阶段可能会丢失最优计划,因为第一个优化阶段并不了解共享。rn我们通过以下方式纠正这种情况:(1)引入一个通用的推理框架(2)概述如何将此框架集成到计划生成器中,然后计划生成器构建最佳的DAG结构的查询评估计划。

著录项

  • 来源
    《Computer science》 |2009年第3期|P.103-117|共15页
  • 作者单位

    Max-Planck Institute for Informatics. Campus El 4, 66111 Saarbriicken, Germany;

    rnUniversity of Mannheim, Mannheim, Germany;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

  • 入库时间 2022-08-17 13:50:54

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号