Rate This Document
Findability
Accuracy
Completeness
Readability

thread_pool_size

Support CLI: Yes

Support configuration file: Yes

Support dynamic modification: Yes

Scope: global

Parameter type: numeric

Default value: number of CPU cores

Value range: 1 to 128

This parameter specifies the number of thread groups in a thread pool. The default value indicates that the number of thread groups is the same as the number of CPU cores. You can also set this parameter to one to three times the number of CPU cores to achieve better performance based on site requirements (for example, when the number of connections exceeds the number of logical CPU cores, the performance bottleneck is not caused by lock contention, and the CPU is not fully occupied).