21 MySQL NDB Cluster 7.5 and NDB Cluster 7.6 (original) (raw)

Table of Contents

21.1 General Information

21.2 NDB Cluster Overview

21.2.1 NDB Cluster Core Concepts

21.2.2 NDB Cluster Nodes, Node Groups, Fragment Replicas, and Partitions

21.2.3 NDB Cluster Hardware, Software, and Networking Requirements

21.2.4 What is New in MySQL NDB Cluster

21.2.5 NDB: Added, Deprecated, and Removed Options, Variables, and Parameters

21.2.6 MySQL Server Using InnoDB Compared with NDB Cluster

21.2.7 Known Limitations of NDB Cluster

21.3 NDB Cluster Installation

21.3.1 Installation of NDB Cluster on Linux

21.3.2 Installing NDB Cluster on Windows

21.3.3 Initial Configuration of NDB Cluster

21.3.4 Initial Startup of NDB Cluster

21.3.5 NDB Cluster Example with Tables and Data

21.3.6 Safe Shutdown and Restart of NDB Cluster

21.3.7 Upgrading and Downgrading NDB Cluster

21.3.8 The NDB Cluster Auto-Installer (NDB 7.5) (NO LONGER SUPPORTED)

21.3.9 The NDB Cluster Auto-Installer (NO LONGER SUPPORTED)

21.4 Configuration of NDB Cluster

21.4.1 Quick Test Setup of NDB Cluster

21.4.2 Overview of NDB Cluster Configuration Parameters, Options, and Variables

21.4.3 NDB Cluster Configuration Files

21.4.4 Using High-Speed Interconnects with NDB Cluster

21.5 NDB Cluster Programs

21.5.1 ndbd — The NDB Cluster Data Node Daemon

21.5.2 ndbinfo_select_all — Select From ndbinfo Tables

21.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)

21.5.4 ndb_mgmd — The NDB Cluster Management Server Daemon

21.5.5 ndb_mgm — The NDB Cluster Management Client

21.5.6 ndb_blob_tool — Check and Repair BLOB and TEXT columns of NDB Cluster Tables

21.5.7 ndb_config — Extract NDB Cluster Configuration Information

21.5.8 ndb_cpcd — Automate Testing for NDB Development

21.5.9 ndb_delete_all — Delete All Rows from an NDB Table

21.5.10 ndb_desc — Describe NDB Tables

21.5.11 ndb_drop_index — Drop Index from an NDB Table

21.5.12 ndb_drop_table — Drop an NDB Table

21.5.13 ndb_error_reporter — NDB Error-Reporting Utility

21.5.14 ndb_import — Import CSV Data Into NDB

21.5.15 ndb_index_stat — NDB Index Statistics Utility

21.5.16 ndb_move_data — NDB Data Copy Utility

21.5.17 ndb_perror — Obtain NDB Error Message Information

21.5.18 ndb_print_backup_file — Print NDB Backup File Contents

21.5.19 ndb_print_file — Print NDB Disk Data File Contents

21.5.20 ndb_print_frag_file — Print NDB Fragment List File Contents

21.5.21 ndb_print_schema_file — Print NDB Schema File Contents

21.5.22 ndb_print_sys_file — Print NDB System File Contents

21.5.23 ndb_redo_log_reader — Check and Print Content of Cluster Redo Log

21.5.24 ndb_restore — Restore an NDB Cluster Backup

21.5.25 ndb_select_all — Print Rows from an NDB Table

21.5.26 ndb_select_count — Print Row Counts for NDB Tables

21.5.27 ndb_show_tables — Display List of NDB Tables

21.5.28 ndb_size.pl — NDBCLUSTER Size Requirement Estimator

21.5.29 ndb_top — View CPU usage information for NDB threads

21.5.30 ndb_waiter — Wait for NDB Cluster to Reach a Given Status

21.6 Management of NDB Cluster

21.6.1 Commands in the NDB Cluster Management Client

21.6.2 NDB Cluster Log Messages

21.6.3 Event Reports Generated in NDB Cluster

21.6.4 Summary of NDB Cluster Start Phases

21.6.5 Performing a Rolling Restart of an NDB Cluster

21.6.6 NDB Cluster Single User Mode

21.6.7 Adding NDB Cluster Data Nodes Online

21.6.8 Online Backup of NDB Cluster

21.6.9 Importing Data Into MySQL Cluster

21.6.10 MySQL Server Usage for NDB Cluster

21.6.11 NDB Cluster Disk Data Tables

21.6.12 Online Operations with ALTER TABLE in NDB Cluster

21.6.13 Distributed Privileges Using Shared Grant Tables

21.6.14 NDB API Statistics Counters and Variables

21.6.15 ndbinfo: The NDB Cluster Information Database

21.6.16 INFORMATION_SCHEMA Tables for NDB Cluster

21.6.17 Quick Reference: NDB Cluster SQL Statements

21.6.18 NDB Cluster Security Issues

21.7 NDB Cluster Replication

21.7.1 NDB Cluster Replication: Abbreviations and Symbols

21.7.2 General Requirements for NDB Cluster Replication

21.7.3 Known Issues in NDB Cluster Replication

21.7.4 NDB Cluster Replication Schema and Tables

21.7.5 Preparing the NDB Cluster for Replication

21.7.6 Starting NDB Cluster Replication (Single Replication Channel)

21.7.7 Using Two Replication Channels for NDB Cluster Replication

21.7.8 Implementing Failover with NDB Cluster Replication

21.7.9 NDB Cluster Backups With NDB Cluster Replication

21.7.10 NDB Cluster Replication: Bidirectional and Circular Replication

21.7.11 NDB Cluster Replication Conflict Resolution

21.8 NDB Cluster Release Notes

This chapter provides information about MySQLNDB Cluster, a high-availability, high-redundancy version of MySQL adapted for the distributed computing environment which enables running several computers with MySQL servers and other software in a cluster. This chapter also provides information specific to NDB Cluster 7.5 releases through 5.7.44-ndb-7.5.36 and NDB Cluster 7.6 releases through 5.7.44-ndb-7.6.34, both of which are previous General Availability (GA) releases still supported in production. The latest available releases of these are 5.7.44-ndb-7.5.36 and 5.7.44-ndb-7.6.33, respectively. A more recent NDB Cluster stable release series uses version 8.0 of the NDB storage engine (also known as NDBCLUSTER). NDB Cluster 8.0, now available as a General Availability (GA) release beginning with version 8.0.19, incorporates version 8.0 of theNDB storage engine; seeMySQL NDB Cluster 8.0, for more information about NDB 8.0. NDB Cluster 8.4 (NDB 8.4.5), based on version 8.4 of the NDB storage engine, is also available as an LTS release. SeeWhat is New in MySQL NDB Cluster 8.4, for information about differences in NDB 8.4 as compared to earlier releases. Previous GA releases NDB Cluster 7.4 and NDB Cluster 7.3 incorporated NDB versions 7.4 and 7.3, respectively. NDB 7.4 and older release series are no longer supported or maintained. Both NDB 8.0 and NDB 8.1 are supported in production, and are recommended for new deployments.