Rechercher dans le manuel MySQL
26.12.15 Performance Schema Thread Pool Tables
[+/-]
The Performance Schema tables described here are available as
of MySQL 8.0.14. Prior to MySQL 8.0.14, use the corresponding
INFORMATION_SCHEMA
tables instead; see
Section 25.40, “INFORMATION_SCHEMA Thread Pool Tables”.
The following sections describe the Performance Schema tables associated with the thread pool plugin (see Section 5.6.3, “MySQL Enterprise Thread Pool”). They provide information about thread pool operation:
tp_thread_group_state
: Information about thread pool thread group statestp_thread_group_stats
: Thread group statisticstp_thread_state
: Information about thread pool thread states
Rows in these tables represent snapshots in time. In the case of
tp_thread_state
, all rows for a
thread group comprise a snapshot in time. Thus, the MySQL server
holds the mutex of the thread group while producing the
snapshot. But it does not hold mutexes on all thread groups at
the same time, to prevent a statement against
tp_thread_state
from blocking the
entire MySQL server.
The Performance Schema thread pool tables are implemented by the thread pool plugin and are loaded and unloaded when that plugin is loaded and unloaded (see Section 5.6.3.2, “Thread Pool Installation”). No special configuration step for the tables is needed. However, the tables depend on the thread pool plugin being enabled. If the thread pool plugin is loaded but disabled, the tables are not created.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-performance-schema-thread-pool-tables.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.