snapshot

A fixed view of the store as it is now.

Every read through it sees the same data however much is written afterwards, and compaction will not drop a version the snapshot could still ask for. Close it when done — an open snapshot costs disk space, because that is what holding old versions means.