Hi ermouth, Yeah that should reduce the maximum disk space needed for compaction and might be a good reason to split the shards into smaller ones.
Cheers, -Nick On Sun, Jul 28, 2024 at 1:43 PM ermouth <ermo...@gmail.com> wrote: > Hi! > > Does sharding affect minimal required disk space during DB compaction > operation? > > I mean if one has 1Gb in 1 shard it would likely require ~1Gb free disk > space to perform compaction. If a DB had 2 shards ~500Mb each, would it > reduce minimal required free disk space to ~500Mb? > > Thanks, > ermouth >