How to rebalance mongodb after adding shard

How to rebalance mongodb data after adding a new shard

I donโ€™t think he does it automatically?

I could not find anything, is there support?

Also the key for my shards is unique

Thank,

+3
source share
1 answer

When you add a new shard, MongoDB should automatically begin rebalancing the data according to your shard key.

However, it will not begin balancing until a certain amount of data has been determined. Therefore, if you have little data, you probably will not see rebalancing.

, , , google . , , .

, , , .

+6

Source: https://habr.com/ru/post/1775861/


All Articles