Regular Path Query Evaluation Sharing a Reduced Transitive Closure Based on Graph Reduction
Inju Na, Yang-Sae Moon, Ilyeop Yi, Kyu-Young Whang, Soon J. Hyun
摘要
Regular path queries (RPQs) find pairs of vertices of paths satisfying given regular expressions on an edge-labeled, directed multigraph. When evaluating an RPQ, the evaluation of a Kleene closure (i.e., Kleene plus or Kleene star) is very expensive. Furthermore, when multiple RPQs include a Kleene closure as a common sub-query, repeated evaluations of the common sub-query cause serious performance degradation. In this paper, we present a novel concept of RPQ-based graph reduction, which significantly simplifies the original graph through edge-level and vertex-level reductions. Interestingly, RPQ-based graph reduction can replace the evaluation of the Kleene closure on the large original graph to that of the transitive closure to the small reduced graph. We then propose a reduced transitive closure (RTC) as a lightweight structure for efficiently sharing the result of a Kleene closure. We also present an RPQ evaluation algorithm, RTCSharing, which treats each clause in the disjunctive normal form of the given RPQ as a batch unit. If the batch units include a Kleene closure as a common sub-query, we share the lightweight RTC instead of the heavyweight result of the Kleene closure. RPQ-based graph reduction further enables us to formally represent the result of an RPQ including a Kleene closure as a relational algebra expression including the RTC. Through the formal expression, we optimize the evaluation of the batch unit by eliminating useless and redundant operations of the previous method. Experiments show that RTCSharing improves the performance significantly by up to 73.86 times compared with existing methods in terms of query response time.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs 引用了 LM-SRPQ: Efficiently Answering Regular Path Query in Streaming Graphs
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs 引用了 Regular Path Query Evaluation on Streaming Graphs
- cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path Queries 引用了 LM-SRPQ: Efficiently Answering Regular Path Query in Streaming Graphs
- cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path Queries 引用了 Regular Path Query Evaluation on Streaming Graphs
- Efficient Regular Simple Path Queries under Transitive Restricted Expressions 引用了 Regular Path Query Evaluation on Streaming Graphs
- LM-SRPQ: Efficiently Answering Regular Path Query in Streaming Graphs 引用了 Regular Path Query Evaluation on Streaming Graphs
引用它的顶会 Paper5
- LM-SRPQ: Efficiently Answering Regular Path Query in Streaming GraphsXiangyang Gou, Xinyi Ye, Lei Zou, Jeffrey Xu YuVLDB 2024 · 8 次引用
- Integrating Connection Search in Graph QueriesAngelos-Christos G. Anadiotis, Ioana Manolescu, Madhulika MohantyICDE 2023 · 8 次引用
- Efficient Regular Simple Path Queries under Transitive Restricted ExpressionsQi Liang, Dian Ouyang, Fan Zhang, Jianye Yang 等VLDB 2024 · 4 次引用
- cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path QueriesSungwoo Park, Seohyeon Kim, Min-Soo KimSIGMOD 2026 · 1 次引用
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming GraphsSiyuan Zhang, Kai Zhang, Zhenying He, Yinan Jing 等SIGMOD 2026
它引用的 Paper1
相关 Paper
- Materialized View Selection & View-Based Query Planning for Regular Path QueriesYue Pang, Lei Zou, Jeffrey Xu Yu, Linglin YangSIGMOD 2024 · 7 次引用
- A Reachability Index for Recursive Label-Concatenated Graph QueriesChao Zhang, Angela Bonifati, Hugo Kapp, Vlad Ioan Haprian 等ICDE 2023 · 7 次引用
- MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming GraphsSiyuan Zhang, Zhenying He, Yinan Jing, Kai Zhang 等SIGMOD 2024 · 2 次引用
- Answering Regular Path Queries through ExemplarsKomal Chauhan, Kartik Jain, Sayan Ranu, Srikanta Bedathur 等VLDB 2022 · 7 次引用
- Making Graphs Compact by Lossless ContractionWenfei Fan, Yuanhao Li, Muyang Liu, Can LuSIGMOD 2021 · 14 次引用
