+1-208-473-2904 (USA - Sales)
0-800-051-8984 (UK - Sales)
0-800-181-0665 (GER - Sales)
+1-925-271-5054 (Training)
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | TOI |
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | ON |
This variable manages the auto_increment_increment and auto_increment_offset variables automatically depending on the size of the cluster. This helps prevent auto_increment replication conflicts across the cluster by giving each node it’s own range of auto_increment values. This may not be desirable depending on application’s use and assumptions of auto-increments. It can be turned off in Master/Slave clusters.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global, Local |
| Dynamic: | Yes |
| Default Value: | OFF |
In some cases master may apply event faster than a slave, which can cause master and slave being out-of-sync for a brief moment. When this variable is set to ON slave will wait till that event is applied before doing any other queries. Enabling this variable will also result in larger latencies.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | ON |
When this variable is enabled, primary keys will be generated automatically for the rows that the rows don’t have them. Using tables without primary keys is not recommended.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
This minimally needs to be any single other cluster node’s address that is alive and a member of the cluster. In practice, it is best (but not necessary) to provide a complete list of all possible cluster nodes. This takes the form of:
gcomm://<node:ip>,<node:ip>,<node:ip>
If an empty gcomm:// is provided, this tells the node to bootstrap it self (i.e., form a new cluster). This is not recommended for production after the cluster has been bootstrapped initially.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | my_wsrep_cluster |
This is the name of the cluster and should be identical on all nodes belonging to the same cluster.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | OFF |
This variable is used to convert LOCK/UNLOCK TABLES statements to BEGIN/COMMIT. Although this can help some older applications to work with multi-master setup it can also result in having huge writesets.
| Command Line: | No |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Default Value: | mysql datadir |
This variable can be used to set up the directory where wsrep provider will store its files (like grastate.dat).
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
This variable is used to send the DBUG option to the wsrep provider.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | OFF |
When this variable is set to ON, debug messages will also be logged to the error_log. This can be used when trying to diagnose the problem or when submitting a bug.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | OFF |
This variable was introduced as workaround for Drupal/MySQL bug #282555. In some cases duplicate key error would occur when inserting the default value in into the auto_increment field.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | NONE |
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | OFF |
This variable is used to control whether sole cluster conflicts should be logged. When enabled details of conflicting InnoDB lock will be logged.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | 131072 (128K) |
This variable is used to control maximum number of rows each writeset can contain. Anything bigger than this will be rejected.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | 1073741824 (1G) |
This variable is used to control maximum writeset size (in bytes). Anything bigger than this will be rejected.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Default Value: | 0 (no grouping) |
| Range: | 0-1000 |
This variable controls how many replication events will be grouped together. This implementation is still experimental.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Format : | <ip address>[:port] |
| Default Value: | Usually set up as primary network interface (eth0) |
This variable is used to specify the network address of the node. In some cases when there are multiple NICs available, state transfer might not work if the default NIC is on different network. Setting this variable explicitly to the correct value will makes SST and IST work correctly out of the box. Even in the multi-network setups, IST/SST can be configured to use other interfaces/addresses.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Default Value: | <wsrep_node_address>:3306 |
This is the address at which the node accepts client connections. This is information is used for status variable wsrep_incoming_addresses which shows all the active cluster nodes.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
This variable is used to set up the unique node name.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
This variable is used to set the notification command that server will execute every time cluster membership or local node status changes.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Local, Global |
| Dynamic: | Yes |
| Default Value: | ON |
This variable is used to enable/disable wsrep replication. When set to OFF server will stop replication and behave like standalone MySQL server.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | None |
This variable should contain the path to the Galera library (like /usr/lib64/libgalera_smm.so).
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
This variable contains settings currently used by Galera library.
| Command Line: | No |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Default Value: | OFF |
| Location : | mysqld_safe |
When server is started with this variable it will parse Global Transaction ID from log, and if the GTID is found, assign it as initial position for actual server start. This option is used to recover GTID.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Default Value: | Off |
This variable controls if MyISAM will be replicated or not. MyISAM replication is still experimental and that is one of the reasons why this variable is set to OFF by default.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Default Value: | 1 |
This variable sets the number of times autocommitted transactions will be tried in the cluster if it encounters certification errors. In case there is a conflict, it should be safe for the cluster node to simply retry the statement without the client’s knowledge with the hopes that it will pass the next time. This can be useful to help an application using autocommit to avoid the deadlock errors that can be triggered by replication conflicts. Note that the default 1 is not a retry, but the first try. Retries start when this variable is set to 2 or higher.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Default Value: | 1 |
This variable controls the number of threads that can apply replication transactions in parallel. Galera supports true parallel replication, replication that applies transactions in parallel only when it is safe to do so. The default value can be increased for better throughput. If any replication consistency problems are encountered, it’s recommended to set this back to 1 to see if that resolves the issue.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Format : | <username>:<password> |
This variable should contain the authentication information needed for State Snapshot Transfer. Required information depends on the method selected in the wsrep_sst_method. More information about required authentication can be found in the State Snapshot Transfer documentation. This variable will appear masked in the logs and in the SHOW VARIABLES query.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
This variable contains the name (wsrep_node_name) of the preferred donor for the SST. If no node is selected as a preferred donor it will be chosen from one of the available nodes automatically.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | OFF |
When this variable is enabled SST donor node will not accept incoming queries, instead it will reject queries with UNKNOWN COMMAND error code. This can be used to signal load-balancer that the node isn’t available.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | mysqldump |
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Default Value: | AUTO |
This variable is used to configure address on which the node expects the SST.
| Command Line: | Yes |
|---|---|
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
This variable contains the UUID:seqno value. By setting all the nodes to have the same value for this option cluster can be set up without the state transfer.