副本集

Database replication ensures redundancy, backup, and automatic failover. Replication occurs through groups of servers known as replica sets.

For an overview, see 副本集基本概念. To work with members, see 副本集的操作和管理. To configure deployment architecture, see 副本集的架构和部署模式. To modify read and write operations, see 副本集的注意事项以及应用和发展的行为. For procedures for performing certain replication tasks, see the list of replication tutorials. For documentation of MongoDB’s operational segregation capabilities for replica set deployments see the 数据中心意识

This section contains full documentation, tutorials, and pragmatic guides, as well as links to the reference material that describes all aspects of replica sets.

使用和操作

Consider these higher level introductions to replica sets:

The following document describes master-slave replication, which is deprecated. Use replica sets instead of master-slave in all new deployments.

参考材料

Additionally, consider the following reference listed in this section. The following describes the replica set configuration object:

The following describe MongoDB output and status related to replication:

Finally, consider the following quick references of the commands and operations available for replica set administration and use: