PUSHtap:采用统一数据存储格式的基于PIM的内存内HTAP
PUSHtap: PIM-based In-Memory HTAP with Unified Data Storage Format
AI总结:
针对HTAP系统的数据格式困境,该研究提出结合CPU与PIM单元二维访问的方案,设计统一存储格式与扩展PIM架构,实现单实例HTAP的MVCC,显著提升OLAP与OLTP吞吐量。
摘要:
混合事务/分析处理(HTAP)是一种新兴的数据库范式,可同时支持在线事务处理(OLTP)和在线分析处理(OLAP)工作负载。计算密集型的OLTP操作涉及逐行数据操作,适合行存储格式。相比之下,以列操作为核心的内存密集型OLAP操作则能从列存储格式中获益。这种“数据格式困境”导致HTAP系统无法同时实现三大设计目标:性能隔离、数据新鲜度以及工作负载专属优化。另一项背景技术是内存内计算(Processing-in-Memory, PIM),它将计算单元(PIM单元)集成在DRAM存储器件内部,用于加速包括OLAP在内的内存密集型工作负载。\n我们的核心思路是结合交错式CPU访问与本地化PIM单元访问,提供二维访问能力,以解决HTAP固有的数据格式矛盾。首先,我们提出一种统一数据存储格式,搭配新颖的数据对齐与放置技术,优化CPU和PIM单元的有效带宽,并充分利用PIM的并行性。其次,我们实现了单实例HTAP必备的多版本并发控制(MVCC)。第三,我们对商用PIM架构进行扩展,使其支持OLAP操作以及PIM与CPU的并发访问。实验表明,与基于多实例PIM的设计相比,PUSHtap的OLAP/OLTP吞吐量可分别提升3.4倍/4.4倍。
英文摘要:
Hybrid transaction/analytical processing (HTAP) is an emerging database paradigm that supports both online transaction processing (OLTP) and online analytical processing (OLAP) workloads. Computing-intensive OLTP operations, involving row-wise data manipulation, are suitable for row-store format. In contrast, memory-intensive OLAP operations, which are column-centric, benefit from column-store format. This \emph{data-format dilemma} prevents HTAP systems from concurrently achieving three design goals: performance isolation, data freshness, and workload-specific optimization. Another background technology is Processing-in-Memory (PIM), which integrates computing units (PIM units) inside DRAM memory devices to accelerate memory-intensive workloads, including OLAP. Our key insight is to combine the interleaved CPU access and localized PIM unit access to provide two-dimensional access to address the data format contradictions inherent in HTAP. First, we propose a unified data storage format with novel data alignment and placement techniques to optimize the effective bandwidth of CPUs and PIM units and exploit the PIM's parallelism. Second, we implement the multi-version concurrency control (MVCC) essential for single-instance HTAP. Third, we extend the commercial PIM architecture to support the OLAP operations and concurrent access from PIM and CPU. Experiments show that PUSHtap can achieve 3.4\texttimes{}/4.4\texttimes{} OLAP/OLTP throughput improvement compared to multi-instance PIM-based design.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。