递归标号连接图的可达性指标
A Reachability Index for Recursive Label-Concatenated Graph Queries
摘要:
可达性查询检查从源节点到目标节点的路径是否存在,是查询和处理图数据的基本操作符。现有的基于索引的可达性查询评价方法要么关注纯可达性,要么只关注基于约束的可达性。在本文中,我们第一次研究的问题,基于索引的处理递归标签连接的可达性查询,简称RLC查询。这些查询检查路径的存在,该路径可以满足由Kleene plus下的至多k个边缘标签的串联定义的约束。许多实际的图数据库和网络分析应用程序展示RLC查询。然而,它们的评估在当前的图形数据库引擎中仍然是禁止的。我们引入RLC索引,第一个可达性指数,以有效地处理RLC查询。RLC索引检查源顶点是否可以到达中间顶点,该中间顶点也可以在递归标签级联约束下到达目标顶点。我们提出了一个索引算法来建立RLC索引,它保证了查询执行的可靠性和完整性,并避免记录冗余的索引条目。真实世界的图上的综合实验表明,RLC索引可以显着降低离线处理成本和传递闭包的内存开销,同时提高查询处理高达6个数量级的在线遍历。最后,我们的RLC索引的开源实现显着优于目前主流的图形引擎评估RLC查询。
英文摘要:
Reachability queries checking the existence of a path from a source node to a target node are fundamental operators for querying and processing graph data. Current approaches for index-based evaluation of reachability queries either focus on plain reachability or constraint-based reachability with alternation only. In this paper, for the first time we study the problem of index-based processing for recursive label-concatenated reachability queries, referred to as RLC queries. These queries check the existence of a path that can satisfy the constraint defined by a concatenation of at most k edge labels under the Kleene plus. Many practical graph database and network analysis applications exhibit RLC queries. However, their evaluation remains prohibitive in current graph database engines. We introduce the RLC index, the first reachability index to efficiently process RLC queries. The RLC index checks whether the source vertex can reach an intermediate vertex that can also reach the target vertex under a recursive label-concatenated constraint. We propose an indexing algorithm to build the RLC index, which guarantees the soundness and the completeness of query execution and avoids recording redundant index entries. Comprehensive experiments on real-world graphs show that the RLC index can significantly reduce both the offline processing cost and the memory overhead of transitive closure while improving query processing up to six orders of magnitude over online traversals. Finally, our open-source implementation of the RLC index significantly outperforms current mainstream graph engines for evaluating RLC queries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。