- NDB Cluster
-
Ndb Cluster is the distributed database system underlying MySQL Cluster. It can be used independently of a MySQL Server.
From the MySQL Server perspective the Ndb Cluster is a Storage engine for storing tables of rows. From the Ndb Cluster perspective, a MySQL Server instance is an 'API process' connected to the Cluster. Ndb Cluster can concurrently support access from other types of API processes. All API processes can operate on the same tables and data stored in the Ndb Cluster.
Contents
Standalone Ndb Cluster
Ndb Cluster has the following capabilities independent of any attached MySQL Server :
- Persistent, distributed storage of tables with unique or ordered indexes
- Redo logging, checkpointing, system recovery
- Primary key, unique key, table scan and ordered index scan
- Parallel scan execution with 'pushed-down' filters
- Row locks, transactional updates
- Synchronous data replication within the cluster, automatic failover + recovery
- Automatic connection failover for 'API' processes
- Standard SQL datatypes including Blobs etc.
- Storage of data on disk
- Asynchronous data change triggers mechanism
- DDL operations (although independent DDL will not currently be recognised by any attached MySQL servers)
- Online index add, online table alter
- Online add node, table reorganisation
- Online backup
- Online upgrade
MySQL Cluster (Ndb Cluster + MySQL Server(s))
MySQL Cluster currently uses the MySQL Server to provide the following capabilities on top of Ndb Cluster:
- SQL parsing / optimising / execution capability
- Connectors to applications via JDBC, ODBC ...
- Cross-table join mechanism
- User authentication and authorisation
- Asynchronous data replication to other systems
Usage
Ndb Cluster is often configured as a MySQL Cluster (An Ndb Cluster with attached MySQL Server processes) with one or more non-MySQL Server API processes attached.
All API processes including the MySQL Server use the NDBAPI[1] C++ client library to connect to the Ndb Cluster and perform operations.
It is currently recommended that at least one MySQL Server is connected to an Ndb Cluster to perform DDL operations.
References
Categories: - Persistent, distributed storage of tables with unique or ordered indexes
Wikimedia Foundation. 2010.