Some more details about this, which I think are very important.
RavenDB will manage the disk space on the file. When you delete data from RavenDB, it will mark that space is free. We won't give that space back to the OS, but we are able to reuse that.
In general, in the past 7 years or so that we have had Voron running in production, there hasn't been a single instance where RavenDB hasn't been able to reuse this space when new data came in.
In other words, there is no need to run compaction on the database as a regular maintenance act. RavenDB will just manage on its own.
The only reason you'll want to run compaction is if:
* You are changing the compression of documents.
* You deleted a lot of documents, and you want to recoup the space for the operating system.