arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1711.06608cs.DB
收藏

Loom:在线图的查询感知分区

Loom: Query-aware Partitioning of Online Graphs

Hugo Firth, Paolo Missier, Jack Aiston

摘要:

与一般的图处理系统一样,在机器集群上划分数据提高了图数据库管理系统的可伸缩性。然而,这些系统将在执行查询工作负载期间产生额外的网络成本,由于分区间遍历。与工作负载无关的分区算法通常最小化任何边缘跨越分区边界的可能性。然而,这些分区器相对于许多工作负载是次优的,特别是查询,其可能需要更频繁地遍历分区间边缘的特定子集。此外,它们在很大程度上不适合在动态的、不断增长的图形上进行增量操作。我们提出了一个新的图分区算法,织机,操作上的流图更新,并不断分配新的顶点和边缘的分区,考虑到查询工作量的图形模式表达式及其相对频率。首先,我们捕捉最常见的模式,边遍历时发生的查询。然后,我们比较子图,目前自己在图形更新流中递增,对这些常见的模式。最后,我们尝试将每个匹配分配到单个分区,减少频繁遍历的子图中的分区间边缘的数量,并提高平均查询性能。Loom在几个大型测试图上进行了广泛的评估,这些测试图具有现实的查询工作负载和各种图形更新顺序。我们证明,给定的工作量,我们的原型产生分区的质量显着优于现有的流图分割算法茴香和LDG。

英文摘要:

As with general graph processing systems, partitioning data over a cluster of machines improves the scalability of graph database management systems. However, these systems will incur additional network cost during the execution of a query workload, due to inter-partition traversals. Workload-agnostic partitioning algorithms typically minimise the likelihood of any edge crossing partition boundaries. However, these partitioners are sub-optimal with respect to many workloads, especially queries, which may require more frequent traversal of specific subsets of inter-partition edges. Furthermore, they largely unsuited to operating incrementally on dynamic, growing graphs. We present a new graph partitioning algorithm, Loom, that operates on a stream of graph updates and continuously allocates the new vertices and edges to partitions, taking into account a query workload of graph pattern expressions along with their relative frequencies. First we capture the most common patterns of edge traversals which occur when executing queries. We then compare sub-graphs, which present themselves incrementally in the graph update stream, against these common patterns. Finally we attempt to allocate each match to single partitions, reducing the number of inter-partition edges within frequently traversed sub-graphs and improving average query performance. Loom is extensively evaluated over several large test graphs with realistic query workloads and various orderings of the graph updates. We demonstrate that, given a workload, our prototype produces partitionings of significantly better quality than existing streaming graph partitioning algorithms Fennel and LDG.

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

↑