Hacker News new | comments | show | ask | jobs | submit login

If 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/#us...




The data in question is date referenced events - they can't be deleted because I need the data for analytics. It grows forever.


Why on earth is a resync necessary then?


Because the machines run out of disk space. A resync does a compress.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: