mongodb: units in db.printCollectionStats()

This took far, far too long to find. Seriously. I was even digging into the source code.

The avgObjSize (and other data fields in the stats) returns the size in bytes.

Tags: mongodb