Regular Path Query Evaluation Sharing a Reduced Transitive Closure Based on Graph Reduction
Inju Na, Ilyeop Yi, Kyu-Young Whang, Yang-Sae Moon, and Soon J. Hyun

TL;DR
This paper introduces a novel graph reduction technique and a lightweight transitive closure structure to efficiently evaluate regular path queries with Kleene closures, significantly improving performance.
Contribution
It proposes RPQ-based graph reduction and RTC sharing methods to optimize regular path query evaluation involving Kleene closures.
Findings
Up to 73.86 times faster query response times.
Effective sharing of transitive closure reduces redundant computations.
Formal relational algebra representation enables further optimization.
Abstract
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Advanced Database Systems and Queries · Network Packet Processing and Optimization
