As far as I understand, the storage size for MongoDB should always be larger than the data size. However, after upgrading to Mongo 3.0 and using WiredTiger, I begin to see that the data size is larger than the storage size.
Here from one of the databases:
{ "db" : "Results", "collections" : NumberInt(1), "objects" : NumberInt(251816), "avgObjSize" : 804.4109548241573, "dataSize" : NumberInt(202563549), "storageSize" : NumberInt(53755904), "numExtents" : NumberInt(0), "indexes" : NumberInt(5), "indexSize" : NumberInt(41013248), "ok" : NumberInt(1) }
Note that 202563549> 53755904 is far ahead. I am confused how this can be. The way to read db.stats() now different from Mongo 3.0?
source share