首页> 外文期刊>ACM transactions on database systems >Plan Bouquets: A Fragrant Approach to Robust Query Processing
【24h】

Plan Bouquets: A Fragrant Approach to Robust Query Processing

机译:计划花束:一种强大的查询处理方法

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

摘要

Identifying efficient execution plans for declarative OLAP queries typically entails estimation of several predicate selectivities. In practice, these estimates often differ significantly from the values actually encountered during query execution, leading to poor plan choices and grossly inflated response times. We propose here a conceptually new approach to address this classical problem, wherein the compile-time estimation process is completely eschewed for error-prone selectivities. Instead, from the set of optimal plans in the query's selectivity error space, a limited subset, called the "plan bouquet," is selected such that at least one of the bouquet plans is 2-optimal at each location in the space. Then, at run time, a sequence of cost-budgeted executions from the plan bouquet is carried out, eventually finding a plan that executes to completion within its assigned budget. The duration and switching of these executions is controlled by a graded progression of isosurfaces projected onto the optimal performance profile. We prove that this construction results, for the first time, in guarantees on worst-case performance sub-optimality. Moreover, it ensures repeatable execution strategies across different invocations of a query.
机译:确定声明性OLAP查询的有效执行计划通常需要估计几个谓词选择性。实际上,这些估计值通常与查询执行过程中实际遇到的值明显不同,从而导致不良的计划选择和严重夸大的响应时间。我们在这里提出一种概念上新颖的方法来解决这个经典问题,其中完全避免了容易出错的选择性的编译时估计过程。相反,从查询的选择性误差空间中的一组最佳计划中,选择一个有限的子集,称为“计划花束”,以使花束计划中的至少一个在空间中的每个位置为2最优。然后,在运行时,从计划组合中执行一系列经过成本预算的执行,最终找到在指定预算内执行到完成的计划。这些执行的持续时间和切换由投影到最佳性能轮廓上的等值面的渐变进度控制。我们证明,这种构造首次保证了最坏情况下的性能次优。而且,它确保了查询的不同调用之间可重复的执行策略。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号