MongoDb speed decrease
问题 I use mongodb to store compressed html files . Basically, a complete document of mongod is like: {'_id': 1, 'p1': data, 'p2': data2, 'p3': data3} where data, data1, data3 are : bson.binary.Binary(zlib_compressed_html) I have 12 Million ids and dataX are each one average 90KB, so each document has at least size 180KB + sizeof(_id) + some_overhead . The total data size would be at least 2TB. I would like to notice that '_id' is index. I insert to mongo with the following way: def _save(self,