SlideShare a Scribd company logo
12
Most read
14
Most read
16
Most read
MySQL Cluster
Bhanuka Mahanama (rmaha002)
Yasith Jayawardana (pjaya001)
Gavindya Jayawardena (hjaya001)
Group # 4
CS450/550 DATABASE CONCEPTS
Student Topic Presentation
Topic: MySQL Cluster - Group: 4
Overview
● Introduction
○ What is MySQL Cluster?
○ History
● Taxonomy & Architecture
○ MySQL Cluster Architecture
○ Types of MySQL Clusters
○ How Data is Stored
● Comparison
○ Similarities and Differences
○ Advantages and Disadvantages
● Examples and Applications
2
Topic: MySQL Cluster - Group: 4
What is MySQL Cluster?
Is a Distributed, Highly Available, and Scalable version of MySQL
3
Scalability
● Can easily add / remove nodes
● Data partitioning
03
High Availability
02
● Remains available even when some nodes fail
● No Single Point of Failure
Distributed ● Runs on more than one node
01
Topic: MySQL Cluster - Group: 4
History
● Developed by Ericsson in the late 90’s [1,2]
● Initially designed for Telecommunication Applications
Paper: "Design and Modeling of a Parallel Data Server for Telecom Applications" [3]
○ High availability and reliability – downtime less than 30 seconds / year [2]
○ High throughput and linear scalability when adding more servers [2]
● Later Acquired by MySQL
● Incorporated as a Storage Engine
[1] https://web.archive.org/web/20040202195548/http://www.mysql.com/press/release_2003_30.html
[2] https://downloads.mysql.com/presentations/3_MySQL_Use_Case_for_TELCO_Europe.pdf
[3] Ronström, M., & Ab, E. U. (1998). Design and Modelling of a Parallel Data Server for Telecom Applications. Computer and Information Science, Linköping University.
4
Topic: MySQL Cluster - Group: 4
MySQL Cluster Architecture
● Key Components
○ Connection Management
○ SQL Parser
○ Storage Engine
● Cluster Storage Engines
○ InnoDB Cluster
○ Network Database (NDB) Cluster
Source: http://books.gigatux.nl
5
MySQL Architecture
Topic: MySQL Cluster - Group: 4
MySQL Cluster Architecture
● Key Components
○ Connection Management
○ SQL Parser
○ Storage Engine
● Cluster Storage Engines
○ InnoDB Cluster
○ Network Database (NDB) Cluster
Source: http://books.gigatux.nl
6
MySQL Cluster Architecture
Topic: MySQL Cluster - Group: 4
Architecture of NDB Cluster
● Node types
○ Access nodes (SQL nodes)
○ Data nodes
○ Management nodes
● Node groups
○ Collection of data nodes
NDB Cluster Components
7
Topic: MySQL Cluster - Group: 4
Architecture of NDB Cluster
● Node types
○ Access nodes (SQL nodes)
○ Data nodes
○ Management nodes
● Node groups
○ Collection of data nodes
NDB Cluster Components
8
Topic: MySQL Cluster - Group: 4
Architecture of NDB Cluster
● Node types
○ Access nodes (SQL nodes)
○ Data nodes
○ Management nodes
● Node groups
○ Collection of data nodes
NDB Cluster Components
9
Topic: MySQL Cluster - Group: 4
Architecture of NDB Cluster
● Node types
○ Access nodes (SQL nodes)
○ Data nodes
○ Management nodes
● Node groups
○ Collection of data nodes
NDB Cluster Components
10
Topic: MySQL Cluster - Group: 4
Architecture of NDB Cluster
● Node types
○ Access nodes (SQL nodes)
○ Data nodes
○ Management nodes
● Node groups
○ Collection of data nodes
NDB Cluster Components
11
Topic: MySQL Cluster - Group: 4
Sharding / Data Partitioning
● Uses primary key as shard key
● Generate hash from shard key
● Shard based on hash
12
Source: https://docs.oracle.com
Topic: MySQL Cluster - Group: 4
Scalability
● Adding SQL nodes
○ SQL capacity
● Node groups
○ Read/ Write throughput
○ Total resources
○ Geo redundancy
● Scale out online
13
Topic: MySQL Cluster - Group: 4
NDB Cluster Scalability
Scalability
● Adding SQL nodes
○ SQL capacity
● Node groups
○ Read/ Write throughput
○ Total resources
○ Geo redundancy
● Scale out online
14
Topic: MySQL Cluster - Group: 4
NDB Cluster Scalability
Comparison
Similarities and Differences
MySQL NDB MySQL InnoDB MongoDB Cassandra
Query Language SQL MQL CQL
Data Model Relational NoSQL
Architecture Shared-Nothing Master-Slave No Master
Persistence In-Memory Memory + Disk
Consistency Strong Weak Eventual
15
Topic: MySQL Cluster - Group: 4
Comparison
Advantages and Disadvantages
MySQL NDB MySQL InnoDB
Sharding ✔ -
Load Balancing ✔ -
CPU-Level Optimization ✔ -
Span across regions ✔ ✔
Scaling Read, Write Read
Consistency Read, Write Write
Configuration complexity High Low
Cost of management High Low
Administrative / Monitoring tools Custom
(Proprietary)
Standard (Free)
16
Topic: MySQL Cluster - Group: 4
Examples & Applications
● Telecommunication
○ Mobile network operators
○ Network equipment providers
● E-commerce applications
● Financial systems
● High volume online transaction
processing systems
○ Point of sales processing
17
Topic: MySQL Cluster - Group: 4
Summary
● MySQL Cluster is a Distributed, Highly Available, Scalable version of MySQL
● Key Components of MySQL Cluster Architecture
● Types of MySQL Clusters
○ InnoDB Cluster
○ Network Database (NDB) Cluster
● Comparison of MySQL Cluster
○ Compare with other DBMS
○ Compare InnoDB and NDB Types
18
Topic: MySQL Cluster - Group: 4
References
https://downloads.mysql.com/presentations/3_MySQL_Use_Case_for_TELCO_Europe.pdf
https://www.mysql.com/why-mysql/case-studies/#en-5-28
https://www.mysql.com/customers/
https://www.itcentralstation.com/products/comparisons/ibm-db2-database_vs_mysql
https://db-engines.com/en/system/Cassandra%3BMongoDB%3BMySQL
https://phoenixnap.com/kb/cassandra-vs-mongodb
https://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-overview.html
19
Topic: MySQL Cluster - Group: 4

