Replica Set Maintenance Tutorials副本集维护教程
The following tutorials provide information in maintaining existing replica sets.以下教程提供了有关维护现有复制副本集的信息。
Change the Size of the Oplog更改操作日志的大小Increase the size of the oplog which logs operations. In most cases, the default oplog size is sufficient.增加记录操作的oplog的大小。在大多数情况下,默认的oplog大小就足够了。Perform Maintenance on Replica Set Members对副本集成员执行维护Perform maintenance on a member of a replica set while minimizing downtime.对复制副本集的成员执行维护,同时最大限度地减少停机时间。Force a Member to Become Primary强制成员成为主要成员Force a replica set member to become primary.强制复制副本集成员成为主要成员。Resync a Member of a Replica Set重新同步副本集的成员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.同步成员上的数据。对新成员执行初始同步,或者对落后太多而无法通过正常复制赶上的现有成员重新同步数据。Configure Replica Set Tag Sets配置副本集标记集Assign tags to replica set members for use in targeting read and write operations to specific members.为复制副本集成员分配标记,以用于将读写操作定向到特定成员。Reconfigure a Replica Set with Unavailable Members使用不可用的成员重新配置副本集Reconfigure a replica set when a majority of replica set members are down or unreachable.当大多数复制副本集成员关闭或无法访问时,重新配置复制副本集。Manage Chained Replication管理链式复制Disable or enable chained replication. Chained replication occurs when a secondary replicates from another secondary instead of the primary.禁用或启用链式复制。当辅助服务器从另一个辅助服务器而不是主服务器进行复制时,会发生链式复制。Change Hostnames in a Replica Set更改副本集中的主机名Update the replica set configuration to reflect changes in members' hostnames.更新副本集配置以反映成员主机名的更改。Configure a Secondary's Sync Target配置辅助的同步目标Specify the member that a secondary member synchronizes from.指定辅助成员同步的成员。Rename a Replica Set重命名副本集Rename an unsharded replica set.重命名未排序的副本集。Modify PSA Replica Set Safely安全修改PSA副本集Safely perform some reconfiguration changes on a primary-secondary-arbiter (PSA) replica set or on a replica set that is changing to a PSA architecture.在主辅助仲裁器(PSA)副本集或正在更改为PSA架构的副本集上安全地执行一些重新配置更改。Mitigate Performance Issues with PSA Replica Set缓解PSA副本集的性能问题Reduce cache pressure and increased write traffic for a deployment that has a three-member primary-secondary-arbiter (PSA) architecture.对于具有三成员主-辅助仲裁器(PSA)体系结构的部署,可以降低缓存压力并增加写入流量。