Rechercher dans le manuel MySQL
The following functions enable you to inspect and configure the maximum number of consensus instances that a group can execute in parallel.
group_replication_get_write_concurrency()
Check the maximum number of consensus instances that a group can execute in parallel.
Syntax:
STRING group_replication_get_write_concurrency()
This function has no parameters.
Return value:
Any resulting error as a string.
Example:
For more information, see Section 18.4.1.3, “Using Group Replication Group Write Consensus”.
group_replication_set_write_concurrency()
Configures the maximum number of consensus instances that a group can execute in parallel. The
GROUP_REPLICATION_ADMIN
privilege is required to use this UDF.Syntax:
STRING group_replication_set_write_concurrency(instances)
Arguments:
members
: Sets the maximum number of consensus instances that a group can execute in parallel. Default value is 10, valid values are integers in the range of 10 to 200.
Return value:
Any resulting error as a string.
Example:
For more information, see Section 18.4.1.3, “Using Group Replication Group Write Consensus”.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-group-replication-functions-for-maximum-consensus.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.