abortReshardCollection | Aborts a resharding operation. 中止重新分片操作。
New in version 5.0. 5.0版新增。 |
addShard | Adds a shard to a sharded cluster.将分片添加到已分片化的群集中。 |
addShardToZone | Associates a shard with a zone. 将分片与区域关联。Supports configuring zones in sharded clusters.支持在分片集群中配置区域。 |
analyzeShardKey | Calculates metrics for evaluating a shard key. 计算用于评估分片键的度量。
New in version 7.0. 7.0版新增。 |
balancerCollectionStatus | Returns information on whether the chunks of a sharded collection are balanced. 返回有关分片集合的块是否平衡的信息。
New in version 4.4. 4.4版新增。 |
balancerStart | Starts a balancer thread.启动平衡器线程。 |
balancerStatus | Returns information on the balancer status.返回有关平衡器状态的信息。 |
balancerStop | Stops the balancer thread.停止平衡器线程。 |
checkMetadataConsistency | Performs a series of consistency checks on sharding metadata. 对分片元数据执行一系列一致性检查。
New in version 7.0. 7.0版新增。 |
checkShardingIndex | Internal command that validates index on shard key.用于验证分片键上的索引的内部命令。 |
clearJumboFlag | Clears the jumbo flag for a chunk.清除区块的jumbo 标志。 |
cleanupOrphaned | Removes orphaned data with shard key values outside of the ranges of the chunks owned by a shard.删除分片键值在分片所拥有的区块范围之外的孤立数据。 |
cleanupReshardCollection | Cleans up a failed resharding operation. 清理失败的重新分片操作。
New in version 5.0. 5.0版新增。 |
commitReshardCollection | Forces a resharding operation to block writes and complete.
New in version 5.0. 强制重新分片操作以阻止写入并完成。5.0版新增。5.0版新增。 |
configureCollectionBalancing | Configures balancer settings on a sharded collection. 配置分片集合上的平衡器设置。
New in version 5.3. 5.3版新增。 |
configureQueryAnalyzer | Configures query sampling for a collection. 配置集合的查询采样。
New in version 7.0. 7.0版新增。 |
enableSharding | Creates a database.创建数据库。 |
flushRouterConfig | Forces a mongod / mongos instance to update its cached routing metadata.强制mongod /mongos 实例更新其缓存的路由元数据。 |
getShardMap | Internal command that reports on the state of a sharded cluster.报告分片集群状态的内部命令。 |
getShardVersion | Internal command that returns the config server version.返回配置服务器版本的内部命令。 |
isdbgrid | Verifies that a process is a mongos .验证进程是否为mongos 。 |
listShards | Returns a list of configured shards.返回已配置分片的列表。 |
medianKey | Deprecated internal command. 不推荐使用内部命令。See splitVector .请参阅splitVector 。 |
moveChunk | Internal command that migrates chunks between shards.在分片之间迁移块的内部命令。 |
movePrimary | Reassigns the primary shard when removing a shard from a sharded cluster.从分片集群中移除分片时,重新分配主分片。 |
moveRange | Moves ranges between shards.在分片之间移动范围。 |
mergeChunks | Provides the ability to combine chunks on a single shard.提供在单个分片上组合块的功能。 |
refineCollectionShardKey | Refines a collection's shard key by adding a suffix to the existing key. 通过向现有关键帧添加后缀来优化集合的分片关键帧。
New in version 4.4. 4.4版新增。 |
removeShard | Starts the process of removing a shard from a sharded cluster.开始从分片集群中移除分片的过程。 |
removeShardFromZone | Removes the association between a shard and a zone. 删除分片和区域之间的关联。Supports configuring zones in sharded clusters.支持在分片集群中配置区域。 |
reshardCollection | Initiates a resharding operation to change the shard key for a collection, changing the distribution of your data. 启动重新分片操作以更改集合的分片键,从而更改数据的分布。
New in version 5.0. 5.0版新增。 |
setShardVersion | Internal command to sets the config server version.用于设置配置服务器版本的内部命令。 |
shardCollection | Enables the sharding functionality for a collection, allowing the collection to be sharded.启用集合的分片功能,允许对集合进行分片。 |
shardingState | Reports whether the mongod is a member of a sharded cluster.报告mongod 是否是分片集群的成员。 |
split | Creates a new chunk.创建新区块。 |
splitVector | Internal command that determines split points.确定拆分点的内部命令。 |
unsetSharding | Removed in MongoDB 5.0.在MongoDB 5.0中删除。 Internal command that affects connections between instances in a MongoDB deployment.影响MongoDB部署中实例之间连接的内部命令。 |
updateZoneKeyRange | Adds or removes the association between a range of sharded data and a zone. 添加或删除一系列分片数据和区域之间的关联。Supports configuring zones in sharded clusters.支持在分片集群中配置区域。 |