利用批量位级内存计算加速关系型数据库分析处理
Accelerating Relational Database Analytical Processing with Bulk-Bitwise Processing-in-Memory
AI总结:
本文提出利用批量位级内存计算(PIM)全栈适配关系型数据库OLAP应用,通过在内存中并行处理整个数据库并仅传输结果,相比Monet-DB实现4.65倍加速。
摘要:
关系型数据库的在线分析处理(OLAP)是一种商业决策支持应用。该应用接收针对商业数据库的查询,通常请求汇总大量数据库记录,并产生少量结果。现有的OLAP需要在内存和CPU之间传输大量数据,每个数据仅进行少量操作,并产生较小的输出。因此,OLAP非常适合内存计算(PIM),即在存储数据的地方执行计算,从而通过减少内存与CPU之间的数据移动来加速应用。特别是批量位级PIM,其内存阵列作为位向量处理单元,似乎与OLAP高度契合。借助批量位级PIM广泛的内在并行性和最小的数据移动,OLAP应用可以在内存中并行处理整个数据库,仅将结果传输至CPU。本文展示了对批量位级PIM的全栈适配,涵盖从编译SQL到硬件实现,以支持OLAP应用。在Star Schema Benchmark(SSB)上的评估表明,批量位级PIM相比标准数据库系统Monet-DB实现了4.65倍的加速。
英文摘要:
Online Analytical Processing (OLAP) for relational databases is a business decision support application. The application receives queries about the business database, usually requesting to summarize many database records, and produces few results. Existing OLAP requires transferring a large amount of data between the memory and the CPU, having a few operations per datum, and producing a small output. Hence, OLAP is a good candidate for processing-in-memory (PIM), where computation is performed where the data is stored, thus accelerating applications by reducing data movement between the memory and CPU. In particular, bulk-bitwise PIM, where the memory array is a bit-vector processing unit, seems a good match for OLAP. With the extensive inherent parallelism and minimal data movement of bulk-bitwise PIM, OLAP applications can process the entire database in parallel in memory, transferring only the results to the CPU. This paper shows a full stack adaptation of a bulk-bitwise PIM, from compiling SQL to hardware implementation, for supporting OLAP applications. Evaluating the Star Schema Benchmark (SSB), bulk-bitwise PIM achieves a 4.65X speedup over Monet-DB, a standard database system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。