跳到主要导航 跳到搜索 跳到主要内容

Log Replaying for Real-Time HTAP: An Adaptive Epoch-Based Two-Stage Framework

  • Jun Peng Zhu
  • , Zhiwei Ye
  • , Peng Cai*
  • , Donghui Wang
  • , Fengyan Zhang
  • , Dunbo Cai
  • , Ling Qian
  • *此作品的通讯作者
  • East China Normal University
  • Ltd

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

As real-time analytics become increasingly important, more organizations are deploying Hybrid Transactional/An-alytical Processing (HTAP) systems. The HTAP systems, based on a primary/backup replication architecture, usually support real-time read-only queries on backup nodes for the data recently generated by OLTP applications on the primary node. This work is based on the observation that real-time analytical applications often require access to only a fraction of the latest modifications from OLTP applications. However, the state-of-the-art parallel log replay approaches treat all replicated transaction logs equally and replay the entire transaction logs with the same priority which does not take consideration into the OLAP query access pattern. This design can result in increased response latency for real-time applications. This paper presents AETS, an Adaptive Epoch-based Two-Stage log replay framework that implements epoch-based log replay and table group transaction commit. Simultaneously, AETS also takes full account of the table access priority in real-time HTAP workload log replay. It aims to make the data required by analytical queries visible more quickly. Furthermore, AETS includes a two-phase parallel log replay algorithm called TPLR, which achieves lower overhead compared to state-of-the-art algorithms through careful design. We also offer an adaptive fine-grained thread resource allocation method that considers changes in table access patterns over time under thread resource constraints. Our experimental results show that AETS significantly reduces visibility delay for real-time queries. And the results also show that AETS achieves significant replay throughput improvement.

源语言英语
主期刊名Proceedings - 2024 IEEE 40th International Conference on Data Engineering, ICDE 2024
出版商IEEE Computer Society
页2096-2108
页数13
ISBN(电子版)9798350317152
DOI
出版状态已出版 - 2024
活动40th IEEE International Conference on Data Engineering, ICDE 2024 - Utrecht, 荷兰
期限: 13 5月 2024 → 17 5月 2024

丛书

姓名Proceedings - International Conference on Data Engineering
ISSN(印刷版)1084-4627
ISSN(电子版)2375-0286

会议

会议40th IEEE International Conference on Data Engineering, ICDE 2024
国家/地区荷兰
市Utrecht
时期13/05/24 → 17/05/24

学术指纹

探究 'Log Replaying for Real-Time HTAP: An Adaptive Epoch-Based Two-Stage Framework' 的科研主题。它们共同构成独一无二的学术指纹。

引用此