One-Hop Sub-Query Result Caches for Graph Database Systems
Hieu Nguyen, Jun Li, Shahram Ghandeharizadeh

TL;DR
This paper presents a new one-hop sub-query cache for graph databases that significantly improves query response times by reducing storage access and optimizing transaction processing, especially when combined with query rewriting.
Contribution
The paper introduces a novel cache mechanism for one-hop sub-queries in graph databases, enhancing performance and resource utilization during graph read transactions.
Findings
Cache improves 95th and 99th percentile query response times by at least 2x and 1.63x.
Combining cache with query rewriting yields at least 2.33x and 4.48x performance improvements.
Indirect beneficiaries of the cache also experience significant performance gains.
Abstract
This paper introduces a novel one-hop sub-query result cache for processing graph read transactions, gR-Txs, in a graph database system. The one-hop navigation is from a vertex using either its in-coming or out-going edges with selection predicates that filter edges and vertices. Its cache entry identifies a unique one-hop sub-query (key) and its result set consisting of immutable vertex ids (value). When processing a gR-Tx, the query processor identifies its sequence of individual one-hop sub-queries and looks up their results in the cache. A cache hit fetches less data from the storage manager and eliminates the requirement to process the one-hop sub-query. A cache miss populates the cache asynchronously and in a transactional manner, maintaining the separation of read and write paths of our transactional storage manager. A graph read and write transaction, gRW-Tx, identifies the…
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
TopicsGraph Theory and Algorithms · Advanced Database Systems and Queries · Data Management and Algorithms
