[mongodb-user] Re: MongoDB Sharding
Re: MongoDB Sharding
Rhys Campbell <
Mon, 9 May 2016 22:09:26 -0700 (PDT)
Pretty sure you can only shard on index fields...
"To shard a collection, you need to select a shard key. A shard key
either an indexed field or an indexed compound field that exists in every
document in the collection."
Check the output of sh.status()
You received this message because you are subscribed to the Google Groups "mongodb-user"
For other MongoDB technical support options, see:
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at
To view this discussion on the web visit
For more options, visit
for more updates.