arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1906.05162cs.DB
收藏

Kaskade:用于高效图形分析的图形视图

Kaskade: Graph Views for Efficient Graph Analytics

Joana M. F. da Trindade, Konstantinos Karanasos, Carlo Curino, Samuel Madden, Julian Shun

摘要:

图形是一种越来越流行的建模现实世界实体及其之间关系的方法,范围从社交网络到数据世系图和生物数据集。这些大型图的遍历通常涉及昂贵的子图遍历和复杂的分析计算。这些真实世界的图通常比一般的顶点和边模型所建议的结构化得多,但是这种洞察力仍然没有被现有的用于图查询优化目的的图引擎所探索。因此,在这项工作中,我们专注于利用图和查询的结构属性,自动派生物化图视图,可以大大加快查询评估。我们提出KASKADE,第一个图查询优化框架,利用物化图视图的查询优化的目的。KASKADE采用了一种新的基于约束的视图枚举技术,挖掘来自查询工作负载和图模式的约束,并在视图枚举过程中注入它们,以显着减少要考虑的视图的搜索空间。此外,它引入了一个图视图大小估计器,以挑选最有益的视图物化给定的查询集,并选择最佳的查询评估计划给定的一组物化视图。我们通过真实世界的图表评估其性能,包括我们在Microsoft维护的出处图表,以实现审计,服务分析和高级系统优化。我们的研究结果表明,KASKADE大大减少了有效的图形大小,并产生显着的性能加速(高达50倍),在某些情况下,否则棘手的查询成为可能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