Abstract
dc:description.abstractLog-Structured Merge trees (LSM-trees) serve as the foundational architecture for numerous contemporary data management systems, particularly key-value stores and various other storage engines. While extensive research has advanced our theoretical understanding of LSM-trees, significant gaps remain in translating these insights into practical applications. Theoretical cost models, though elegant, often fail to capture the complexity of real-world system behavior. As LSM-trees become integral components of relational databases, operations such as joins demand attention yet lack systematic optimization frameworks. More recently, the rapid growth of AI applications has introduced entirely new storage challenges that call for innovative LSM-tree adaptations. Bridging the gap between LSM-tree theory and these diverse practical demands motivates the work presented in this thesis. This thesis focuses on LSM-tree optimization from a practical perspective and demonstrates this through three distinct contributions that progressively broaden the application scope. First, we introduce CAMAL, a machine learning-enhanced framework that employs active learning techniques to dynamically tune configuration based on observed workload characteristics, achieving up to 4× throughput improvement over baseline RocksDB implementations. Second, we investigate join operations within LSM-tree architectures through comprehensive empirical analysis, establishing a consolidated configuration space that encompasses secondary index designs, consistency mechanisms, and join algorithms, while revealing how different configurations exhibit significant performance variations under diverse workload conditions. Third, we address the emerging challenge of scaling cache storage for large language model inference by leveraging LSM-tree architectures for persistent cache management, demonstrating order-of-magnitude improvements in scalability while maintaining competitive latency for long-context processing. Collectively, these contributions establish that practical LSM-tree optimizations can substantially improve performance across both traditional database operations and emerging AI workloads, opening new directions for adaptive data structure research in modern computing systems.
Degree
thesis:*- College dc:contributor.school
- College of Computing and Data Science
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Yu, Weiping
- Advisor dc:contributor.supervisor
-
- Luo Siqiang
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/10356/218809