数据库复制可确保冗余、备份和自动故障转移。 复制发生在名为副本集的服务器群组中。
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.
For documentation of MongoDB’s operational segregation capabilities for replica set deployments see the Data Center Awareness
The following tutorials describe a number of common replica set maintenance and operational practices in greater detail.
Additionally, consider the following reference material for replica sets.
另见
/reference/command/replSetGetStatus and db.getReplicationInfo().