The AHA-Tree: An Adaptive Index for HTAP Workloads

Lu Xing, Walid G. Aref
{"title":"The AHA-Tree: An Adaptive Index for HTAP Workloads","authors":"Lu Xing, Walid G. Aref","doi":"arxiv-2406.08746","DOIUrl":null,"url":null,"abstract":"In this demo, we realize data indexes that can morph from being\nwrite-optimized at times to being read-optimized at other times nonstop with\nzero-down time during the workload transitioning. These data indexes are useful\nfor HTAP systems (Hybrid Transactional and Analytical Processing Systems),\nwhere transactional workloads are write-heavy while analytical workloads are\nread-heavy. Traditional indexes, e.g., B+-tree and LSM-Tree, although optimized\nfor one kind of workload, cannot perform equally well under all workloads. To\nmigrate from the write-optimized LSM-Tree to a read-optimized B+-tree is costly\nand mandates some system down time to reorganize data. We design adaptive\nindexes that can dynamically morph from a pure LSM-tree to a pure buffered\nB-tree back and forth, and has interesting states in-between. There are two\nchallenges: allowing concurrent operations and avoiding system down time. This\ndemo benchmarks the proposed AHA-Tree index under dynamic workloads and shows\nhow the index evolves from one state to another without blocking.","PeriodicalId":501123,"journal":{"name":"arXiv - CS - Databases","volume":"33 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Databases","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.08746","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In this demo, we realize data indexes that can morph from being write-optimized at times to being read-optimized at other times nonstop with zero-down time during the workload transitioning. These data indexes are useful for HTAP systems (Hybrid Transactional and Analytical Processing Systems), where transactional workloads are write-heavy while analytical workloads are read-heavy. Traditional indexes, e.g., B+-tree and LSM-Tree, although optimized for one kind of workload, cannot perform equally well under all workloads. To migrate from the write-optimized LSM-Tree to a read-optimized B+-tree is costly and mandates some system down time to reorganize data. We design adaptive indexes that can dynamically morph from a pure LSM-tree to a pure buffered B-tree back and forth, and has interesting states in-between. There are two challenges: allowing concurrent operations and avoiding system down time. This demo benchmarks the proposed AHA-Tree index under dynamic workloads and shows how the index evolves from one state to another without blocking.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
AHA-Tree:HTAP 工作量自适应索引
在这个演示中,我们实现了数据索引,这些索引可以在工作负载转换期间零停机时间内,时而进行写优化,时而进行读优化。这些数据索引对于 HTAP 系统(混合事务处理和分析处理系统)非常有用,在 HTAP 系统中,事务处理工作负载是写入重型,而分析工作负载是读取重型。传统的索引,如 B+ 树和 LSM 树,虽然针对一种工作负载进行了优化,但无法在所有工作负载下都有同样出色的表现。从经过写优化的 LSM-Tree 转到经过读优化的 B+-tree 的成本很高,而且需要一定的系统停机时间来重组数据。我们设计的自适应索引可以从纯 LSM 树到纯缓冲 B 树来回动态变形,并在两者之间保持有趣的状态。这有两个挑战:允许并发操作和避免系统宕机。本演示在动态工作负载下对所提出的 AHA-Tree 索引进行了基准测试,并展示了索引从一种状态演变到另一种状态的过程,而不会阻塞。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Development of Data Evaluation Benchmark for Data Wrangling Recommendation System Messy Code Makes Managing ML Pipelines Difficult? Just Let LLMs Rewrite the Code! Fast and Adaptive Bulk Loading of Multidimensional Points Matrix Profile for Anomaly Detection on Multidimensional Time Series Extending predictive process monitoring for collaborative processes
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1