Farview:数据库引擎中的内存分解与操作卸载
Farview: Disaggregated Memory with Operator Off-loading for Database Engines
摘要:
云部署将存储与计算分离,为存储层和计算层提供更大的灵活性。在本文中,我们探索分解,采取进一步的措施,并将其应用于内存(DRAM)。非聚合内存使用网络附加DRAM作为将内存与CPU解耦的一种方式。在数据库的上下文中,这样的设计在使较大的存储器容量可用作较小处理节点的集合的中央池方面提供了显著的优点。为了探索这些可能性,我们实现了Farview,这是一种用于数据库的分解内存解决方案,作为具有操作员卸载功能的远程缓冲区缓存运行。Farview被实现为一个基于FPGA的智能NIC,使DRAM可作为一个分散的,网络连接的存储器模块,能够执行数据处理线速率的数据流到/从分散的存储器。Farview支持使用选择、投影、聚合、正则表达式匹配和加密等操作符进行查询卸载。在本文中,我们专注于分析查询,并证明了可行性的想法,通过广泛的实验评估Farview在不同的工作负载。Farview在所有工作负载上都能与本地缓冲区缓存解决方案竞争,并且在许多情况下都优于它,这证明了智能分散内存可以成为部署在云环境中的数据库的可行替代方案。
英文摘要:
Cloud deployments disaggregate storage from compute, providing more flexibility to both the storage and compute layers. In this paper, we explore disaggregation by taking it one step further and applying it to memory (DRAM). Disaggregated memory uses network attached DRAM as a way to decouple memory from CPU. In the context of databases, such a design offers significant advantages in terms of making a larger memory capacity available as a central pool to a collection of smaller processing nodes. To explore these possibilities, we have implemented Farview, a disaggregated memory solution for databases, operating as a remote buffer cache with operator offloading capabilities. Farview is implemented as an FPGA-based smart NIC making DRAM available as a disaggregated, network attached memory module capable of performing data processing at line rate over data streams to/from disaggregated memory. Farview supports query offloading using operators such as selection, projection, aggregation, regular expression matching and encryption. In this paper we focus on analytical queries and demonstrate the viability of the idea through an extensive experimental evaluation of Farview under different workloads. Farview is competitive with a local buffer cache solution for all the workloads and outperforms it in a number of cases, proving that a smart disaggregated memory can be a viable alternative for databases deployed in cloud environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。