MongoDB Tutorials¶
This page lists the tutorials available as part of the MongoDB Manual. In addition to these tutorial in the manual, MongoDB provides Getting Started Guides in various driver editions. If there is a process or pattern that you would like to see included here, please open a Jira Case.
Installation¶
- Install MongoDB Community Edition on Red Hat or CentOS
- Install MongoDB Community Edition on Debian
- Install MongoDB Community Edition on Ubuntu
- Install MongoDB Community Edition on Amazon Linux
- Install MongoDB Community Edition on SUSE
- Install MongoDB Community Edition on macOS
- Install MongoDB Community Edition on Windows
Administration¶
Replica Sets¶
- Deploy a Replica Set
- Convert a Standalone to a Replica Set
- Add Members to a Replica Set
- Remove Members from Replica Set
- Replace a Replica Set Member
- Adjust Priority for Replica Set Member
- Resync a Member of a Replica Set
- Deploy a Geographically Redundant Replica Set
- Change the Size of the Oplog
- Force a Member to Become Primary
- Change Hostnames in a Replica Set
- Add an Arbiter to Replica Set
- Convert a Secondary to an Arbiter
- Configure a Secondary’s Sync Target
- Configure a Delayed Replica Set Member
- Configure a Hidden Replica Set Member
- Configure Non-Voting Replica Set Member
- Prevent Secondary from Becoming Primary
- Configure Replica Set Tag Sets
- Manage Chained Replication
- Reconfigure a Replica Set with Unavailable Members
- Recover a Standalone after an Unexpected Shutdown
- Troubleshoot Replica Sets
Sharding¶
- Deploy a Sharded Cluster
- Convert a Replica Set to a Sharded Cluster
- Add Shards to a Cluster
- Remove Shards from an Existing Sharded Cluster
- Replace a Config Server
- Migrate a Sharded Cluster to Different Hardware
- Back Up Cluster Metadata
- Back Up a Sharded Cluster with File System Snapshots
- Back Up a Sharded Cluster with Database Dumps
- Restore a Sharded Cluster
- Schedule Backup Window for Sharded Clusters
- Manage Shard Zones
Basic Operations¶
Development Patterns¶
Text Search Patterns¶
Data Modeling Patterns¶
- Model One-to-One Relationships with Embedded Documents
- Model One-to-Many Relationships with Embedded Documents
- Model One-to-Many Relationships with Document References
- Model Data for Atomic Operations
- Model Tree Structures with Parent References
- Model Tree Structures with Child References
- Model Tree Structures with Materialized Paths
- Model Tree Structures with Nested Sets