LSN-Based Copy-on-Write Database Branching on LSM-Tree Storage with Delta SSTables and Multi-Strategy Merge
Year: 2026
Type: article
Abstract: We describe an implementation of git-like database branching on top of LSM-tree (Log-Structured Merge-tree) storage using RocksDB. Unlike existing database branching implementations that use custom storage formats (Dolt’s prolly trees), distributed storage layers (Neon), or block-level snapshots (Simplyblock Vela), our approach mplements page-level copy-on-write using Delta SSTables within the LSM-tree architecture. Branches are created in sub-millisecond time as metadata-only operations (256bytes). Read operations traverse a four-layer hierarchy: branch memtable, branch Delta SSTables, parent Delta SSTables, and shared SSTables. The system supports seven merge strategies (Ours, Theirs,Manual, RuleBased, LastWriteWins, Custom UDF, Abort) with three-way merge conflict detection. Each branch maintains independent MVCC snapshots with SERIALIZABLE isolation. This disclosure establishes prior art for LSM-tree-specific database branching with Delta SSTables.
Author: Moya Vaca, Daniel
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7140690108
FWCI:
Cites:
Cited by:
Related to:
