arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1412.4320cs.DB
收藏

集合编程中的增量视图维护

Incremental View Maintenance For Collection Programming

Christoph Koch, Daniel Lupei, Val Tannen

摘要:

在增量视图维护(IVM)的背景下,增量查询派生是一个重要的技术,以加快处理大型,动态数据集。我们的目标是生成增量查询,在输入中的一个小的变化,可以更新物化视图更有效地比通过重新计算。在这项工作中,我们提出了第一个解决方案的有效增量的正嵌套关系演算(NRC+)袋(整数倍)。更确切地说,我们模型的成本NRC+运营商和分类查询有效的增量,如果他们的三角洲有一个严格的成本低于充分的重新评估。然后,我们识别IncNRC+; NRC+的一个大片段,是有效的增量,我们提供了一个语义保持翻译,采取任何NRC+查询的集合IncNRC+查询。此外,我们证明了NRC+的增量维护在复杂性类NC 0内,并且我们展示了递归IVM(一种在平面查询[25]的情况下提供了传统IVM显着加速的技术)也可以应用于IncNRC+。

英文摘要:

In the context of incremental view maintenance (IVM), delta query derivation is an essential technique for speeding up the processing of large, dynamic datasets. The goal is to generate delta queries that, given a small change in the input, can update the materialized view more efficiently than via recomputation. In this work we propose the first solution for the efficient incrementalization of positive nested relational calculus (NRC+) on bags (with integer multiplicities). More precisely, we model the cost of NRC+ operators and classify queries as efficiently incrementalizable if their delta has a strictly lower cost than full re-evaluation. Then, we identify IncNRC+; a large fragment of NRC+ that is efficiently incrementalizable and we provide a semantics-preserving translation that takes any NRC+ query to a collection of IncNRC+ queries. Furthermore, we prove that incremental maintenance for NRC+ is within the complexity class NC0 and we showcase how recursive IVM, a technique that has provided significant speedups over traditional IVM in the case of flat queries [25], can also be applied to IncNRC+.

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

↑