通过硬件/软件协作实现高性能和高能效的混合传输/分析数据库
Enabling High-Performance and Energy-Efficient Hybrid Transactional/Analytical Databases with Hardware/Software Cooperation
摘要:
数据量的增长,加上对实时分析(使用最新数据)的需求不断增加,导致了同时支持事务和数据分析的数据库系统的出现。这些混合事务和分析处理(HTAP)数据库系统可以支持实时数据分析,而无需在单独的单一用途数据库之间进行同步的高成本。不幸的是,对于执行高速率数据更新的许多应用,最先进的HTAP系统在事务处理中招致显著的损失。(高达74.6%)和/或分析(高达49.8%)的吞吐量相比,仅执行事务或仅分析查询隔离,由于(1)数据移动之间的CPU和内存,(2)从事务性工作负载到分析性工作负载的数据更新传播,以及(3)在整个系统中维护一致的数据视图的成本。我们提出波利尼西亚,一个硬件-软件协同设计的系统,在内存中的HTAP数据库,避免了传统的HTAP系统的大吞吐量损失。波利尼西亚(1)将HTAP系统划分为事务处理岛和分析处理岛,(2)实现新的定制硬件,解锁软件优化,以降低更新传播和一致性的成本,(3)利用分析岛的内存处理来减轻数据移动开销。我们的评估表明,波利尼西亚优于三个最先进的HTAP系统,平均交易/分析吞吐量提高了1.7倍/3.7倍,并比之前的最低能耗HTAP系统降低了48%的能耗。
英文摘要:
A growth in data volume, combined with increasing demand for real-time analysis (using the most recent data), has resulted in the emergence of database systems that concurrently support transactions and data analytics. These hybrid transactional and analytical processing (HTAP) database systems can support real-time data analysis without the high costs of synchronizing across separate single-purpose databases. Unfortunately, for many applications that perform a high rate of data updates, state-of-the-art HTAP systems incur significant losses in transactional (up to 74.6%) and/or analytical (up to 49.8%) throughput compared to performing only transactional or only analytical queries in isolation, due to (1) data movement between the CPU and memory, (2) data update propagation from transactional to analytical workloads, and (3) the cost to maintain a consistent view of data across the system. We propose Polynesia, a hardware-software co-designed system for in-memory HTAP databases that avoids the large throughput losses of traditional HTAP systems. Polynesia (1) divides the HTAP system into transactional and analytical processing islands, (2) implements new custom hardware that unlocks software optimizations to reduce the costs of update propagation and consistency, and (3) exploits processing-in-memory for the analytical islands to alleviate data movement overheads. Our evaluation shows that Polynesia outperforms three state-of-the-art HTAP systems, with average transactional/analytical throughput improvements of 1.7x/3.7x, and reduces energy consumption by 48% over the prior lowest-energy HTAP system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。