Rechercher dans le manuel MySQL
22.5.10.30 The ndbinfo processes Table
This table contains information about NDB Cluster node
processes; each node is represented by the row in the table.
Only nodes that are connected to the cluster are shown in this
table. You can obtain information about nodes that are
configured but not connected to the cluster from the
nodes
and
config_nodes
tables.
The following table provides information about the columns in
the processes
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.404 Columns of the nodes table
Column Name | Type | Description |
---|---|---|
node_id |
integer | The node's unique node ID in the cluster |
node_type |
string | Type of node (management, data, or API node; see text) |
node_version |
string | Version of the NDB software program running on this
node. |
process_id |
integer | This node's process ID |
angel_process_id |
integer | Process ID of this node's angel process |
process_name |
string | Name of the executable |
service_URI |
string | Service URI of this node (see text) |
node_id
is the ID assigned to this node in
the cluster.
The node_type
column displays one of the
following three values:
MGM
: Management node.NDB
: Data node.API
: API or SQL node.
For an executable shipped with the NDB Cluster distribution,
node_version
shows the software Cluster
version string, such as
8.0.19-ndb-8.0.19
.
process_id
is the node executable's
process ID as shown by the host operating system using a process
display application such as top on Linux, or
the Task Manager on Windows platforms.
angel_process_id
is the system process ID for
the node's angel process, which ensures that a data node or
SQL is automatically restarted in cases of failures. For
management nodes and API nodes other than SQL nodes, the value
of this column is NULL
.
The process_name
column shows the name of the
running executable. For management nodes, this is
ndb_mgmd
. For data nodes, this is
ndbd
(single-threaded) or
ndbmtd
(multithreaded). For SQL nodes, this
is mysqld
. For other types of API nodes, it
is the name of the executable program connected to the cluster;
NDB API applications can set a custom value for this using
Ndb_cluster_connection::set_name()
.
service_URI
shows the service network
address. For management nodes and data nodes, the scheme used is
ndb://
. For SQL nodes, this is
mysql://
. By default, API nodes other than
SQL nodes use ndb://
for the scheme; NDB API
applications can set this to a custom value using
Ndb_cluster_connection::set_service_uri()
.
regardless of the node type, the scheme is followed by the IP
address used by the NDB transporter for the node in question.
For management nodes and SQL nodes, this address includes the
port number (usually 1186 for management nodes and 3306 for SQL
nodes). If the SQL node was started with the
bind_address
system variable
set, this address is used instead of the transporter address,
unless the bind address is set to *
,
0.0.0.0
, or ::
.
Additional path information may be included in the
service_URI
value for an SQL node reflecting
various configuration options. For example,
mysql://198.51.100.3/tmp/mysql.sock
indicates
that the SQL node was started with
--skip-networking
, and
mysql://198.51.100.3:3306/?server-id=1
shows
that replication is enabled for this SQL node.
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-mysql-cluster-ndbinfo-processes.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.