slave_selection_criteria
This page is part of MariaDB's Enterprise Documentation.
The parent of this page is: Module Parameters for MariaDB MaxScale
Topics on this page:
Overview
Criteria the router uses to select Replica Servers in load balancing read operations.
See also: Module Parameters for MariaDB MaxScale 6, in 2.5, and in 2.4
DETAILS
In addition to splitting read and write operations between Primary and Replica Servers, the Read/Write Split router performs load balancing on the available Replica Servers. This module parameter sets the criteria used to select the Servers.
Criterion | Description |
---|---|
| Router selects the Replica Server with the least number of connections from MariaDB MaxScale. |
| Router selects the Replica Server with the least number of connections from this router service. |
| Router selects the Replica Server with the least replication lag. |
| Router selects the Replica Server with the fewest active operations. |
| Router selects the Replica Server based on average response times. |
CHANGE HISTORY
Release Series | History |
---|---|
6 |
|
2.5 |
|
2.4 |
|
EXTERNAL REFERENCES
Information specific to MariaDB SkySQL can be found on the slave_selection_criteria page in the SkySQL Documentation.