mongodb迁移分片,关闭或者移除表的切分,

MongoDBShardAddShard

()碎片


, mongodb迁移分片,

1 removeshard——分片

1,,,,,,db.runCommand ({removeshard:“your_shard_name”})

,

3,,,,,,{味精:“排水startedsuccessfully”状态:“开始”,碎片:“mongodb0”好:1}

2

1,,,,,,db.runCommand ({removeshard:“your_shard_name”})

,

3,,,,,,{味精:“排水alt=" mongodb迁移分片,关闭或者移除表的分片,">

<强>


,


mongodb迁移分片,关闭或者移除表的切分,