Rechercher dans le manuel MySQL
22.5 Management of NDB Cluster
[+/-]
- 22.5.1 Summary of NDB Cluster Start Phases
- 22.5.2 Commands in the NDB Cluster Management Client
- 22.5.3 Online Backup of NDB Cluster
- 22.5.4 MySQL Server Usage for NDB Cluster
- 22.5.5 Performing a Rolling Restart of an NDB Cluster
- 22.5.6 Event Reports Generated in NDB Cluster
- 22.5.7 NDB Cluster Log Messages
- 22.5.8 NDB Cluster Single User Mode
- 22.5.9 Quick Reference: NDB Cluster SQL Statements
- 22.5.10 ndbinfo: The NDB Cluster Information Database
- 22.5.11 INFORMATION_SCHEMA Tables for NDB Cluster
- 22.5.12 NDB Cluster Security Issues
- 22.5.13 NDB Cluster Disk Data Tables
- 22.5.14 Online Operations with ALTER TABLE in NDB Cluster
- 22.5.15 Adding NDB Cluster Data Nodes Online
- 22.5.16 Distributed MySQL Privileges (Not Supported)
- 22.5.17 NDB API Statistics Counters and Variables
Managing an NDB Cluster involves a number of tasks, the first of which is to configure and start NDB Cluster. This is covered in Section 22.3, “Configuration of NDB Cluster”, and Section 22.4, “NDB Cluster Programs”.
The next few sections cover the management of a running NDB Cluster.
For information about security issues relating to management and deployment of an NDB Cluster, see Section 22.5.12, “NDB Cluster Security Issues”.
There are essentially two methods of actively managing a running NDB
Cluster. The first of these is through the use of commands entered
into the management client whereby cluster status can be checked,
log levels changed, backups started and stopped, and nodes stopped
and started. The second method involves studying the contents of the
cluster log
ndb_
;
this is usually found in the management server's
node_id
_cluster.logDataDir
directory, but this
location can be overridden using the
LogDestination
option.
(Recall that node_id
represents the
unique identifier of the node whose activity is being logged.) The
cluster log contains event reports generated by
ndbd. It is also possible to send cluster log
entries to a Unix system log.
Some aspects of the cluster's operation can be also be monitored
from an SQL node using the
SHOW ENGINE NDB
STATUS
statement.
More detailed information about NDB Cluster operations is available
in real time through an SQL interface using the
ndbinfo
database. For more
information, see Section 22.5.10, “ndbinfo: The NDB Cluster Information Database”.
NDB statistics counters provide improved monitoring using the
mysql client. These counters, implemented in the
NDB kernel, relate to operations performed by or affecting
Ndb
objects, such as starting,
closing, and aborting transactions; primary key and unique key
operations; table, range, and pruned scans; blocked threads waiting
for various operations to complete; and data and events sent and
received by NDB Cluster. The counters are incremented by the NDB
kernel whenever NDB API calls are made or data is sent to or
received by the data nodes.
mysqld exposes the NDB API statistics counters as
system status variables, which can be identified from the prefix
common to all of their names (Ndb_api_
). The
values of these variables can be read in the
mysql client from the output of a
SHOW STATUS
statement, or by querying
either the
SESSION_STATUS
table
or the GLOBAL_STATUS
table (in the INFORMATION_SCHEMA
database). By
comparing the values of the status variables before and after the
execution of an SQL statement that acts on
NDB
tables, you can observe the actions
taken on the NDB API level that correspond to this statement, which
can be beneficial for monitoring and performance tuning of NDB
Cluster.
MySQL Cluster Manager provides an advanced command-line interface that simplifies many otherwise complex NDB Cluster management tasks, such as starting, stopping, or restarting an NDB Cluster with a large number of nodes. The MySQL Cluster Manager client also supports commands for getting and setting the values of most node configuration parameters as well as mysqld server options and variables relating to NDB Cluster. See MySQL™ Cluster Manager 1.4.7 User Manual, for more information.
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 26/06/2006 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/mysql-rf-mysql-cluster-management.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.