How to rebalance mongodb after adding a shard?

When you add a new shard, MongoDB should automatically start re-balancing data according to your shard key However, it will not start re-balancing until there is a certain amount of data. So if you don't have few gigs of data, you probably won't see any re-balancing If you have lots of data and you add a shard and it never starts migrating data, then it's time to go to the google group and start asking questions. As it stands, lots of people are using auto-sharding and it is definitely re-balancing automatically I'm not saying you haven't found a bug, just that you'll need a lot more data to back that up.

When you add a new shard, MongoDB should automatically start re-balancing data according to your shard key. However, it will not start re-balancing until there is a certain amount of data. So if you don't have few gigs of data, you probably won't see any re-balancing.

If you have lots of data and you add a shard and it never starts migrating data, then it's time to go to the google group and start asking questions. As it stands, lots of people are using auto-sharding and it is definitely re-balancing automatically. I'm not saying you haven't found a bug, just that you'll need a lot more data to back that up.

You were right, I had to wait a little bit. I got rebalanced thanks, – Federico Nov 21 '10 at 16:13.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions