Module Parameters for MariaDB MaxScale 2.4
This page is part of MariaDB's MariaDB Documentation.
The parent of this page is: Reference for MariaDB MaxScale 2.4
Topics on this page:
Overview
MariaDB MaxScale 2.4 supports many module parameters.
Reference material is available for MariaDB MaxScale 2.4.
MariaDB MaxScale 2.4 Module Parameters
The Module Parameters supported by MariaDB MaxScale 2.4 are listed below.
To see Module Parameters supported in other versions, see "Module Parameters by MariaDB MaxScale Version".
MariaDB Monitor (mariadbmon)
The parameters for mariadbmon:
Parameter | Description |
---|---|
Type: bool, default value: true | |
Type: bool, default value: false | |
Type: bool, default value: false | |
Type: path | |
Type: bool, default value: false | |
Require that the Primary Server have connectivity with at least one running Replica Server | |
Requires that Replica Servers have connectivity with a running Primary Server | |
Requires that the Primary Server have at least one Replica Server | |
Type: bool, default value: false | |
Type: bool, default value: false | |
Number of consecutive times MaxScale can fail to reach the Primary Server before it considers it down | |
Type: duration, default value: 90s | |
Type: bool, default value: true | |
Type: bool, default value: false | |
Type: bool, default value: true | |
Type: duration, default value: 10s | |
Type: path | |
Type: bool, default value: false | |
Type: password string | |
Type: string | |
Type: serverlist | |
Type: bool, default value: false | |
Type: duration, default value: 90s | |
Type: bool, default value: true |
Read/Write Split Router (readwritesplit)
The parameters for readwritesplit:
Parameter | Description |
---|---|
Configures read causality, reads subsequent to writes issued in manner to reduce replication lag | |
Timeout for synchronization of the Primary Server with a Replica Server during causal reads | |
Type: duration, default value: 300s | |
Retry queries that fail to route due to connection issues | |
Timeout for retrying queries that fail to route due to connection issues | |
Type: bool, default value: false | |
Type: bool, default value: false | |
Route read operations to the Primary Server or whether it only accepts write operations | |
Type: enum, default value: fail_ | |
Reconnect to the Primary Server if it changes mid-session | |
Type: count, default value: 50 | |
Maximum number of connections the router session can use to connect to Replica Servers | |
Number of seconds a Replica Server is allowed to fall behind the Primary Server | |
Type: bool, default value: false | |
Type: bool, default value: false | |
Type: bool, default value: true | |
Criteria the router uses to select Replica Servers in load balancing read operations | |
Routes multi-statement queries to the Primary Server | |
Routes statements to the Primary Server | |
Replays in progress transactions that fail on a different Server | |
Maximum number of times to attempt to replay failed transactions | |
Maximum size in bytes permitted for transaction replays | |
Maximum number of times the router attempts to replay transactions in the event that the transaction fails due to deadlocks | |
Where the router sends session variable queries |