-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
The Storage FAQ states:
db.collection.dataSize() to return data size in bytes for the collection.
db.collection.storageSize() to return allocation size in bytes, including unused space.
We should clarify in this document that dataSize is uncompressed while storageSize is compressed.
We make this distinction in the dbStats document but it should be provided here as well for clarity.