3 ms·
This is a daily issue for me - having to resync replicas that run out of disk space because Mongo has no compacting strategy. Resyncing will drop disk usage fr
by nasalgoat 13y ago
This is a daily issue for me - having to resync replicas that run out of disk space because Mongo has no compacting strategy.
Resyncing will drop disk usage from 200GB to 50GB(!). So much wasted space.
- mrkurt 13y agoIf you're resyncing that frequently, you should probably be used TTL indexes, the usePowerOf2Sizes column flag directly, or potentially capped collections. http://docs.mongodb.org/manual/reference/command/collMod/#usePowerOf2Sizes http://docs.mongodb.org/manual/reference/command/collMod/#us...
- nasalgoat 13y agoThe data in question is date referenced events - they can't be deleted because I need the data for analytics. It grows forever.