thread_cache_size

How many threads we should keep in a cache for reuse. These are freed after 5 minutes of idle time

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

BIGINT UNSIGNED

Minimum Value

0

Maximum Value

16384

Default Value

256

SKYSQL

Cloud

SkySQL Topology

ES Ver

Default

AWS

HA (Primary/Replica)

10.4

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

AWS

HA (Primary/Replica)

10.5

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

AWS

Transactional Standalone

10.4

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

AWS

Transactional Standalone

10.5

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

AWS

Distributed Transactions

10.5

Not present (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

ColumnStore

10.5

151 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

ColumnStore Multi

10.5

151 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

Galera

10.4

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

Galera

10.5

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

HA (Primary/Replica)

10.4

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

HA (Primary/Replica)

10.5

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

HTAP

10.5

151 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

Transactional Standalone

10.4

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

Transactional Standalone

10.5

256 (choices: 0, 128, 256, 512, 1024, 2048, 4096)

GCP

Distributed Transactions

10.5

Not present (choices: 0, 128, 256, 512, 1024, 2048, 4096)

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