More Related Content

PDF
Containers: The What, Why, and How
PDF
Docker Compose by Aanand Prasad
PDF
MySQL Database Architectures - 2020-10
PDF
Advanced SQL injection to operating system full control (whitepaper)
PDF
Expanding the control over the operating system from the database
PDF
AWS Certified Cloud Practitioner Course S11-S17
PDF
Zero Downtime Schema Changes - Galera Cluster - Best Practices
PDF
MySQL InnoDB Cluster - Group Replication
Containers: The What, Why, and How
Docker Compose by Aanand Prasad
MySQL Database Architectures - 2020-10
Advanced SQL injection to operating system full control (whitepaper)
Expanding the control over the operating system from the database
AWS Certified Cloud Practitioner Course S11-S17
Zero Downtime Schema Changes - Galera Cluster - Best Practices
MySQL InnoDB Cluster - Group Replication

What's hot (20)

PDF
Percona Live 2022 - MySQL Architectures
PPTX
SQL Server Upgrade and Consolidation - Methodology and Approach
PDF
Introduction to Cloud | Cloud Computing Tutorial for Beginners | Cloud Certif...
PDF
An Introduction to Kubernetes
PPTX
What is Multi-Tenant Architecture ?
PPTX
Getting started with Docker
PDF
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
PDF
Evolution of containers to kubernetes
PDF
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
ODP
Introduction to AWS IAM
PPTX
DevOps with Kubernetes
PDF
Kubernetes dealing with storage and persistence
PPTX
Sql vs NoSQL-Presentation
PPT
Sql server performance tuning
PDF
My First 90 days with Vitess
PPTX
Virtual machine
PDF
Virtualization and cloud Computing
PPTX
Concurrency & Parallel Programming
KEY
Hardware supports for Virtualization
PPTX
Active Directory component
Percona Live 2022 - MySQL Architectures
SQL Server Upgrade and Consolidation - Methodology and Approach
Introduction to Cloud | Cloud Computing Tutorial for Beginners | Cloud Certif...
An Introduction to Kubernetes
What is Multi-Tenant Architecture ?
Getting started with Docker
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Evolution of containers to kubernetes
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
Introduction to AWS IAM
DevOps with Kubernetes
Kubernetes dealing with storage and persistence
Sql vs NoSQL-Presentation
Sql server performance tuning
My First 90 days with Vitess
Virtual machine
Virtualization and cloud Computing
Concurrency & Parallel Programming
Hardware supports for Virtualization
Active Directory component
Ad

Similar to MySQL - NDB Cluster (20)

