Rechercher dans le manuel MySQL
5.6.3.1 Thread Pool Components
The thread pool feature comprises these components:
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:
As of MySQL 8.0.14, the monitoring tables are Performance Schema tables; see Section 26.12.15, “Performance Schema Thread Pool Tables”.
Prior to MySQL 8.0.14, the monitoring tables are
INFORMATION_SCHEMA
tables; see Section 25.40, “INFORMATION_SCHEMA Thread Pool Tables”.The
INFORMATION_SCHEMA
tables now are deprecated and will be removed in a future MySQL version. Applications should transition away from the old tables to the new tables. For example, if an application uses this query:The application should use this query instead:
NoteIf you do not load all the monitoring tables, some or all MySQL Enterprise Monitor thread pool graphs will be empty.
For a detailed description of how the thread pool works, see Section 5.6.3.3, “Thread Pool Operation”.
Several system variables are related to the thread pool. The
thread_handling
system variable has a value ofloaded-dynamically
when the server successfully loads the thread pool plugin.The other related variables are implemented by the thread pool plugin; they are not available unless it is enabled:
thread_pool_algorithm
: The concurrency algorithm to use for scheduling.thread_pool_high_priority_connection
: How to schedule statement execution for a session.thread_pool_prio_kickup_timer
: How long before the thread pool moves a statement awaiting execution from the low-priority queue to the high-priority queue.thread_pool_max_unused_threads
: How many sleeping threads to permit.thread_pool_size
: The number of thread groups in the thread pool. This is the most important parameter controlling thread pool performance.thread_pool_stall_limit
: The time before an executing statement is considered to be stalled.
If any variable implemented by the plugin is set to an illegal value at startup, plugin initialization fails and the plugin does not load.
For information about setting thread pool parameters, see Section 5.6.3.4, “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:
For more information, see Chapter 26, MySQL Performance Schema.
Traduction non disponible
Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-thread-pool-components.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.