arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1701.07388cs.DB
收藏

关系数据库中隐藏图的提取与分析

Extracting and Analyzing Hidden Graphs from Relational Databases

Konstantinos Xirogiannopoulos, Amol Deshpande

摘要:

通过使用图分析来分析数据集中的底层实体或对象之间的互连结构已被证明在许多应用领域中提供了巨大的价值。然而,图形并不是当今存储大多数数据的主要表示选择,并且为了访问这些分析,用户被迫从他们的数据存储中提取数据,构建必要的图形,然后将它们加载到一些图形引擎中,以便执行他们的图形分析任务。此外,这些图可能比存储在数据库中的初始输入大得多,使得在存储器中构造或分析这样的图是不可行的。在本文中,我们解决这两个挑战,通过建立一个系统,使用户能够声明指定图形提取任务的关系数据库模式,然后执行图算法提取的图形。为此,我们提出了一种声明性的特定于域的语言,并将其与一种新的浓缩的内存表示配对,该表示显着减少了这些图的内存占用,允许分析大于内存的图。我们提出了一个通用的算法来创建这个压缩表示的一个大类的图提取查询对任意模式。我们观察到,压缩表示遭受重复的问题,导致大多数图算法的不准确。然后,我们提出了一套内存中的表示,以不同的方式处理这种重复,并允许权衡所需的内存和执行不同的图算法的计算成本。我们引入新的重复数据删除算法,以消除这种重复的图形,这是独立的兴趣图压缩,并提供了一个全面的实验评估,在几个现实世界和合成数据集说明这些权衡。

英文摘要:

Analyzing interconnection structures among underlying entities or objects in a dataset through the use of graph analytics has been shown to provide tremendous value in many application domains. However, graphs are not the primary representation choice for storing most data today, and in order to have access to these analyses, users are forced to extract data from their data stores, construct the requisite graphs, and then load them into some graph engine in order to execute their graph analysis task. Moreover, these graphs can be significantly larger than the initial input stored in the database, making it infeasible to construct or analyze such graphs in memory. In this paper we address both of these challenges by building a system that enables users to declaratively specify graph extraction tasks over a relational database schema and then execute graph algorithms on the extracted graphs. We propose a declarative domain-specific language for this purpose, and pair it up with a novel condensed, in-memory representation that significantly reduces the memory footprint of these graphs, permitting analysis of larger-than-memory graphs. We present a general algorithm for creating this condensed representation for a large class of graph extraction queries against arbitrary schemas. We observe that the condensed representation suffers from a duplication issue, that results in inaccuracies for most graph algorithms. We then present a suite of in-memory representations that handle this duplication in different ways and allow trading off the memory required and the computational cost for executing different graph algorithms. We introduce novel deduplication algorithms for removing this duplication in the graph, which are of independent interest for graph compression, and provide a comprehensive experimental evaluation over several real-world and synthetic datasets illustrating these trade-offs.

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

↑