节点文献
数据同步机制自适应优化的HTAP数据库原型系统
An HTAP database prototype with an adaptive data synchronization
【摘要】 在HTAP (hybrid transactional and analytical processing)数据库中,资源隔离和数据共享是一个难题,虽然不同厂商通过不同的架构来实现资源隔离,但是用户关注的新鲜度,即OLTP (online transaction processing)和OLAP (online analytical processing)读写版本的差距,由数据共享的一致性模型决定.然而,现有的HTAP数据库为了节约成本,只应用单一一致性同步模型,这与用户应用的多种一致性需求之间存在矛盾,为了满足用户需求的最高一致性而采取向上兼容的方案降低了系统的整体性能.通过构建新鲜度与性能权衡的代价模型,提出了一致性切换算法和切换前后同步数据的处理策略,实现了一个顺序一致性同步与线性一致性同步自适应切换的HTAP数据库原型系统,使得无需调整HTAP架构,即可支持不同一致性(新鲜度)需求的查询负载并实现系统性能的最大化,最后对自适应切换的有效性也进行了实验验证.
【Abstract】 In HTAP(hybrid transactional and analytical processing) database, resource isolation and data sharing is a difficult problem. Although different vendors achieve resource isolation through different architectures, the freshness of user concerns, that is, the gap between online transactional processing(OLTP) write and online analytical processing(OLAP) read versions, is determined by the consistency model of data sharing. However, existing HTAP databases apply only one consistency synchronization model for an easy implementation, which is contradictory to the multiple consistency requirements of user applications, and the overall system performance is sacrificed for the highest consistency upward compatibility. In this paper, by constructing a cost model of freshness and performance tradeoff, proposing a consistency switching algorithm and a processing strategy for synchronized data before and after switching, and realizing an HTAP database prototype with adaptive switching between sequential consistency synchronization and linear consistency synchronization, which makes it possible to support query loads with different consistency(freshness) requirements and maximize the system performance without adjusting the HTAP architecture. The effectiveness of adaptive switching is also verified by extensive experiments.s of adaptive switching is also verified by extensive experiments.
【Key words】 HTAP database systems; data synchronization; consistency model; adaptive synchronization mode switching; performance and freshness trade off;
- 【文献出处】 华东师范大学学报(自然科学版) ,Journal of East China Normal University(Natural Science) , 编辑部邮箱 ,2023年05期
- 【分类号】TP311.13
- 【下载频次】11