arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1701.05513cs.DB
收藏

优化种源计算

Optimizing Provenance Computations

Xing Niu, Boris Glavic

摘要:

数据出处对于调试查询结果、审计云环境中的数据以及解释大数据分析的输出至关重要。一种成熟的技术是将出处表示为数据上的注释,并对查询进行仪表化以传播这些注释,从而产生用出处注释的结果。然而,即使是复杂的优化器通常也无法为插装查询生成有效的执行计划,因为它们固有的复杂性和不寻常的结构。因此,尽管插装能够在不需要对DBMS进行任何修改的情况下支持数据库的起源,但这种方法的性能远非最佳。在这项工作中,我们开发了特定于出处的优化来解决这个问题。具体来说,我们引入代数等价针对仪表查询,并讨论替代,等价的方式仪表查询的出处捕获。此外,我们提出了一个可扩展的启发式和基于成本的优化(CBO)框架,管理这些优化的应用程序,并在我们的GProM出处系统实现这个框架。我们的CBO是不可知的计划空间的形状,使用DBMS的成本估计,并使改造的优化选择到现有的代码,通过添加一些额外的。我们的实验证实,这些优化是非常有效的,往往提高性能的几个数量级的不同出处的任务。

英文摘要:

Data provenance is essential for debugging query results, auditing data in cloud environments, and explaining outputs of Big Data analytics. A well-established technique is to represent provenance as annotations on data and to instrument queries to propagate these annotations to produce results annotated with provenance. However, even sophisticated optimizers are often incapable of producing efficient execution plans for instrumented queries, because of their inherent complexity and unusual structure. Thus, while instrumentation enables provenance support for databases without requiring any modification to the DBMS, the performance of this approach is far from optimal. In this work, we develop provenance specific optimizations to address this problem. Specifically, we introduce algebraic equivalences targeted at instrumented queries and discuss alternative, equivalent ways of instrumenting a query for provenance capture. Furthermore, we present an extensible heuristic and cost-based optimization (CBO) framework that governs the application of these optimizations and implement this framework in our GProM provenance system. Our CBO is agnostic to the plan space shape, uses a DBMS for cost estimation, and enables retrofitting of optimization choices into existing code by adding a few LOC. Our experiments confirm that these optimizations are highly effective, often improving performance by several orders of magnitude for diverse provenance tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