PDF
MySQL NDB Cluster 8.0
PDF
Scaling up and accelerating Drupal 8 with NoSQL
PPTX
NoSQL Data Architecture Patterns
PDF
Cassandra Summit 2015 - Building a multi-tenant API PaaS with DataStax Enterp...
PPTX
Python Ireland Conference 2016 - Python and MongoDB Workshop
PDF
Restlet: Building a multi-tenant API PaaS with DataStax Enterprise Search
PDF
Introducing the ultimate MariaDB cloud, SkySQL
PDF
No sq lv1_0
PDF
MySQL Cluster 8.0 tutorial
PPTX
No SQL- The Future Of Data Storage
PDF
Home For Gypsies – Storage for NoSQL Databases​
PPTX
introduction to NOSQL Database
PPTX
Modeling Data and Queries for Wide Column NoSQL
PPTX
NoSQL databases - An introduction
PDF
Running Cassandra in AWS
PPT
The OSSCube MySQL High Availability Tutorial
PDF
Advanced deeplearning4j features
PPTX
Severalnines Self-Training: MySQL® Cluster - Part VI
PDF
An Introduction to Amazon’s DynamoDB
PDF
What to expect from MariaDB Platform X5, part 1
MySQL NDB Cluster 8.0
Scaling up and accelerating Drupal 8 with NoSQL
NoSQL Data Architecture Patterns
Cassandra Summit 2015 - Building a multi-tenant API PaaS with DataStax Enterp...
Python Ireland Conference 2016 - Python and MongoDB Workshop
Restlet: Building a multi-tenant API PaaS with DataStax Enterprise Search
Introducing the ultimate MariaDB cloud, SkySQL
No sq lv1_0
MySQL Cluster 8.0 tutorial
No SQL- The Future Of Data Storage
Home For Gypsies – Storage for NoSQL Databases​
introduction to NOSQL Database
Modeling Data and Queries for Wide Column NoSQL
NoSQL databases - An introduction
Running Cassandra in AWS
The OSSCube MySQL High Availability Tutorial
Advanced deeplearning4j features
Severalnines Self-Training: MySQL® Cluster - Part VI
An Introduction to Amazon’s DynamoDB
What to expect from MariaDB Platform X5, part 1
Ad

Recently uploaded (20)

PPTX
Transform Your Business with a Software ERP System
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
ai tools demonstartion for schools and inter college
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Nekopoi APK 2025 free lastest update
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
L1 - Introduction to python Backend.pptx
PDF
System and Network Administration Chapter 2
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Introduction to Artificial Intelligence
PDF
System and Network Administraation Chapter 3
Transform Your Business with a Software ERP System
Navsoft: AI-Powered Business Solutions & Custom Software Development
CHAPTER 2 - PM Management and IT Context
Upgrade and Innovation Strategies for SAP ERP Customers
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Adobe Illustrator 28.6 Crack My Vision of Vector Design
ai tools demonstartion for schools and inter college
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Nekopoi APK 2025 free lastest update
Design an Analysis of Algorithms I-SECS-1021-03
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
2025 Textile ERP Trends: SAP, Odoo & Oracle
Reimagine Home Health with the Power of Agentic AI​
How to Migrate SBCGlobal Email to Yahoo Easily
L1 - Introduction to python Backend.pptx
System and Network Administration Chapter 2
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Introduction to Artificial Intelligence
System and Network Administraation Chapter 3

