[DOCS-2784] coll.stats().size Created: 25/Feb/14 Updated: 04/Mar/15 Resolved: 05/Mar/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.2 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Alexander Komyagin | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 9 years, 50 weeks ago |
| Description |
|
It's worth noting in our documentation, that collection.stats().size does not include record headers, hence you can see some serious discrepancy between storageSize and size when you have a lot of documents (headers are 16bytes per record). |
| Comments |
| Comment by Alexander Komyagin [ 05/Mar/14 ] |
|
Awesome. Thanks, Sam! |
| Comment by Githook User [ 05/Mar/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by Githook User [ 05/Mar/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |