"All queries work regardless of the shard key, but if mongos cannot
determine which shard that owns the data, it will send the operation
to all shards sequentially"
"A query that keys on Y must run on all shards: if the query sorts by
X, the query will serialize over shards in X-order"
Are these Wiki pages out dated using terms like "sequentially" &
"serialize over shards" to describe current MongoDB shard parallel
query algorithm, say v2.0?
Kristina Chodorow
unread,
Apr 26, 2012, 4:34:45 PM4/26/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
You're correct, I've updated the wiki pages to reflect the new(ish)
behavior.
> Since I can’t add additional comments to that thread, I am posting
> this follow-up with the same title. The last reply was by Eliot
> Horowitz:
>
> “Most are parallel, but a couple are still serial. We're going to be
> cleaning that all up soon though:https://jira.mongodb.org/browse/SERVER-2014”
>
>
> and it wrote:
>
> "All queries work regardless of the shard key, but if mongos cannot
> determine which shard that owns the data, it will send the operation
> to all shards sequentially"
>
dhsieh
unread,
Apr 26, 2012, 5:15:42 PM4/26/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Thanks for the update. I wonder if there a more efficient way to
maintain your Wiki page with up-to-date info based on your product
release cycle?
Kristina Chodorow
unread,
Apr 26, 2012, 5:26:32 PM4/26/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
We do try to go through stuff before each release and update things,
it's just hard to catch everything. It should be better in
forthcoming releases, we now have a dedicated documentation manager.
dhsieh
unread,
Apr 27, 2012, 1:14:16 PM4/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
"A query that keys on X and sorts on X will translate
straightforwardly to a series of queries against successive shards in
X-order"
Again, it sounds like serial rather than parallel queries.
Barrie
unread,
Apr 27, 2012, 11:50:19 PM4/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
If you want to suggest a change for the documentation you can file a ticket in the Documentation project in Jira at https://jira.mongodb.org/browse/DOCS.
There's a ticket for improving the documentation on sharding here.