arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1505.00212cs.DBcs.DS
收藏

结合重写和增量物化维护的等价数据库程序

Combining Rewriting and Incremental Materialisation Maintenance for Datalog Programs with Equality

Boris Motik, Yavor Nenov, Robert Piro, Ian Horrocks

摘要:

物化预先计算一组事实和数据库程序的所有结果,以便可以直接评估查询(即,独立于程序)。重写优化物化的数据表程序与平等取代所有相等的常数与一个单一的代表;和增量维护算法可以有效地更新物化的输入事实的小变化。这两种技术都是至关重要的实用性的数据库系统,但是,我们不知道一种方法,结合重写和增量维护。在本文中,我们提出了第一个这样的组合,我们的经验表明,它可以加快更新的几个数量级相比,使用重写或增量维护隔离。

英文摘要:

Materialisation precomputes all consequences of a set of facts and a datalog program so that queries can be evaluated directly (i.e., independently from the program). Rewriting optimises materialisation for datalog programs with equality by replacing all equal constants with a single representative; and incremental maintenance algorithms can efficiently update a materialisation for small changes in the input facts. Both techniques are critical to practical applicability of datalog systems; however, we are unaware of an approach that combines rewriting and incremental maintenance. In this paper we present the first such combination, and we show empirically that it can speed up updates by several orders of magnitude compared to using either rewriting or incremental maintenance in isolation.

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

↑