副本集维护教程
最后更新于
最后更新于
The following tutorials provide information in maintaining existing replica sets.
下述教程为您提供关于维护现有副本集的相关信息。
Increase the size of the which logs operations. In most cases, the default oplog size is sufficient.
增加记录操作的日志的大小。大多数情况下,默认oplog设置的大小已经足够满足需求。
Perform maintenance on a member of a replica set while minimizing downtime.
对副本集的成员进行维护,同时尽可能地减少停机时间。
Force a replica set member to become primary.
强制将副本集成员转变为主节点。
Sync the data on a member. Either perform initial sync on a new member or resync the data on an existing member that has fallen too far behind to catch up by way of normal replication.
在副本集的成员上执行同步数据。 在新成员上执行初始同步,或者在已落后太远而无法通过常规复制赶平的现有成员上重新同步数据。
Assign tags to replica set members for use in targeting read and write operations to specific members.
为给副本集成员配置标记,以用于针对特定成员定位读写操作。
Reconfigure a replica set when a majority of replica set members are down or unreachable.
当大部分副本集成员宕机或无法访问时,重新配置副本集。
Disable or enable chained replication. Chained replication occurs when a secondary replicates from another secondary instead of the primary.
禁用或启用链式复制。当从节点从另一个从节点(非主节点)复制时,即产生链式复制。
Update the replica set configuration to reflect changes in members’ hostnames.
通过更新副本集配置以反映成员主机名的更改。
Specify the member that a secondary member synchronizes from.
指定从节点要从哪个成员上同步数据。
原文链接:
译者:桂陈