What's the difference between disk_size and data_size in http://registry.npmjs.org/.
I suppose disk_size is the size taken by the database on the disk and data_size is the size of the actual data.
But what does the diff contain exactly? CouchDB views? Unused sections created during updates? ...?
From CouchDB docs:
The difference between them is filled by old documents revisions and also may be called as database fragmentation. When it gets high enough it's worth run database compaction to free some disk space. After database compaction all non conflicted revisions becomes removed and these values becomes more-less equal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With