MySQL Thread Pool
The MySQL Thread Pool is an Enterprise Edition feature
MySQL Thread Pool provides added scalability benefits in MySQL Enterprise Edition. (1)
https://www.mysql.com/products/enterprise/scalability.htmlCheck
Check
To see if the Thread Pool is active...
SELECT plugin_name, plugin_status
FROM information_schema.plugins
WHERE plugin_name LIKE '%thread%';
This is also visible in the output of SHOW PLUGINS;To check the Performance Schema monitoring tables are available...
SELECT table_name
FROM information_schema.tables
WHERE table_schema = 'performance_schema'
AND table_name LIKE 'tp%';
Enable
This instructions apply to MySQL 8.0.14 and later.Enable
Add this to your /etc/my.cnf, in the [mysqld] stanza, and restart mysql...
plugin-load-add=thread_pool.so
Disable
This instructions apply to MySQL 8.0.14 and later.Disable
Remove this line from your /etc/my.cnf and restart mysql...
plugin-load-add=thread_pool.so