My Mongo version is 2.6.9
I have a application what is inserting, reading and removing data from Mongo. Thats all working fine, however the disk space increate exponentially. My HDD is around 120 GB, and mongo consumes about: 100GB.
I checked the collection what was consuming so much data, i couldnt do a repair database because of disk space. So i remove my database completely.
mongodump -d db echo 'db.dropDatabase()' | mongo db mongorestore /root/bashscript/backups/dump/db
Now when i add new data in this collection (around 200.00 docs), the result is the same, the collection is using 80GB of data.
What am i doing wrong? Am i using Mongo DB wrong? Is it not a good idea to use mongo db in my situation? I don't understand why mongo is consuming so much disk space.