[DOCS-12242] Clarify which metrics are compressed vs uncompressed in Storage FAQ Created: 06/Dec/18  Updated: 30/Oct/23  Resolved: 17/Dec/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Arnie Listhaus Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 5 years, 8 weeks, 2 days ago
Epic Link: DOCSP-1769

 Description   

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.



 Comments   
Comment by Githook User [ 17/Dec/18 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'kay'}

Message: DOCS-12242: collection dataSize/storageSize compression clarification
Branch: v3.4
https://github.com/mongodb/docs/commit/4b060c3e428bbf20456858bff6876f92bc9dbf2c

Comment by Githook User [ 17/Dec/18 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'kay'}

Message: DOCS-12242: collection dataSize/storageSize compression clarification
Branch: v3.6
https://github.com/mongodb/docs/commit/b5d7cd09961f6efa6ff95f9de7bd3cab0ac666a2

Comment by Githook User [ 17/Dec/18 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'kay'}

Message: DOCS-12242: collection dataSize/storageSize compression clarification
Branch: v4.0
https://github.com/mongodb/docs/commit/1e6d25cacb230a4b1043d48192b098f8062a0dad

Comment by Githook User [ 17/Dec/18 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'kay'}

Message: DOCS-12242: collection dataSize/storageSize compression clarification
Branch: master
https://github.com/mongodb/docs/commit/a92ab608d0a826413ad39cf9eb1e5cfda16122bc

Generated at Thu Feb 08 08:04:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.