14.18.1.3 Functions to Inspect and Configure the Maximum Consensus Instances of a Group (original) (raw)

14.18.1.3 Functions to Inspect and Configure the Maximum Consensus Instances of a Group

The following functions enable you to inspect and configure the maximum number of consensus instances that a group can execute in parallel.

INT group_replication_get_write_concurrency()  

This function has no parameters.
Return value:
The maximum number of consensus instances currently set for the group.
Example:

SELECT group_replication_get_write_concurrency()  

For more information, seeSection 20.5.1.3, “Using Group Replication Group Write Consensus”.

STRING group_replication_set_write_concurrency(instances)  

Arguments:

SELECT group_replication_set_write_concurrency(instances);  

For more information, seeSection 20.5.1.3, “Using Group Replication Group Write Consensus”.