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.
翻译:数据量的增加,加上对实时分析的需求增加(使用最新数据),导致出现了数据库系统,同时支持交易和数据分析,这些混合交易和分析处理数据库系统可以支持实时数据分析,而无需各单独单一用途数据库同步的高昂成本。不幸的是,对于数据更新率高的许多应用,最新高科技应用方案系统在交易(高达74.6%)和/或分析(高达49.8%)方面损失巨大,而只进行交易或孤立分析查询,原因是:(1) CPU和记忆中的数据流动,(2) 数据更新从交易传播到分析工作量,(3) 维持整个系统一致数据的成本。 我们建议波利尼西亚,一个硬件软件共同设计系统,用于模拟的HTAP数据库,避免传统的HTAP系统的大量吞吐量损失。 波利尼西亚(1) 将HTAP系统的改进程度最低分为交易和分析性处理岛屿,(2) 实施新的客户端硬件,通过Scialal-Aformormex分析,以降低我们之前的HAFDI处理成本。