Skip to content

Wrong recommendation "thread_pool_size between 16 and 36 for InnoDB usage" for Percona Server #551

@makhomed

Description

@makhomed

Recommendation "thread_pool_size between 16 and 36 for InnoDB usage"
from MySQL 8.0 Reference Manual / 5.6.3.4 Thread Pool Tuning
is only about Oracle MySQL Enterprise Thread Pool.

If Percona Server used - this recommendation about thread_pool_size MUST be different:

Alexey Stroganov, Performance Engineer at Percona in comments to article Percona Server: Improve Scalability with Percona Thread Pool write: "Usually most efficient value of thread_pool_size is in range between NCPU and NCPU+NCPU/2. NCPU = Number of CPU’s":

image

MySQLTuner should recommend to use thread_pool_size in range between NCPU and NCPU+NCPU/2. Where NCPU = Number of CPU cores, if Percona Server is used.

Recommendation "thread_pool_size between 16 and 36 for InnoDB usage" should be used only for Oracle MySQL Enterprise Thread Pool and this recommendation is wrong for Percona Server, causing buggy MySQL configurations.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions