Why does MongoDB takes up so much space?
问题 I am trying to store records with a set of doubles and ints (around 15-20) in mongoDB. The records mostly (99.99%) have the same structure. When I store the data in a root which is a very structured data storing format, the file is around 2.5GB for 22.5 Million records. For Mongo, however, the database size (from command show dbs ) is around 21GB , whereas the data size (from db.collection.stats() ) is around 13GB . This is a huge overhead ( Clarify: 13GB vs 2.5GB, I'm not even talking about