From: project2501 <darreng5...@gmail.com>
Date: Thu, 1 Dec 2011 07:26:08 -0800 (PST)
Local: Thurs, Dec 1 2011 10:26 am
Subject: Re: distributing storage?
Hi,
Thanks for the tip. If they are randomly inserted into shards, and evenly distributed. Then at query time, the id's are returned with no additional penalty, yes? Because all the shards got the query. Is it then possible to know what shard the result id came from and thanks. On Dec 1, 10:22 am, Sergei Tulentsev <sergei.tulent...@gmail.com> > If you're updating a document, this write will go to its shard. If you're
> inserting a new document, it will go to a shard where its chunk lives. If > you want random distribution of new documents, use random shard key, like > md5 of something. > But there are some serious drawbacks in this approach. For example, a > simple retrieval by _id will go to all shard (unless you specify shard key, > which you will have to calculate again). > On Thu, Dec 1, 2011 at 7:06 PM, project2501 <darreng5...@gmail.com> wrote: > > Is it possible? > > thanks. > > -- > -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||