arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2105.09160cs.DB
收藏

图数据库中视图的自动选择

Automatic View Selection in Graph Databases

Chao Zhang, Jiaheng Lu, Qingsong Guo, Xinyong Zhang, Xiaochun Han, Minqi Zhou

摘要:

最近,一些作品研究了图数据库中的视图选择问题。然而,现有方法不能完全利用视图的图形属性,例如,超图视图和公共子图视图,这导致低视图实用性和重复的视图内容。为了解决这个问题,我们提出了一个端到端的图形视图选择工具,G-View,它可以明智地生成一个视图集,从查询工作量,通过探索候选视图的图形属性,并考虑其功效。具体来说,给定图查询集和空间预算,G-View将每个查询转换为候选视图模式,并通过过滤和验证框架检查查询包含。G-View然后使用图基因算法(GGA)选择视图,该算法依赖于一个三阶段框架,该框架探索图视图转换以减少视图空间并优化视图优势。最后,G-View生成的扩展图视图持久化所有的边诱导的子图,同时回答子图和超图查询。在真实数据集和合成数据集上的大量实验表明,G-View在两种基于视图的方法上平均实现了21倍和2倍的查询性能加速,同时分别具有2倍和5倍的空间开销。此外,所提出的选择算法,GGA,优于其他选择方法的有效性和效率。

英文摘要:

Recently, several works have studied the problem of view selection in graph databases. However, existing methods cannot fully exploit the graph properties of views, e.g., supergraph views and common subgraph views, which leads to a low view utility and duplicate view content. To address the problem, we propose an end-to-end graph view selection tool, G-View, which can judiciously generate a view set from a query workload by exploring the graph properties of candidate views and considering their efficacy. Specifically, given a graph query set and a space budget, G-View translates each query to a candidate view pattern and checks the query containment via a filtering-and-verification framework. G-View then selects the views using a graph gene algorithm (GGA), which relies on a three-phase framework that explores graph view transformations to reduce the view space and optimize the view benefit. Finally, G-View generates the extended graph views that persist all the edge-induced subgraphs to answer the subgraph and supergraph queries simultaneously. Extensive experiments on real-life and synthetic datasets demonstrated G-View achieved averagely 21x and 2x query performance speedup over two view-based methods while having 2x and 5x smaller space overhead, respectively. Moreover, the proposed selection algorithm, GGA, outperformed other selection methods in both effectiveness and efficiency.

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

↑