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

属性图的关系代数化约实现视图的增量维护

Reducing Property Graph Queries to Relational Algebra for Incremental View Maintenance

Gábor Szárnyas, József Marton, János Maginecz, Dániel Varró

摘要:

现代图数据库系统的属性图数据模型越来越适合于存储和处理像网络这样的异构数据集。许多具有近实时要求的挑战性应用程序-例如金融欺诈检测,推荐系统和动态验证-可以通过图形查询来捕获,并重复评估。为了确保对不断变化的数据集的快速响应时间,这些应用程序将受益于应用增量视图维护(IVM)技术,该技术可以执行查询的连续评估并在更新时计算结果集中的变化。然而,目前没有图形数据库提供对增量视图的支持。虽然IVM问题已经在关系数据库上得到了广泛的研究,但是属性图查询的视图需要标准关系代数范围之外的运算符。因此,解决这个问题需要整合现有的多种IVM技术,并可能进一步扩展。在本文中,我们提出了一种方法来执行IVM的属性图,使用嵌套的关系代数表示的属性图和图形操作。然后,我们定义了一个链的转换,以减少大多数属性图查询到平面关系代数和使用技术的歧视网络(用于基于规则的专家系统)来评估它们。我们演示的方法,使用我们的原型工具,ingredient,它使用openCypher,一个开放的图形查询语言指定为行业倡议的一部分。然而,我们的方法的几个方面可以推广到其他图形查询语言,如G-CORE和PGQL。

英文摘要:

The property graph data model of modern graph database systems is increasingly adapted for storing and processing heterogeneous datasets like networks. Many challenging applications with near real-time requirements -- e.g. financial fraud detection, recommendation systems, and on-the-fly validation -- can be captured with graph queries, which are evaluated repeatedly. To ensure quick response time for a changing data set, these applications would benefit from applying incremental view maintenance (IVM) techniques, which can perform continuous evaluation of queries and calculate the changes in the result set upon updates. However, currently, no graph databases provide support for incremental views. While IVM problems have been studied extensively over relational databases, views on property graph queries require operators outside the scope of standard relational algebra. Hence, tackling this problem requires the integration of numerous existing IVM techniques and possibly further extensions. In this paper, we present an approach to perform IVM on property graphs, using a nested relational algebraic representation for property graphs and graph operations. Then we define a chain of transformations to reduce most property graph queries to flat relational algebra and use techniques from discrimination networks (used in rule-based expert systems) to evaluate them. We demonstrate the approach using our prototype tool, ingraph, which uses openCypher, an open graph query language specified as part of an industry initiative. However, several aspects of our approach can be generalised to other graph query languages such as G-CORE and PGQL.

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

↑