Spec-Zone.ru › MySQL 5.7

21.6.15.42 Таблица ndbinfo threads

Таблица threads предоставляет информацию о потоках, выполняющихся в ядре NDB.

Таблица threads содержит следующие столбцы:

  • node_id

    Идентификатор узла, на котором выполняется поток

  • thr_no

    Идентификатор потока (специфичный для данного узла)

  • thread_name

    Название потока (тип потока)

  • thread_description

    Описание потока (типа)

Примечания

Здесь показан пример вывода для кластера из 2 узлов, включая описания потоков:

mysql> SELECT * FROM threads;
+---------+--------+-------------+------------------------------------------------------------------+
| node_id | thr_no | thread_name | thread_description                                               |
+---------+--------+-------------+------------------------------------------------------------------+
|       5 |      0 | main        | main thread, schema and distribution handling                    |
|       5 |      1 | rep         | rep thread, asynch replication and proxy block handling          |
|       5 |      2 | ldm         | ldm thread, handling a set of data partitions                    |
|       5 |      3 | recv        | receive thread, performing receive and polling for new receives |
|       6 |      0 | main        | main thread, schema and distribution handling                    |
|       6 |      1 | rep         | rep thread, asynch replication and proxy block handling          |
|       6 |      2 | ldm         | ldm thread, handling a set of data partitions                    |
|       6 |      3 | recv        | receive thread, performing receive and polling for new receives |
+---------+--------+-------------+------------------------------------------------------------------+
8 rows in set (0.01 sec)

Эта таблица была добавлена в NDB 7.5.2.

© 2025 Oracle
Licensed under the GPLv2 License.
https://docs.oracle.com/cd/E17952_01/mysql-5.7-en/mysql-cluster-ndbinfo-threads.html

Spec-Zone.ru

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