arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.05384cs.DBcs.SI
收藏

大型图上的查询处理:Scalability和响应时间折衷方法

Query Processing on Large Graphs: Approaches To Scalability and Response Time Trade Offs

Soumyava Das, Abhishek Santra, Jay Bodra, Sharma Chakravarthy

摘要:

随着社交网络和web的出现,图的大小已经变得太大而不能容纳在主存储器中,从而引发了对用于在任何大小的图上的查询的高效的、可扩展的评估的替代方法的需要。在这里,我们使用分而治之的方法,通过划分一个图和处理查询分区,以获得所有或指定数量的答案。这需要正确计算跨越多个分区的答案,甚至需要多次使用同一个分区。给定一组分区,有许多方法来评估查询:i)一次一个分区方法,ii)多处理器的传统使用,以及iii)使用Map/Reduce多处理器方法。本文中详细介绍的方法(i)通过独立处理分区建立了可扩展性。另外两种方法除了解决可伸缩性问题外,还解决了响应时间问题。对于方法(一),必要的最低限度的簿记已经确定,并建立在本文中的正确性。对分区图的查询应答还需要分析分区方案对查询处理的影响,并确定需要加载分区的数量和顺序,以减少处理查询的响应时间。我们关联查询属性和分区特性,以减少查询处理时间的可用资源。我们还确定了一组定量指标,并使用它们来制定算法,以确定有效的查询处理的加载分区的顺序。对于方法(i),使用不同分区方案在大型图(合成的,真实世界的)上进行的实验分析了各种查询类型上的所提出的算法。另外两种方法是充实和分析。现有的图查询系统已被扩展到评估分区图上的查询。最后对所有方法进行了对比。

英文摘要:

With the advent of social networks and the web, the graph sizes have grown too large to fit in main memory precipitating the need for alternative approaches for an efficient, scalable evaluation of queries on graphs of any size. Here, we use the divide and conquer approach by partitioning a graph and process queries over partitions to obtain all or specified number of answers. This entails correctly computing answers that span multiple partitions or even need the same partition more than once. Given a set of partitions, there are many approaches to evaluate a query: i) One Partition At a Time approach, ii) Traditional use of Multiple Processors, and iii) using the Map/Reduce Multi-Processor approach. Approach (i), detailed in this paper, has established scalability through independent processing of partitions. The other two approaches address response time in addition to scalability. For approach (i), necessary minimal book keeping has been identified and its correctness established in this paper. Query answering on partitioned graphs also requires analyzing partitioning schemes for their impact on query processing and determining the number and the sequence in which partitions need to be loaded to reduce the response time to process queries. We correlate query properties and partition characteristics to reduce query processing time in terms of the resources available. We also identify a set of quantitative metrics and use them to formulate heuristics to determine the order of loading partitions for efficient query processing. For approach (i), experiments on large graphs (synthetic, real-world) using different partitioning schemes analyze the proposed heuristics on a variety of query types. The other two approaches are fleshed out and analyzed. An existing graph querying system has been extended to evaluate queries on partitioned graphs. Finally all approaches are contrasted.

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

↑