Kaskade: Graph Views for Efficient Graph Analytics
Joana M. F. da Trindade, Konstantinos Karanasos, Carlo Curino, Samuel Madden, Julian Shun
Abstract
Graphs are an increasingly popular way to model real-world entities and relationships between them, ranging from social networks to data lineage graphs and biological datasets. Queries over these large graphs often involve expensive subgraph traversals and complex analytical computations. These real-world graphs are often substantially more structured than a generic vertex-and-edge model would suggest, but this insight has remained mostly unexplored by existing graph engines for graph query optimization purposes. Therefore, in this work, we focus on leveraging structural properties of graphs and queries to automatically derive materialized graph views that can dramatically speed up query evaluation.
We present KASKADE, the first graph query optimization framework to exploit materialized graph views for query optimization purposes. KASKADE employs a novel constraint-based view enumeration technique that mines constraints from query workloads and graph schemas, and injects them during view enumeration to significantly reduce the search space of views to be considered. Moreover, it introduces a graph view size estimator to pick the most beneficial views to materialize given a query set and to select the best query evaluation plan given a set of materialized views. We evaluate its performance over real-world graphs, including the provenance graph that we maintain at Microsoft to enable auditing, service analytics, and advanced system optimizations. Our results show that KASKADE substantially reduces the effective graph size and yields significant performance speedups (up to 50X), in some cases making otherwise intractable queries possible.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 12204b68-a8b7-4d03-b971-b95a44a78ca8Cited by top-tier papers5
- Property Graph Schema Optimization for Domain-Specific Knowledge GraphsRana Alotaibi, Chuan Lei, Abdul Quamar, Vasilis Efthymiou et al.ICDE 2021 · 15 citations
- A+ Indexes: Tunable and Space-Efficient Adjacency Lists in Graph Database Management SystemsAmine Mhedhbi, Pranjal Gupta, Shahid Khaliq, Semih SalihogluICDE 2021 · 10 citations
- Graphsurge: Graph Analytics on View Collections Using Differential ComputationSiddhartha Sahu, Semih SalihogluSIGMOD 2021 · 8 citations
- G-View: View Management for Graph DatabasesYunjia Zheng, Charlotte Sacré, Mohanna Shahrad, Owen Lipchitz et al.VLDB 2025
- X-Wim: Massive Parallelization of Weighted Matching in Bipartite GraphsDayi Fan, Simon Zhang, Rubao Lee, Hanqi Guo et al.VLDB 2026
Related papers
- View Selection over Knowledge Graphs in Triple StoresTheofilos Mailis, Yannis Kotidis, Stamatis Christoforidis, Evgeny Kharlamov et al.VLDB 2021 · 1 citation
- An Efficient Memoization Engine for Concurrent Graph Query ProcessingSen Gao, Shengliang Lu, Shixuan Sun, Yuchen Li et al.ICDE 2025 · 1 citation
- Cardinality Estimation over Knowledge Graphs with Embeddings and Graph Neural NetworksTim Schwabe, Maribel AcostaSIGMOD 2024 · 17 citations
- MAVIS: Materialized View for Subgraph MatchingLisheng Cao, Xiangyang Gou, Lei Zou, Wenjie ZhangSIGMOD 2026 · 3 citations
- Understanding Query Optimization Bugs in Graph Database SystemsYuyu Chen, Zhongxing YuASPLOS 2026 · 1 citation
