Rechercher dans le manuel MySQL

22.5.10.42 The ndbinfo threads Table

The threads table provides information about threads running in the NDB kernel.

The following table provides information about the columns in the threads table. For each column, the table shows the name, data type, and a brief description. Additional information can be found in the notes following the table.

Table 22.418 Columns of the threads table

Column Name Type Description
node_id integer ID of the node where the thread is running
thr_no integer Thread ID (specific to this node)
thread_name string Thread name (type of thread)
thread_description string Thread (type) description

Sample output from a 2-node example cluster, including thread descriptions, is shown here:

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

Find a PHP function

Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-mysql-cluster-ndbinfo-threads.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

  1. View the html document Language of the document:en Manuel MySQL : https://dev.mysql.com/

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.

Contents Haut