Database / RocksDB Basics Interview Questions
What is the Manifest file in RocksDB?
The Manifest is a metadata file that tracks the current set of SSTables and their organization into levels, essentially recording the database's structural state over time.
- Records every change to which SSTables exist and which level they belong to
- Used during startup to reconstruct exactly what the database's on-disk structure looked like
- Critical for consistency, since it's the authoritative record of the database's actual layout, independent of the individual SSTable files themselves
If the Manifest were lost or corrupted, RocksDB would have no reliable way to know which SSTables belong to the current, valid version of the database.
More Related questions...