Sharding Reference分片参考
On this page本页内容
Sharding Methods in mongoshmongosh中的分片方法
mongoshsh.abortReshardCollection() | |
sh.addShard() | |
sh.addShardTag() | sh.addShardToZone().sh.addShardToZone()。 |
sh.addShardToZone() | |
sh.addTagRange() | sh.updateZoneKeyRange().sh.updateZoneKeyRange()。 |
sh.balancerCollectionStatus() | |
sh.commitReshardCollection() | |
sh.disableBalancing() | |
sh.enableAutoMerger() | |
sh.enableBalancing() | sh.disableBalancing().sh.disableBalancing()禁用了分片集合平衡器进程,则激活该进程。 |
sh.disableAutoMerger() | |
sh.disableAutoSplit() | |
sh.enableAutoSplit() | |
sh.enableSharding() | |
sh.getBalancerState() | |
sh.removeTagRange() | sh.removeRangeFromZone().sh.removeRangeFromZone()。 |
sh.removeRangeFromZone() | |
sh.help() | sh methods.sh方法的帮助文本。 |
sh.isBalancerRunning() | |
sh.moveChunk() | |
sh.removeShardTag() | sh.removeShardFromZone().sh.removeShardFromZone()。 |
sh.removeShardFromZone() | |
sh.reshardCollection() | |
sh.setBalancerState() | |
sh.shardCollection() | |
sh.splitAt() | |
sh.splitFind() | |
sh.startAutoMerger() | |
sh.startBalancer() | |
sh.status() | db.printShardingStatus().db.printShardingStatus()。 |
sh.stopAutoMerger() | |
sh.stopBalancer() | |
sh.waitForBalancer() | |
sh.waitForBalancerOff() | |
sh.waitForPingChange() | mongos in the sharded cluster.mongos的ping状态的更改。 |
sh.updateZoneKeyRange() | |
convertShardKeyToHashed() |
Sharding Database Commands分片数据库命令
The following database commands support sharded clusters.以下数据库命令支持分片集群。
abortReshardCollection | |
addShard | |
addShardToZone | |
balancerCollectionStatus | |
balancerStart | |
balancerStatus | |
balancerStop | |
checkShardingIndex | |
clearJumboFlag | jumbo flag for a chunk.jumbo标志。 |
cleanupOrphaned | |
cleanupReshardCollection | |
commitReshardCollection | |
enableSharding | |
flushRouterConfig | mongod / mongos instance to update its cached routing metadata.mongod/mongos实例更新其缓存的路由元数据。 |
getShardMap | |
getShardVersion | |
isdbgrid | mongos.mongos。 |
listShards | |
medianKey | splitVector.splitVector。 |
moveChunk | |
movePrimary | |
moveRange | |
mergeChunks | |
removeShard | |
removeShardFromZone | |
reshardCollection | |
setShardVersion | |
shardCollection | |
shardingState | mongod is a member of a sharded cluster.mongod是否是分片集群的成员。 |
split | |
splitVector | |
unsetSharding | |
updateZoneKeyRange |
Reference Documentation参考文档
Operational Restrictions操作限制Requirement for deploying a sharded cluster部署分片集群的要求Troubleshoot Sharded Clusters分片集群疑难解答Common strategies for troubleshooting sharded cluster deployments.对分片集群部署进行故障排除的常见策略。Config Database配置数据库Complete documentation of the content of theMongoDB用于存储分片集群元数据的localdatabase that MongoDB uses to store sharded cluster metadata.local数据库内容的完整文档。