Final question 4

Hi DHz,

Can the following clause from option 2

documents that all share a single value of the shard key

be understood to mean

documents that all have the same shard key

Thanks,

David

@ dschupp

If I understand your question correctly, yes. Essentially what the question asks is whether all documents that have a shard key value that is identical can be split or not.

Note that this is the shard key value that we’re discussing, not the general key. For example, we might define a sharded collection where the shard key is a 7-digit number. In one sense, then, the collection all has the same shard key (that is, a 7 digit number) but what we’re asking here is if that number is identical on multiple documents (say ‘1234567’), can those documents be on more that one chunk?

Thanks for the clarification

David