Spec-Zone.ru › MySQL 5.7

24.5 INFORMATION_SCHEMA Thread Pool Tables

  • 24.5.1 INFORMATION_SCHEMA Thread Pool Table Reference
  • 24.5.2 The INFORMATION_SCHEMA TP_THREAD_GROUP_STATE Table
  • 24.5.3 The INFORMATION_SCHEMA TP_THREAD_GROUP_STATS Table
  • 24.5.4 The INFORMATION_SCHEMA TP_THREAD_STATE Table

The following sections describe the INFORMATION_SCHEMA tables associated with the thread pool plugin (see Section 5.5.3, “MySQL Enterprise Thread Pool”). They provide information about thread pool operation:

  • TP_THREAD_GROUP_STATE: Information about thread pool thread group states

  • TP_THREAD_GROUP_STATS: Thread group statistics

  • TP_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 thread pool INFORMATION_SCHEMA tables are implemented by individual plugins and the decision whether to load one can be made independently of the others (see Section 5.5.3.2, “Thread Pool Installation”). However, the content of all the tables depends on the thread pool plugin being enabled. If a table plugin is enabled but the thread pool plugin is not, the table becomes visible and can be accessed, but is empty.

© 2025 Oracle
Licensed under the GPLv2 License.
https://docs.oracle.com/cd/E17952_01/mysql-5.7-en/thread-pool-information-schema-tables.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API