[DOCS-4272] Comment on: "manual/faq/storage.txt" Created: 31/Oct/14 Updated: 11/Jan/17 Resolved: 27/Jul/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Mark Helmstetter | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: http://docs.mongodb.org/manual/faq/storage/#how-can-i-check-the-size-of-a-collection |
||
| Participants: | |
| Days since reply: | 7 years, 29 weeks ago |
| Description |
|
The docs say:
I believe that totalSize() is actually storageSize + totalIndexSize. Here's the data from a sample collection and the calculations: > db.auditMessage.dataSize() dataSize + totalIndexSize: 19304319728 + 280322336 = 19584642064 storageSize + totalIndexSize: 19417829280 + 280322336 = 19698151616 |
| Comments |
| Comment by Emily Hall [ 27/Jul/16 ] |
|
Closed for housekeeping on 7/27/2016 by Emily Hall. |