MongoDB Manual Contents¶
See About MongoDB Documentation for more information about the MongoDB Documentation project, this Manual and additional editions of this text.
- Introduction
- Installation
- MongoDB CRUD Operations
- MongoDB CRUD Introduction
- MongoDB CRUD Concepts
- MongoDB CRUD Tutorials
- Insert Documents
- Query Documents
- Limit Fields to Return from a Query
- Iterate a Cursor in the mongo Shell
- Analyze Query Performance
- Modify Documents
- Remove Documents
- Perform Two Phase Commits
- Create Tailable Cursor
- Isolate Sequence of Operations
- Create an Auto-Incrementing Sequence Field
- Limit Number of Elements in an Array after an Update
- Insert Documents
- MongoDB CRUD Reference
- MongoDB CRUD Introduction
- Data Models
- Administration
- Administration Concepts
- Administration Tutorials
- Administration Reference
- Security
- Aggregation
- Indexes
- Replication
- Replication Introduction
- Replication Concepts
- Replica Set Tutorials
- Replication Reference
- Replication Introduction
- Sharding
- Sharding Introduction
- Sharding Concepts
- Sharded Cluster Tutorials
- Sharded Cluster Deployment Tutorials
- Deploy a Sharded Cluster
- Considerations for Selecting Shard Keys
- Shard a Collection Using a Hashed Shard Key
- Enable Authentication in a Sharded Cluster
- Add Shards to a Cluster
- Deploy Three Config Servers for Production Deployments
- Convert a Replica Set to a Replicated Sharded Cluster
- Convert Sharded Cluster to Replica Set
- Deploy a Sharded Cluster
- Sharded Cluster Maintenance Tutorials
- View Cluster Configuration
- Migrate Config Servers with the Same Hostname
- Migrate Config Servers with Different Hostnames
- Replace a Config Server
- Migrate a Sharded Cluster to Different Hardware
- Backup Cluster Metadata
- Configure Behavior of Balancer Process in Sharded Clusters
- Manage Sharded Cluster Balancer
- Remove Shards from an Existing Sharded Cluster
- View Cluster Configuration
- Sharded Cluster Data Management
- Troubleshoot Sharded Clusters
- Sharded Cluster Deployment Tutorials
- Sharding Reference
- Sharding Introduction
- Frequently Asked Questions
- Reference
- Operators
- Query and Projection Operators
- Update Operators
- Aggregation Framework Operators
- Query Modifiers
- Database Commands
- mongo Shell Methods
- Collection Methods
- db.collection.aggregate()
- db.collection.count()
- db.collection.copyTo()
- db.collection.createIndex()
- db.collection.getIndexStats()
- db.collection.indexStats()
- db.collection.dataSize()
- db.collection.distinct()
- db.collection.drop()
- db.collection.dropIndex()
- db.collection.dropIndexes()
- db.collection.ensureIndex()
- db.collection.find()
- db.collection.findAndModify()
- db.collection.findOne()
- db.collection.getIndexes()
- db.collection.getShardDistribution()
- db.collection.getShardVersion()
- db.collection.group()
- db.collection.insert()
- db.collection.isCapped()
- db.collection.mapReduce()
- db.collection.reIndex()
- db.collection.remove()
- db.collection.renameCollection()
- db.collection.save()
- db.collection.stats()
- db.collection.storageSize()
- db.collection.totalSize()
- db.collection.totalIndexSize()
- db.collection.update()
- db.collection.validate()
- db.collection.aggregate()
- Cursor Methods
- cursor.addOption()
- cursor.batchSize()
- cursor.count()
- cursor.explain()
- cursor.forEach()
- cursor.hasNext()
- cursor.hint()
- cursor.limit()
- cursor.map()
- cursor.max()
- cursor.min()
- cursor.next()
- cursor.objsLeftInBatch()
- cursor.readPref()
- cursor.showDiskLoc()
- cursor.size()
- cursor.skip()
- cursor.snapshot()
- cursor.sort()
- cursor.toArray()
- cursor.addOption()
- Database Methods
- db.addUser()
- db.auth()
- db.changeUserPassword()
- db.cloneCollection()
- db.cloneDatabase()
- db.commandHelp()
- db.copyDatabase()
- db.createCollection()
- db.currentOp()
- db.dropDatabase()
- db.eval()
- db.fsyncLock()
- db.fsyncUnlock()
- db.getCollection()
- db.getCollectionNames()
- db.getLastError()
- db.getLastErrorObj()
- db.getMongo()
- db.getName()
- db.getPrevError()
- db.getProfilingLevel()
- db.getProfilingStatus()
- db.getReplicationInfo()
- db.getSiblingDB()
- db.help()
- db.hostInfo()
- db.isMaster()
- db.killOp()
- db.listCommands()
- db.loadServerScripts()
- db.logout()
- db.printCollectionStats()
- db.printReplicationInfo()
- db.printShardingStatus()
- db.printSlaveReplicationInfo()
- db.removeUser()
- db.repairDatabase()
- db.resetError()
- db.runCommand()
- db.serverBuildInfo()
- db.serverStatus()
- db.setProfilingLevel()
- db.shutdownServer()
- db.stats()
- db.version()
- db.addUser()
- Replication Methods
- Sharding Methods
- sh._adminCommand()
- sh._checkFullName()
- sh._checkMongos()
- sh._lastMigration()
- sh.addShard()
- sh.addShardTag()
- sh.addTagRange()
- sh.disableBalancing()
- sh.enableBalancing()
- sh.enableSharding()
- sh.getBalancerHost()
- sh.getBalancerState()
- sh.help()
- sh.isBalancerRunning()
- sh.moveChunk()
- sh.removeShardTag()
- sh.setBalancerState()
- sh.shardCollection()
- sh.splitAt()
- sh.splitFind()
- sh.startBalancer()
- sh.status()
- sh.stopBalancer()
- sh.waitForBalancer()
- sh.waitForBalancerOff()
- sh.waitForDLock()
- sh.waitForPingChange()
- sh._adminCommand()
- Subprocess Methods
- Object Constructors and Methods
- Connection Methods
- Native Methods
- Collection Methods
- MongoDB Package Components
- Configuration File Options
- mongod Parameters
- MongoDB Limits and Thresholds
- Connection String URI Format
- Glossary
- Operators
- Release Notes