Concurrency Control (CC) ensuring consistency of updated data is an essential element of OLTP systems. Recently, hybrid transactional/analytical processing (HTAP) systems developed for executing OLTP and OLAP have attracted much attention. The OLAP side CC domain has been isolated from OLTP's CC and in many cases has been achieved by snapshot isolation (SI) to establish HTAP systems. Although higher isolation level is ideal, considering OLAP read-only transactions in the context of OLTP scheduling achieving serializability forces aborts/waits and would be a potential performance problem. Furthermore, executing OLAP without affecting OLTP as much as possible is needed for HTAP systems. The aim of this study was serializability without additional aborts/waits. We propose read safe snapshot (RSS) using multiversion CC (MVCC) theory and introduce the RSS construction algorithm utilizing serializable snapshot isolation (SSI). For serializability of HTAP systems, our model makes use of multiversion and allows more schedules with read operations whose corresponding write operations do not participate in the dependency cycles. Furthermore, we implemented the algorithm practically in an open-source database system that offers SSI. Our algorithm was integrated into two types of architecture as HTAP systems called as unified (single-node) or decoupled (multinode) storage architecture. We evaluate the performance and abort rate of the single-node architecture where SSI is applicable. The multi-node architecture was investigated for examining the performance overhead applying our algorithm.
翻译:确保更新数据的一致性是OLTP系统的一个基本要素。最近,为执行OLTP和OLAP系统而开发的混合交易/分析处理(HTAP)系统引起了很大的注意。OLAP的方面CC域已经与OLTP的CC域隔绝,在许多情况下,通过快照孤立(SI)来建立HTAP系统实现了。虽然较高的隔离水平是理想的,但考虑到OLAP在OLTP的日程安排中实现连锁性动力中止/等待的只读交易,并且将成为一个潜在的性能问题。此外,执行OLAP的混合交易/分析处理(HTAP)系统已经引起了很大的注意,而HTAP系统需要尽可能不影响OLTP。这项研究的目的是连续进行连续操作,而没有额外的中断/等待。我们建议使用多版本CC(SI)理论来进行安全抓(RSS),并采用SRSS的构建算法,使用连锁快照(SSI),我们的模型利用多版本,允许更多的时间表来阅读操作,其相应的写作业没有参加依赖性周期。此外,我们将可应用的可应用的LAP的系统作为S-RODA系统的统一。我们在S-RODLA中应用了一种统一的系统。我们运行的系统。