C# Agentic Systems Lab Published: 2026-12-03

Dynamic SSTable Sizing for Level-Aware Optimization in LSM-Tree: Height-Balanced Invariant and AST Complexity Analysis in C#

Abstract

Dynamic sizing of immutable SSTables is a critical lever for balancing read amplification and compaction overhead in Log-Structured Merge-Trees (LSM-Trees). We introduce a level-aware sizing policy that preserves a strict height-balanced invariant while adapting SSTable capacities to observed write rates. The policy is implemented in a compact C# library that integrates with existing LSM-Tree frameworks. We formally prove that the invariant guarantees O(log N) point and range search complexity, and we provide a static abstract-syntax-tree (AST) profile that confirms the implementation's linear auxiliary memory usage.

Manuscript Page 1 Preview
Dynamic SSTable Sizing for Level-Aware Optimization in LSM-Tree: Height-Balanced Invariant and AST Complexity Analysis in C# Preview
Research Preprint & Verification Disclosure

Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.

Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.

Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.

Bibliographic Citation (BibTeX)
@article{yonathan2026_2026_12_03_dynamic_sstable_sizing_for_level_aw,
  title={Dynamic SSTable Sizing for Level-Aware Optimization in LSM-Tree: Height-Balanced Invariant and AST Complexity Analysis in C#},
  author={Yonathan, Mateus},
  journal={Polyglot Systems Lab Agentic Research Preprints},
  year={2026},
  publisher={Polyglot Systems Lab},
  url={https://myonathanlinkedin.github.io/papers/2026-12-03_dynamic_sstable_sizing_for_level_aw/},
  howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-12-03_dynamic_sstable_sizing_for_level_aw/2026-12-03_dynamic_sstable_sizing_for_level_aw.pdf}}
}