TAPER:查询感知,针对大型异构图的分区增强
TAPER: query-aware, partition-enhancement for large, heterogenous, graphs
摘要:
图分区一直被视为解决图DBMS可伸缩性的可行方法。然而,分区可能会引入额外的查询处理延迟,除非它对特定的查询工作负载敏感,并且被优化以最小化该工作负载的分区间遍历。此外,还应该可以根据图拓扑、查询工作负载或两者的变化来增量地调整分区。由于它们的复杂性,当前的划分算法达不到这些要求中的一个或两个,因为它们被设计用于离线使用并且作为一次性操作。TAPER系统旨在解决这两个要求,同时利用现有的分区算法。TAPER将任何给定的初始分区作为起点,并通过在分区之间交换选定的顶点来迭代地调整它,从而减少给定模式匹配查询工作负载的分区间遍历的概率。由于底层支持数据结构中的时间和空间优化,迭代是廉价的。我们评估TAPER两个不同的大型测试图和现实的查询工作负载。我们的研究结果表明,给定基于哈希的分区,TAPER将分区间遍历的次数减少了约80%;给定未加权的METIS分区,减少了约30%。这些减少是在8次迭代中实现的,并且具有工作负载感知和在线可用的额外优势。
英文摘要:
Graph partitioning has long been seen as a viable approach to address Graph DBMS scalability. A partitioning, however, may introduce extra query processing latency unless it is sensitive to a specific query workload, and optimised to minimise inter-partition traversals for that workload. Additionally, it should also be possible to incrementally adjust the partitioning in reaction to changes in the graph topology, the query workload, or both. Because of their complexity, current partitioning algorithms fall short of one or both of these requirements, as they are designed for offline use and as one-off operations. The TAPER system aims to address both requirements, whilst leveraging existing partitioning algorithms. TAPER takes any given initial partitioning as a starting point, and iteratively adjusts it by swapping chosen vertices across partitions, heuristically reducing the probability of inter-partition traversals for a given pattern matching queries workload. Iterations are inexpensive thanks to time and space optimisations in the underlying support data structures. We evaluate TAPER on two different large test graphs and over realistic query workloads. Our results indicate that, given a hash-based partitioning, TAPER reduces the number of inter-partition traversals by around 80%; given an unweighted METIS partitioning, by around 30%. These reductions are achieved within 8 iterations and with the additional advantage of being workload-aware and usable online.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。