MySQL Enterprise Thread Pool comprises these elements:
A plugin library file implements a plugin for the thread pool code as well as several associated monitoring tables that provide information about thread pool operation.
For a detailed description of how the thread pool works, see Section 18.104.22.168, “Thread Pool Operation”.
INFORMATION_SCHEMAtables are named
TP_THREAD_GROUP_STATS. These tables provide information about thread pool operation. For more information, see Section 23.33, “INFORMATION_SCHEMA Thread Pool Tables”.
Several system variables are related to the thread pool. The
thread_handlingsystem variable has a value of
loaded-dynamicallywhen the server successfully loads the thread pool plugin.
The other related system variables are implemented by the thread pool plugin and are not available unless it is enabled. For information about using these variables, see Section 22.214.171.124, “Thread Pool Operation”, and Section 126.96.36.199, “Thread Pool Tuning”.
The Performance Schema has instruments that expose information about the thread pool and may be used to investigate operational performance. To identify them, use this query:
SELECT * FROM performance_schema.setup_instruments WHERE NAME LIKE '%thread_pool%';
For more information, see Chapter 24, MySQL Performance Schema.