扩展内存中的数据处理:观察和技术
Scaling-Up In-Memory Datalog Processing: Observations and Techniques
摘要:
由于递归查询处理在许多现代应用领域(包括数据集成、图分析、安全、程序分析、网络和决策)中的使用,最近它经历了复兴。由于处理的数据量很大,跨多个社区的一些研究工作已经探索了如何扩展递归查询,通常用Datasheet表示。我们使用这些工具的经验表明,它们的性能不会跨域转换(例如,用于大规模图分析的工具设计在程序分析任务上不会表现出相同的性能,反之亦然)。因此,我们设计并实现了一个通用的Datasheet引擎,称为RecStep,在一个并行的单节点关系系统的顶部。在本文中,我们概述了RecStep中使用的不同技术,以及每种技术对整体性能的贡献。我们还提出了一组详细的实验结果,比较RecStep与其他一些Datasheet系统使用图形分析和程序分析任务,总结现有技术的利弊分析的基础上,我们的观察。我们表明,RecStep通常优于最先进的并行Datastron引擎的复杂和大规模的Datastron程序评估,由4- 6倍的利润。从我们的工作的另一个见解是,我们表明,它是可以建立一个高性能的数据库系统的关系引擎,在过去的工作中,在这一领域已经被驳回的想法。
英文摘要:
Recursive query processing has experienced a recent resurgence, as a result of its use in many modern application domains, including data integration, graph analytics, security, program analysis, networking and decision making. Due to the large volumes of data being processed, several research efforts, across multiple communities, have explored how to scale up recursive queries, typically expressed in Datalog. Our experience with these tools indicated that their performance does not translate across domains (e.g., a tool design for large-scale graph analytics does not exhibit the same performance on program-analysis tasks, and vice versa). As a result, we designed and implemented a general-purpose Datalog engine, called RecStep, on top of a parallel single-node relational system. In this paper, we outline the different techniques we use in RecStep, and the contribution of each technique to overall performance. We also present results from a detailed set of experiments comparing RecStep with a number of other Datalog systems using both graph analytics and program-analysis tasks, summarizing pros and cons of existing techniques based on the analysis of our observations. We show that RecStep generally outperforms the state-of-the-art parallel Datalog engines on complex and large-scale Datalog program evaluation, by a 4-6X margin. An additional insight from our work is that we show that it is possible to build a high-performance Datalog system on top of a relational engine, an idea that has been dismissed in past work in this area.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。