基于工作负载查询的RDF图分片与分配
Query Workload-based RDF Graph Fragmentation and Allocation
摘要:
随着RDF数据量的不断增大,设计一个分布式数据库系统来管理RDF数据是非常必要的,在分布式RDF数据设计中,通常将RDF数据划分为若干部分,称为碎片,然后将这些碎片分布出去。因此,分布设计包括两个步骤:分段和分配。在本文中,我们提出了一种方法来探索内在的相似性查询的结构在一个工作负载的碎片和分配,其目的是减少交叉匹配的数量和通信成本在SPARQL查询处理。具体来说,我们挖掘和选择一些频繁的访问模式,以反映工作负载的特点。在这里,虽然我们证明,选择最佳的频繁访问模式集是NP-难的,我们提出了一个启发式算法,保证了数据的完整性和近似比。基于所选择的频繁访问模式,我们提出了两种分片策略,垂直和水平分片策略,划分RDF图,同时满足不同的查询处理目标。垂直分段是为了更好的吞吐量,水平分段是为了更好的性能。碎片化后,我们讨论如何将这些碎片分配到不同的网站。最后,我们讨论了如何处理一个查询的基础上的碎片和分配的结果。大量的实验证实了我们提出的解决方案的优越性能。
英文摘要:
As the volume of the RDF data becomes increasingly large, it is essential for us to design a distributed database system to manage it. For distributed RDF data design, it is quite common to partition the RDF data into some parts, called fragments, which are then distributed. Thus, the distribution design consists of two steps: fragmentation and allocation. In this paper, we propose a method to explore the intrinsic similarities among the structures of queries in a workload for fragmentation and allocation, which aims to reduce the number of crossing matches and the communication cost during SPARQL query processing. Specifically, we mine and select some frequent access patterns to reflect the characteristics of the workload. Here, although we prove that selecting the optimal set of frequent access patterns is NP-hard, we propose a heuristic algorithm which guarantees both the data integrity and the approximation ratio. Based on the selected frequent access patterns, we propose two fragmentation strategies, vertical and horizontal fragmentation strategies, to divide RDF graphs while meeting different kinds of query processing objectives. Vertical fragmentation is for better throughput and horizontal fragmentation is for better performance. After fragmentation, we discuss how to allocate these fragments to various sites. Finally, we discuss how to process a query based on the results of fragmentation and allocation. Extensive experiments confirm the superior performance of our proposed solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。