Docs Home
Database Manual
Select a version
Atlas Search
Atlas Vector Search
FAQ
Collation
Connection Strings
Database Commands
DDL Operations
Default Port
Read & Write Concerns
Error Codes
Glossary
Log Messages
Limits & Thresholds
MongoDB Database Tools
Wire Protocol
mongosh Methods
Native Methods
Atlas Search Index
Atlas Stream Processing
Collections
Cursors
Databases
Query Plan Caches
Bulk Operations
User Management
Role Management
Replication
Sharding
convertShardKeyToHashed
db.checkMetadataConsistency
db.collection.checkMetadataConsistency
sh.abortMoveCollection
sh.abortReshardCollection
sh.abortUnshardCollection
sh.addShard
sh.addShardTag
sh.addShardToZone
sh.addTagRange
sh.balancerCollectionStatus
sh.checkMetadataConsistency
sh.commitReshardCollection
sh.disableAutoMerger
sh.disableAutoSplit
sh.disableBalancing
sh.enableAutoMerger
sh.enableBalancing
sh.enableAutoSplit
sh.enableSharding
sh.getBalancerState
sh.getShardedDataDistribution
sh.help
sh.isBalancerRunning
sh.moveChunk
sh.moveCollection
sh.moveRange
sh.removeRangeFromZone
sh.removeShardTag
sh.removeShardFromZone
sh.removeTagRange
sh.reshardCollection
sh.setBalancerState
sh.shardAndDistributeCollection
sh.shardCollection
sh.splitAt
sh.splitFind
sh.startAutoMerger
sh.startBalancer
sh.status
sh.stopAutoMerger
sh.stopBalancer
sh.unshardCollection
sh.updateZoneKeyRange
sh.waitForBalancer
sh.waitForBalancerOff
sh.waitForPingChange
Object Constructors
Connections
Client-Side Field Level Encryption
Operators
Server Sessions
Slot-Based Query Execution Engine
Stable API
System Collections
Docs Menu