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.