MySQL NDB Cluster 7.5, MySQL NDB Cluster 7.6


This is the MySQL NDB Cluster 7.5 and MySQL NDB Cluster 7.6 extract from the MySQL 8.0 Reference Manual.

For legal information, see the Legal Notices.

For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users.

Document generated on: 2024-06-22 (revision: 78886)

Table of Contents

Preface and Legal Notices
1 General Information
2 NDB Cluster Overview
2.1 NDB Cluster Core Concepts
2.2 NDB Cluster Nodes, Node Groups, Fragment Replicas, and Partitions
2.3 NDB Cluster Hardware, Software, and Networking Requirements
2.4 What is New in MySQL NDB Cluster
2.4.1 What is New in NDB Cluster 7.5
2.4.2 What is New in NDB Cluster 7.6
2.5 NDB: Added, Deprecated, and Removed Options, Variables, and Parameters
2.5.1 Options, Variables, and Parameters Added, Deprecated or Removed in NDB 7.5
2.5.2 Options, Variables, and Parameters Added, Deprecated or Removed in NDB 7.6
2.6 MySQL Server Using InnoDB Compared with NDB Cluster
2.6.1 Differences Between the NDB and InnoDB Storage Engines
2.6.2 NDB and InnoDB Workloads
2.6.3 NDB and InnoDB Feature Usage Summary
2.7 Known Limitations of NDB Cluster
2.7.1 Noncompliance with SQL Syntax in NDB Cluster
2.7.2 Limits and Differences of NDB Cluster from Standard MySQL Limits
2.7.3 Limits Relating to Transaction Handling in NDB Cluster
2.7.4 NDB Cluster Error Handling
2.7.5 Limits Associated with Database Objects in NDB Cluster
2.7.6 Unsupported or Missing Features in NDB Cluster
2.7.7 Limitations Relating to Performance in NDB Cluster
2.7.8 Issues Exclusive to NDB Cluster
2.7.9 Limitations Relating to NDB Cluster Disk Data Storage
2.7.10 Limitations Relating to Multiple NDB Cluster Nodes
3 NDB Cluster Installation
3.1 Installation of NDB Cluster on Linux
3.1.1 Installing an NDB Cluster Binary Release on Linux
3.1.2 Installing NDB Cluster from RPM
3.1.3 Installing NDB Cluster Using .deb Files
3.1.4 Building NDB Cluster from Source on Linux
3.2 Installing NDB Cluster on Windows
3.2.1 Installing NDB Cluster on Windows from a Binary Release
3.2.2 Compiling and Installing NDB Cluster from Source on Windows
3.2.3 Initial Startup of NDB Cluster on Windows
3.2.4 Installing NDB Cluster Processes as Windows Services
3.3 Initial Configuration of NDB Cluster
3.4 Initial Startup of NDB Cluster
3.5 NDB Cluster Example with Tables and Data
3.6 Safe Shutdown and Restart of NDB Cluster
3.7 Upgrading and Downgrading NDB Cluster
3.7.1 Upgrading and Downgrading NDB 7.5
3.7.2 Upgrading and Downgrading NDB 7.6
3.8 The NDB Cluster Auto-Installer (NDB 7.5) (NO LONGER SUPPORTED)
3.9 The NDB Cluster Auto-Installer (NO LONGER SUPPORTED)
4 Configuration of NDB Cluster
4.1 Quick Test Setup of NDB Cluster
4.2 Overview of NDB Cluster Configuration Parameters, Options, and Variables
4.2.1 NDB Cluster Data Node Configuration Parameters
4.2.2 NDB Cluster Management Node Configuration Parameters
4.2.3 NDB Cluster SQL Node and API Node Configuration Parameters
4.2.4 Other NDB Cluster Configuration Parameters
4.2.5 NDB Cluster mysqld Option and Variable Reference
4.3 NDB Cluster Configuration Files
4.3.1 NDB Cluster Configuration: Basic Example
4.3.2 Recommended Starting Configuration for NDB Cluster
4.3.3 NDB Cluster Connection Strings
4.3.4 Defining Computers in an NDB Cluster
4.3.5 Defining an NDB Cluster Management Server
4.3.6 Defining NDB Cluster Data Nodes
4.3.7 Defining SQL and Other API Nodes in an NDB Cluster
4.3.8 Defining the System
4.3.9 MySQL Server Options and Variables for NDB Cluster
4.3.10 NDB Cluster TCP/IP Connections
4.3.11 NDB Cluster TCP/IP Connections Using Direct Connections
4.3.12 NDB Cluster Shared Memory Connections
4.3.13 Configuring NDB Cluster Send Buffer Parameters
4.4 Using High-Speed Interconnects with NDB Cluster
5 NDB Cluster Programs
5.1 ndbd — The NDB Cluster Data Node Daemon
5.2 ndbinfo_select_all — Select From ndbinfo Tables
5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)
5.4 ndb_mgmd — The NDB Cluster Management Server Daemon
5.5 ndb_mgm — The NDB Cluster Management Client
5.6 ndb_blob_tool — Check and Repair BLOB and TEXT columns of NDB Cluster Tables
5.7 ndb_config — Extract NDB Cluster Configuration Information
5.8 ndb_cpcd — Automate Testing for NDB Development
5.9 ndb_delete_all — Delete All Rows from an NDB Table
5.10 ndb_desc — Describe NDB Tables
5.11 ndb_drop_index — Drop Index from an NDB Table
5.12 ndb_drop_table — Drop an NDB Table
5.13 ndb_error_reporter — NDB Error-Reporting Utility
5.14 ndb_import — Import CSV Data Into NDB
5.15 ndb_index_stat — NDB Index Statistics Utility
5.16 ndb_move_data — NDB Data Copy Utility
5.17 ndb_perror — Obtain NDB Error Message Information
5.18 ndb_print_backup_file — Print NDB Backup File Contents
5.19 ndb_print_file — Print NDB Disk Data File Contents
5.20 ndb_print_frag_file — Print NDB Fragment List File Contents
5.21 ndb_print_schema_file — Print NDB Schema File Contents
5.22 ndb_print_sys_file — Print NDB System File Contents
5.23 ndb_redo_log_reader — Check and Print Content of Cluster Redo Log
5.24 ndb_restore — Restore an NDB Cluster Backup
5.24.1 Restoring an NDB Backup to a Different Version of NDB Cluster
5.24.2 Restoring to a different number of data nodes
5.25 ndb_select_all — Print Rows from an NDB Table
5.26 ndb_select_count — Print Row Counts for NDB Tables
5.27 ndb_show_tables — Display List of NDB Tables
5.28 — NDBCLUSTER Size Requirement Estimator
5.29 ndb_top — View CPU usage information for NDB threads
5.30 ndb_waiter — Wait for NDB Cluster to Reach a Given Status
6 Management of NDB Cluster
6.1 Commands in the NDB Cluster Management Client
6.2 NDB Cluster Log Messages
6.2.1 NDB Cluster: Messages in the Cluster Log
6.2.2 NDB Cluster Log Startup Messages
6.2.3 Event Buffer Reporting in the Cluster Log
6.2.4 NDB Cluster: NDB Transporter Errors
6.3 Event Reports Generated in NDB Cluster
6.3.1 NDB Cluster Logging Management Commands
6.3.2 NDB Cluster Log Events
6.3.3 Using CLUSTERLOG STATISTICS in the NDB Cluster Management Client
6.4 Summary of NDB Cluster Start Phases
6.5 Performing a Rolling Restart of an NDB Cluster
6.6 NDB Cluster Single User Mode
6.7 Adding NDB Cluster Data Nodes Online
6.7.1 Adding NDB Cluster Data Nodes Online: General Issues
6.7.2 Adding NDB Cluster Data Nodes Online: Basic procedure
6.7.3 Adding NDB Cluster Data Nodes Online: Detailed Example
6.8 Online Backup of NDB Cluster
6.8.1 NDB Cluster Backup Concepts
6.8.2 Using The NDB Cluster Management Client to Create a Backup
6.8.3 Configuration for NDB Cluster Backups
6.8.4 NDB Cluster Backup Troubleshooting
6.9 Importing Data Into MySQL Cluster
6.10 MySQL Server Usage for NDB Cluster
6.11 NDB Cluster Disk Data Tables
6.11.1 NDB Cluster Disk Data Objects
6.11.2 Using Symbolic Links with Disk Data Objects
6.11.3 NDB Cluster Disk Data Storage Requirements
6.12 Online Operations with ALTER TABLE in NDB Cluster
6.13 Distributed Privileges Using Shared Grant Tables
6.14 NDB API Statistics Counters and Variables
6.15 ndbinfo: The NDB Cluster Information Database
6.15.1 The ndbinfo arbitrator_validity_detail Table
6.15.2 The ndbinfo arbitrator_validity_summary Table
6.15.3 The ndbinfo blocks Table
6.15.4 The ndbinfo cluster_locks Table
6.15.5 The ndbinfo cluster_operations Table
6.15.6 The ndbinfo cluster_transactions Table
6.15.7 The ndbinfo config_nodes Table
6.15.8 The ndbinfo config_params Table
6.15.9 The ndbinfo config_values Table
6.15.10 The ndbinfo counters Table
6.15.11 The ndbinfo cpustat Table
6.15.12 The ndbinfo cpustat_50ms Table
6.15.13 The ndbinfo cpustat_1sec Table
6.15.14 The ndbinfo cpustat_20sec Table
6.15.15 The ndbinfo dict_obj_info Table
6.15.16 The ndbinfo dict_obj_types Table
6.15.17 The ndbinfo disk_write_speed_base Table
6.15.18 The ndbinfo disk_write_speed_aggregate Table
6.15.19 The ndbinfo disk_write_speed_aggregate_node Table
6.15.20 The ndbinfo diskpagebuffer Table
6.15.21 The ndbinfo error_messages Table
6.15.22 The ndbinfo locks_per_fragment Table
6.15.23 The ndbinfo logbuffers Table
6.15.24 The ndbinfo logspaces Table
6.15.25 The ndbinfo membership Table
6.15.26 The ndbinfo memoryusage Table
6.15.27 The ndbinfo memory_per_fragment Table
6.15.28 The ndbinfo nodes Table
6.15.29 The ndbinfo operations_per_fragment Table
6.15.30 The ndbinfo processes Table
6.15.31 The ndbinfo resources Table
6.15.32 The ndbinfo restart_info Table
6.15.33 The ndbinfo server_locks Table
6.15.34 The ndbinfo server_operations Table
6.15.35 The ndbinfo server_transactions Table
6.15.36 The ndbinfo table_distribution_status Table
6.15.37 The ndbinfo table_fragments Table
6.15.38 The ndbinfo table_info Table
6.15.39 The ndbinfo table_replicas Table
6.15.40 The ndbinfo tc_time_track_stats Table
6.15.41 The ndbinfo threadblocks Table
6.15.42 The ndbinfo threads Table
6.15.43 The ndbinfo threadstat Table
6.15.44 The ndbinfo transporters Table
6.16 INFORMATION_SCHEMA Tables for NDB Cluster
6.17 Quick Reference: NDB Cluster SQL Statements
6.18 NDB Cluster Security Issues
6.18.1 NDB Cluster Security and Networking Issues
6.18.2 NDB Cluster and MySQL Privileges
6.18.3 NDB Cluster and MySQL Security Procedures
7 NDB Cluster Replication
7.1 NDB Cluster Replication: Abbreviations and Symbols
7.2 General Requirements for NDB Cluster Replication
7.3 Known Issues in NDB Cluster Replication
7.4 NDB Cluster Replication Schema and Tables
7.5 Preparing the NDB Cluster for Replication
7.6 Starting NDB Cluster Replication (Single Replication Channel)
7.7 Using Two Replication Channels for NDB Cluster Replication
7.8 Implementing Failover with NDB Cluster Replication
7.9 NDB Cluster Backups With NDB Cluster Replication
7.9.1 NDB Cluster Replication: Automating Synchronization of the Replica to the Source Binary Log
7.9.2 Point-In-Time Recovery Using NDB Cluster Replication
7.10 NDB Cluster Replication: Bidirectional and Circular Replication
7.11 NDB Cluster Replication Conflict Resolution
A NDB Cluster FAQ