Btw, do we get a free mongoDB sticker set to us on completion? I lost my last one.
Btw, do we get a free mongoDB sticker set to us on completion? I lost my last one.
http://docs.mongodb.org/manual/reference/commands/#usePowerO...
There's nothing built in that I know of, but you can easily just make something that runs on a regular basis like a scheduled task or cron job that runs either compact command or repair database command.
http://docs.mongodb.org/manual/reference/command/compact/ http://docs.mongodb.org/manual/reference/command/repairDatab...
Only databases that fit their working set in memory have to resort to fragmentation to get reasonable performance. If the data set fits in memory there are other strategies.
But debloating over time is an important property, so it's probably worth it to eventually get it right.