Jumbo Chunks

144 views
Skip to first unread message

Avise Sudhakar Rao

unread,
Mar 14, 2013, 12:58:36 PM3/14/13
to mongod...@googlegroups.com
Hi Team

As below, due to the chunk too big and highlighting as jumbo we can't able to move client range from 38 to 51 in another shard.
Is the only alternative is to split the chunk using sh.splitAt method and then move the client to another shard?

                        { "clientId" : NumberLong(38) } -->> { "clientId" : NumberLong(51) } on : staging_monit Timestamp(1000, 8) jumbo
                        { "clientId" : NumberLong(51) } -->> { "clientId" : NumberLong(65) } on : staging_monit Timestamp(1000, 9) jumbo
                        { "clientId" : NumberLong(65) } -->> { "clientId" : NumberLong(91) } on : staging_monit Timestamp(1000, 10) jumbo
                        { "clientId" : NumberLong(91) } -->> { "clientId" : NumberLong(93) } on : staging_monit Timestamp(1000, 11) jumbo


Thanks,
Sudhakar

David Hows

unread,
Mar 18, 2013, 2:54:54 AM3/18/13
to mongod...@googlegroups.com
Hi Sudhakar,

Yes. You should try and split them manually using splitAt. 

The other issue is that these chunks may only contain documents for a single given value in your shard key.

Ie the chunk   { "clientId" : NumberLong(38) } -->> { "clientId" : NumberLong(51) } may only have documents with clientId of 38 and as such would not be able to be split.

Regards,
David
Reply all
Reply to author
Forward
0 new messages