{"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.