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

连续子图匹配的深入研究(完整版)

An In-Depth Study of Continuous Subgraph Matching (Complete Version)

Xibo Sun, Shixuan Sun, Qiong Luo, Bingsheng He

摘要:

连续子图匹配(CSM)算法在线查找数据图流上给定模式的出现。已经提出了许多增量CSM算法。然而,对这些算法的系统研究是缺失的,以确定它们的优点和缺点在广泛的工作负载。因此,我们首先提出模型CSM增量视图维护(IVM),以捕获现有算法的设计空间。然后,我们实现了六个代表CSM算法,包括IncIsoMatch,SJ-Tree,Graphflow,IEDyn,TurboFlux和SymBi,在一个共同的框架,基于IVM。我们进一步进行了广泛的实验,以评估竞争算法的整体性能,以及研究个别技术的有效性,找出导致性能差异的关键因素。我们获得了以下新的性能见解:(1)现有算法从查询图中映射到更新数据边的边开始搜索,可能导致许多无效的部分结果;(2)所有匹配顺序都基于简单的搜索,有时显得无效;(3)索引更新在某些查询上占主导地位的查询时间;(4)常数延迟枚举算法的索引更新开销较大。因此,没有算法在所有情况下都优于其他算法。因此,我们根据我们的实验结果给出了一些建议。特别是,SymBi索引对于稀疏查询或长时间运行的查询非常有用。IEDyn和TurboFlux的匹配顺序在树查询上工作得很好,Graphflow的匹配顺序在密集查询或查询和数据图都稀疏时工作得很好,否则,我们推荐SymBi的匹配顺序。

英文摘要:

Continuous subgraph matching (CSM) algorithms find the occurrences of a given pattern on a stream of data graphs online. A number of incremental CSM algorithms have been proposed. However, a systematical study on these algorithms is missing to identify their advantages and disadvantages on a wide range of workloads. Therefore, we first propose to model CSM as incremental view maintenance (IVM) to capture the design space of existing algorithms. Then, we implement six representative CSM algorithms, including IncIsoMatch, SJ-Tree, Graphflow, IEDyn, TurboFlux, and SymBi, in a common framework based on IVM. We further conduct extensive experiments to evaluate the overall performance of competing algorithms as well as study the effectiveness of individual techniques to pinpoint the key factors leading to the performance differences. We obtain the following new insights into the performance: (1) existing algorithms start the search from an edge in the query graph that maps to an updated data edge, potentially leading to many invalid partial results; (2) all matching orders are based on simple heuristics, which appear ineffective at times; (3) index updates dominate the query time on some queries; and (4) the algorithm with constant delay enumeration bears significant index update cost. Consequently, no algorithm dominates the others in all cases. Therefore, we give a few recommendations based on our experiment results. In particular, the SymBi index is useful for sparse queries or long running queries. The matching orders of IEDyn and TurboFlux work well on tree queries, those of Graphflow on dense queries or when both query and data graphs are sparse, and otherwise, we recommend SymBi's matching orders.

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

↑