Total size of the page storage pages to keep for caching purposes
wsrep_provider_options system variable applies to MariaDB Enterprise Cluster, powered by Galera and to Galera Cluster available with MariaDB Community Server. This page relates specifically to the gcache.keep_
See also: wsrep Provider Options for MariaDB Enterprise Server 23.08, in 23.07 ES, in 10.6 ES, in 10.5 ES, in 10.4 ES, in 10.3 ES, in 10.2 ES, in 10.6 CS, in 10.5 CS, in 10.4 CS, in 10.3 CS, and in 10.2 CS
gcache.keep_pages_size option is used to limit the total size of overflow pages rather than the count of all overflow pages. The total size of the page is kept for caching purposes. If only page storage is enabled, one page is always present.
Display Current Value
wsrep_provider_options define optional settings the node passes to the wsrep provider.
To display current
SHOW GLOBAL VARIABLES LIKE 'wsrep_provider_options';
The expected output will display the option and the value. Options with no default value, for example SSL options, will not be displayed in the output.
Set in Configuration File
When changing a setting for a wsrep_
Options are set in the
my.cnf configuration file. Use the
; delimiter to set multiple options.
The configuration file must be updated on each node. A restart to each node is needed for changes to take effect.
Use a quoted string that includes every option where you want to override the default value. Options that are not in the list will reset to their default value.
To set the option in the configuration file:
The gcache.keep_pages_size option cannot be set dynamically. It can only be set in the configuration file.
Trying to change a non-dynamic option with
SET results in an error:
ERROR 1210 (HY000): Incorrect arguments to SET