Rechercher dans le manuel MySQL
22.5.10.9 The ndbinfo config_values Table
The config_values
table provides information
about the current state of node configuration parameter values.
Each row in the table corresponds to the current value of a
parameter on a given node.
Table 22.383 Columns of the config_params table
Column Name | Type | Description |
---|---|---|
node_id |
integer | ID of the node in the cluster |
config_param |
integer | The parameter's internal ID number |
config_value |
string | Current value of the parameter |
This table's config_param
column and the
config_params
table's
param_number
column use the same parameter
identifiers. By joining the two tables on these columns, you can
obtain detailed information about desired node configuration
parameters. The query shown here provides the current values for
all parameters on each data node in the cluster, ordered by node
ID and parameter name:
Partial output from the previous query when run on a small example cluster used for simple testing:
- +---------+------------------------------------------+----------------+
- +---------+------------------------------------------+----------------+
- | 2 | Arbitration | 1 |
- | 2 | ArbitrationTimeout | 7500 |
- | 2 | BackupDataBufferSize | 16777216 |
- | 2 | BackupDiskWriteSpeedPct | 50 |
- | 2 | BackupLogBufferSize | 16777216 |
- ...
- | 3 | TotalSendBufferMemory | 0 |
- | 3 | TransactionBufferMemory | 1048576 |
- | 3 | TransactionDeadlockDetectionTimeout | 1200 |
- | 3 | TransactionInactiveTimeout | 4294967039 |
- | 3 | TwoPassInitialNodeRestartCopy | 0 |
- | 3 | UndoDataBuffer | 16777216 |
- | 3 | UndoIndexBuffer | 2097152 |
- +---------+------------------------------------------+----------------+
The WHERE
clause filters out parameters whose
names begin with a double underscore (__
);
these parameters are reserved for testing and other internal
uses by the NDB developers, and are not intended for use in a
production NDB Cluster.
You can obtain output that is more specific, more detailed, or
both by issuing the proper queries. This example provides all
types of available information about the
NodeId
,
NoOfReplicas
,
HostName
,
DataMemory
,
IndexMemory
, and
TotalSendBufferMemory
parameters as currently set for all data nodes in the cluster:
The output from this query when run on a small NDB Cluster with 2 data nodes used for simple testing is shown here:
- *************************** 1. row ***************************
- Name: NodeId
- Node: 2
- Minimum: 1
- Maximum: 48
- Required: Y
- Current: 2
- *************************** 2. row ***************************
- Name: HostName
- Node: 2
- Type: string
- Default: localhost
- Minimum:
- Maximum:
- Required: N
- Current: 127.0.0.1
- *************************** 3. row ***************************
- Name: TotalSendBufferMemory
- Node: 2
- Default: 0
- Minimum: 262144
- Maximum: 4294967039
- Required: N
- Current: 0
- *************************** 4. row ***************************
- Name: NoOfReplicas
- Node: 2
- Default: 2
- Minimum: 1
- Maximum: 4
- Required: N
- Current: 2
- *************************** 5. row ***************************
- Name: DataMemory
- Node: 2
- Default: 102760448
- Minimum: 1048576
- Maximum: 1099511627776
- Required: N
- Current: 524288000
- *************************** 6. row ***************************
- Name: NodeId
- Node: 3
- Minimum: 1
- Maximum: 48
- Required: Y
- Current: 3
- *************************** 7. row ***************************
- Name: HostName
- Node: 3
- Type: string
- Default: localhost
- Minimum:
- Maximum:
- Required: N
- Current: 127.0.0.1
- *************************** 8. row ***************************
- Name: TotalSendBufferMemory
- Node: 3
- Default: 0
- Minimum: 262144
- Maximum: 4294967039
- Required: N
- Current: 0
- *************************** 9. row ***************************
- Name: NoOfReplicas
- Node: 3
- Default: 2
- Minimum: 1
- Maximum: 4
- Required: N
- Current: 2
- *************************** 10. row ***************************
- Name: DataMemory
- Node: 3
- Default: 102760448
- Minimum: 1048576
- Maximum: 1099511627776
- Required: N
- Current: 524288000
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-config-values.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.