[DOCS-2961] audit maximum initial sharded collection size Created: 21/Mar/14 Updated: 22/Mar/16 Due: 24/Mar/14 Resolved: 14/Oct/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.12 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Greg Studer | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Days since reply: | 9 years, 18 weeks ago | ||||||||||||
| Comments |
| Comment by Githook User [ 15/Oct/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Randolph Tan [ 25/Mar/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
update: Performed the same experiment again, now without fiddling the max bson size and here are the results for the worst case: Maximum docs before splitVector fails: 16427 And here's the result to the shardCollection command when 16428 docs were inserted:
I also outputted the db and coll stats right before issuing the shardCollection command:
I have also attached the script for those who would want to explore this further and tweak the values of the document size and key size. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sam Kleinman (Inactive) [ 21/Mar/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
http://docs.mongodb.org/manual/reference/limits/#Sharding-Existing-Collection-Data-Size |