Mongodb教程的说明,可以当手册用
Getting Started
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 Data after an Unexpected Shutdown
- Troubleshoot Replica Sets
Sharding
- Deploy a Sharded Cluster
- Convert a Replica Set to a Replicated Sharded Cluster
- Add Shards to a Cluster
- Remove Shards from an Existing Sharded Cluster
- Deploy Three Config Servers for Production Deployments
- 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
- Backup a Small Sharded Cluster with mongodump
- Backup a Sharded Cluster with Filesystem Snapshots
- Backup a Sharded Cluster with Database Dumps
- Restore a Single Shard
- Restore a Sharded Cluster
- Schedule Backup Window for Sharded Clusters
- Manage Shard Tags
Basic Operations
Development Patterns
- Perform Two Phase Commits
- Isolate Sequence of Operations
- Create an Auto-Incrementing Sequence Field
- Enforce Unique Keys for Sharded Collections
- Aggregation Examples
- Model Data to Support Keyword Search
- Limit Number of Elements in an Array after an Update
- Perform Incremental Map-Reduce
- Troubleshoot the Map Function
- Troubleshoot the Reduce Function
- Store a JavaScript Function on the Server
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