gtid_cleanup_batch_size

Normally does not need tuning. How many old rows must accumulate in the mysql.gtid_slave_pos table before a background job will be run to delete them. Can be increased to reduce number of commits if using many different engines with --gtid_pos_auto_engines, or to reduce CPU overhead if using a huge number of different gtid_domain_ids. Can be decreased to reduce number of old rows in the table.

See also: System Variables for MariaDB Enterprise Server 10.6, in 10.5 ES, and in 10.4 ES

DETAILS

PARAMETERS

Dynamic

Yes

Scope

Global

Data Type

INT UNSIGNED

Minimum Value

0

Maximum Value

2147483647

Default Value

64

SKYSQL

Cloud

SkySQL Topology

ES Ver

Default

AWS

HA (Primary/Replica)

10.4

64

AWS

HA (Primary/Replica)

10.5

64

AWS

Transactional Standalone

10.4

64

AWS

Transactional Standalone

10.5

64

AWS

Distributed Transactions

10.5

Not present

GCP

ColumnStore

10.5

64

GCP

ColumnStore Multi

10.5

64

GCP

Galera

10.4

64

GCP

Galera

10.5

64

GCP

HA (Primary/Replica)

10.4

64

GCP

HA (Primary/Replica)

10.5

64

GCP

HTAP

10.5

64

GCP

Transactional Standalone

10.4

64

GCP

Transactional Standalone

10.5

64

GCP

Distributed Transactions

10.5

Not present

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES