Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
Description
The collStats command which is also used by db.collection.stats currently claims that avgObjSize is the average Object size; in fact, it's the object size, plus any padding.
Please see the attached files, which display avgObjSize for power of 2 sizes allocation, as well as no padding allocation, for two collections with differently-sized documents in them (all of which are identical in size within a given collection).