【24h】

Reassessing Top-Down Join Enumeration

机译:重新评估自上而下的联接枚举

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

摘要

Finding an optimal execution order of join operations is a crucial task in every cost-based query optimizer. Since there are many possible join trees for a given query, the overhead of the join (tree) enumeration algorithm per valid join tree should be minimal. In the case of a clique-shaped query graph, the best known top-down algorithm has a complexity of Theta (n^2) per join tree, where n is the number of relations. In this paper, we present an algorithm that has an according O(1) complexity in this case. We show experimentally that this more theoretical result has indeed a high impact on the performance in other nonclique settings. This is especially true for cyclic query graphs. Further, we evaluate the performance of our new algorithm and compare it with the best top-down and bottom-up algorithms described in the literature.
机译:在每个基于成本的查询优化器中,找到联接操作的最佳执行顺序是一项至关重要的任务。由于给定查询有许多可能的联接树,因此每个有效联接树的联接(树)枚举算法的开销应最小。在团形查询图的情况下,最著名的自上而下的算法每个连接树的Theta(n ^ 2)复杂度,其中n是关系数。在本文中,我们提出了一种在这种情况下具有相应O(1)复杂度的算法。我们通过实验表明,这种更为理论化的结果确实对其他非气候环境下的性能产生了很大影响。对于循环查询图尤其如此。此外,我们评估了新算法的性能,并将其与文献中描述的最佳自上而下和自下而上的算法进行了比较。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号