17.3 Requirements and Limitations

This section lists and explains the requirements and limitations of Group Replication.

 File: manual.info.tmp, Node: group-replication-requirements, Next: group-replication-limitations, Prev: group-replication-requirements-and-limitations, Up: group-replication-requirements-and-limitations

17.3.1 Group Replication Requirements

Server instances that you want to use for Group Replication must satisfy the following requirements.

Infrastructure

Server Instance Configuration

The following options must be configured on server instances that are members of a group.

 File: manual.info.tmp, Node: group-replication-limitations, Prev: group-replication-requirements, Up: group-replication-requirements-and-limitations

17.3.2 Group Replication Limitations

The following known limitations exist for Group Replication. Note that the limitations and issues described for multi-primary mode groups can also apply in single-primary mode clusters during a failover event, while the newly elected primary flushes out its applier queue from the old primary.

Tip:

Group Replication is built on GTID based replication, therefore you should also be aware of *note replication-gtids-restrictions::.

Limit on Group Size

The maximum number of MySQL servers that can be members of a single replication group is 9. If further members attempt to join the group, their request is refused. This limit has been identified from testing and benchmarking as a safe boundary where the group performs reliably on a stable local area network.

Limits on Transaction Size

If an individual transaction results in message contents which are large enough that the message cannot be copied between group members over the network within a 5-second window, members can be suspected of having failed, and then expelled, just because they are busy processing the transaction. Large transactions can also cause the system to slow due to problems with memory allocation. To avoid these issues use the following mitigations:

If you have deactivated message compression and do not specify a maximum transaction size, the upper size limit for a message that can be handled by the applier thread on a member of a replication group is the value of the member's 'slave_max_allowed_packet' system variable, which has a default and maximum value of 1073741824 bytes (1 GB). A message that exceeds this limit fails when the receiving member attempts to handle it. The upper size limit for a message that a group member can originate and attempt to transmit to the group is 4294967295 bytes (approximately 4 GB). This is a hard limit on the packet size that is accepted by the group communication engine for Group Replication (XCom, a Paxos variant), which receives messages after GCS has handled them. A message that exceeds this limit fails when the originating member attempts to broadcast it.

 File: manual.info.tmp, Node: group-replication-monitoring, Next: group-replication-operations, Prev: group-replication-requirements-and-limitations, Up: group-replication