MySQL - NDB Cluster

  • 1. MySQL Cluster Bhanuka Mahanama (rmaha002) Yasith Jayawardana (pjaya001) Gavindya Jayawardena (hjaya001) Group # 4 CS450/550 DATABASE CONCEPTS Student Topic Presentation Topic: MySQL Cluster - Group: 4
  • 2. Overview ● Introduction ○ What is MySQL Cluster? ○ History ● Taxonomy & Architecture ○ MySQL Cluster Architecture ○ Types of MySQL Clusters ○ How Data is Stored ● Comparison ○ Similarities and Differences ○ Advantages and Disadvantages ● Examples and Applications 2 Topic: MySQL Cluster - Group: 4
  • 3. What is MySQL Cluster? Is a Distributed, Highly Available, and Scalable version of MySQL 3 Scalability ● Can easily add / remove nodes ● Data partitioning 03 High Availability 02 ● Remains available even when some nodes fail ● No Single Point of Failure Distributed ● Runs on more than one node 01 Topic: MySQL Cluster - Group: 4
  • 4. History ● Developed by Ericsson in the late 90’s [1,2] ● Initially designed for Telecommunication Applications Paper: "Design and Modeling of a Parallel Data Server for Telecom Applications" [3] ○ High availability and reliability – downtime less than 30 seconds / year [2] ○ High throughput and linear scalability when adding more servers [2] ● Later Acquired by MySQL ● Incorporated as a Storage Engine [1] https://web.archive.org/web/20040202195548/http://www.mysql.com/press/release_2003_30.html [2] https://downloads.mysql.com/presentations/3_MySQL_Use_Case_for_TELCO_Europe.pdf [3] Ronström, M., & Ab, E. U. (1998). Design and Modelling of a Parallel Data Server for Telecom Applications. Computer and Information Science, Linköping University. 4 Topic: MySQL Cluster - Group: 4
  • 5. MySQL Cluster Architecture ● Key Components ○ Connection Management ○ SQL Parser ○ Storage Engine ● Cluster Storage Engines ○ InnoDB Cluster ○ Network Database (NDB) Cluster Source: http://books.gigatux.nl 5 MySQL Architecture Topic: MySQL Cluster - Group: 4
  • 6. MySQL Cluster Architecture ● Key Components ○ Connection Management ○ SQL Parser ○ Storage Engine ● Cluster Storage Engines ○ InnoDB Cluster ○ Network Database (NDB) Cluster Source: http://books.gigatux.nl 6 MySQL Cluster Architecture Topic: MySQL Cluster - Group: 4
  • 7. Architecture of NDB Cluster ● Node types ○ Access nodes (SQL nodes) ○ Data nodes ○ Management nodes ● Node groups ○ Collection of data nodes NDB Cluster Components 7 Topic: MySQL Cluster - Group: 4
  • 8. Architecture of NDB Cluster ● Node types ○ Access nodes (SQL nodes) ○ Data nodes ○ Management nodes ● Node groups ○ Collection of data nodes NDB Cluster Components 8 Topic: MySQL Cluster - Group: 4
  • 9. Architecture of NDB Cluster ● Node types ○ Access nodes (SQL nodes) ○ Data nodes ○ Management nodes ● Node groups ○ Collection of data nodes NDB Cluster Components 9 Topic: MySQL Cluster - Group: 4
  • 10. Architecture of NDB Cluster ● Node types ○ Access nodes (SQL nodes) ○ Data nodes ○ Management nodes ● Node groups ○ Collection of data nodes NDB Cluster Components 10 Topic: MySQL Cluster - Group: 4
  • 11. Architecture of NDB Cluster ● Node types ○ Access nodes (SQL nodes) ○ Data nodes ○ Management nodes ● Node groups ○ Collection of data nodes NDB Cluster Components 11 Topic: MySQL Cluster - Group: 4
  • 12. Sharding / Data Partitioning ● Uses primary key as shard key ● Generate hash from shard key ● Shard based on hash 12 Source: https://docs.oracle.com Topic: MySQL Cluster - Group: 4
  • 13. Scalability ● Adding SQL nodes ○ SQL capacity ● Node groups ○ Read/ Write throughput ○ Total resources ○ Geo redundancy ● Scale out online 13 Topic: MySQL Cluster - Group: 4 NDB Cluster Scalability
  • 14. Scalability ● Adding SQL nodes ○ SQL capacity ● Node groups ○ Read/ Write throughput ○ Total resources ○ Geo redundancy ● Scale out online 14 Topic: MySQL Cluster - Group: 4 NDB Cluster Scalability
  • 15. Comparison Similarities and Differences MySQL NDB MySQL InnoDB MongoDB Cassandra Query Language SQL MQL CQL Data Model Relational NoSQL Architecture Shared-Nothing Master-Slave No Master Persistence In-Memory Memory + Disk Consistency Strong Weak Eventual 15 Topic: MySQL Cluster - Group: 4
  • 16. Comparison Advantages and Disadvantages MySQL NDB MySQL InnoDB Sharding ✔ - Load Balancing ✔ - CPU-Level Optimization ✔ - Span across regions ✔ ✔ Scaling Read, Write Read Consistency Read, Write Write Configuration complexity High Low Cost of management High Low Administrative / Monitoring tools Custom (Proprietary) Standard (Free) 16 Topic: MySQL Cluster - Group: 4
  • 17. Examples & Applications ● Telecommunication ○ Mobile network operators ○ Network equipment providers ● E-commerce applications ● Financial systems ● High volume online transaction processing systems ○ Point of sales processing 17 Topic: MySQL Cluster - Group: 4
  • 18. Summary ● MySQL Cluster is a Distributed, Highly Available, Scalable version of MySQL ● Key Components of MySQL Cluster Architecture ● Types of MySQL Clusters ○ InnoDB Cluster ○ Network Database (NDB) Cluster ● Comparison of MySQL Cluster ○ Compare with other DBMS ○ Compare InnoDB and NDB Types 18 Topic: MySQL Cluster - Group: 4