Hybrid Transactional/Analytical Processing Amplifies IO in LSM-trees

  • Kim, Jongbin
  • 안재찬
  • Lee, Kitaek
  • Ryu, Minsoo
  • Jung, Hyungsoo
Citations

WEB OF SCIENCE

1
Citations

SCOPUS

2

초록

The log-structured merge tree (LSM-tree) has become an essential component in many key-value systems and expanded its scope to full-fledged database engines (e.g., MyRocks). In the database landscape, vendors face growing customer demands for real-time analytic solutions to handle hybrid transactional/analytical processing (HTAP) workloads that pose significant challenges. Among the challenges is IO amplification that drives system designers to rethink write-optimized engines to survive HTAP loads. This paper follows the same philosophy, reexamines LSM-trees used for database systems, and rethinks IO amplification under HTAP loads to shed some light on practical remedies for upcoming challenges. We propose two practical techniques to alleviate IO amplification: 1) <italic>aligned compaction</italic> for reducing write amplification, 2) <italic>snapshot filters</italic> for reducing read amplification. The two techniques are lightweight (i.e., near-zero resource consumption) and are compatible with state-of-the-art methods. We integrated our techniques into RocksDB and demonstrated that the modified RocksDB exhibits reduced IO amplification under HTAP workloads with negligible resource consumption.

키워드

CompactionDatabasesEnginesOptimizationReal-time systemsNavigationLayoutAmplifiersLSM-treekey-value storeMVCCHTAPIO amplificationSTORAGE ENGINE
제목
Hybrid Transactional/Analytical Processing Amplifies IO in LSM-trees
저자
Kim, Jongbin안재찬Lee, KitaekRyu, MinsooJung, Hyungsoo
DOI
10.1109/ACCESS.2022.3219859
발행일
2022-11
유형
Article
저널명
IEEE Access
10
페이지
117626 ~ 117637

파일 다운로드