SlideShare a Scribd company logo
Travel through some
popular Distributed
Databases
Sagar Chaturvedi
Agenda
• MySQL cluster overview
• MariaDB Galera cluster overview
• Percona XtraDB cluster overview
• Features Comparison
• Performance Comparison
MySQL Cluster - Introduction
• A technology providing clustering for MySQL database.
• NDB(Network Database) engine combines with MySQL
database.
• Shared nothing architecture with no single point of failure.
Type: RDBMS
Documentation: http://dev.mysql.com/doc/refman/5.5/en/mysql-cluster.html
License Type GPL (Community Edition)
Last Release Date 12th March,2013(7.2.12)
Release Frequency 1 month approximately
Mailing List/Community support http://lists.mysql.com/cluster
Major Applications/Users
PayPal, Telenor, Alcatel Lucent,Big Fish, AT & T,US Navy
Stability Stable version "7.2.12".
MySQL Cluster - Analysis
Merits –
• Auto Sharding
• Replication (Synchronous and Asynchronous
both)
• Shared nothing architecture
• SQL and NoSQL APIs(REST,HTTP, Java, C++,
JavaScript etc)
• GUI Manager available
• Supports multiple platforms e.g. Windows, Linux,
Solaris, Mac OS X
Demerits –
• No automatic node provisioning
MySQL Cluster - Architecture
MariaDB Galera Cluster -
Introduction
• A technology providing clustering for MariaDB database.
• Galera library is combined with MariaDB database using
replication APIs.
• Synchronous multi-master cluster.
Type:
RDBMS
Documentation:
https://kb.askmonty.org/en/galera/
http://www.codership.com/wiki/doku.php
License Type
GPL
Last Release Date
5th March,2013(5.5.29)
Release Frequency
3 months approximately
Mailing List/Community support
https://lists.launchpad.net/maria-discuss/
Major Applications/Users
Hybris, Drupal commerce, Typo 3,Asterisk VoiP
Stability
Stable version "5.5.29".
MariaDB Galera Cluster -
Analysis
Merits -
• Synchronous replication
• Multi-master topology : Each node can read and
write on any other node
• Read and write to any cluster node
• Automatic node provisioning
Demerits –
• Available only for Linux.
• Only SQL support.
• No GUI manager
MariaDB Galera Cluster -
Architecture
Percona XtraDB Cluster -
Introduction
• A high availability and high scalability solution for
Percona/MySQL users.
• Integrates Percona/MySQL Server with the Galera
library.
Type:
RDBMS
Documentation:
http://www.percona.com/doc/percona-xtradb-cluster/index.html
License Type
GPL
Last Release Date
17th April,2013(5.5.30-23.7.4)
Release Frequency
2 months approximately
Mailing List/Community support
https://groups.google.com/forum/?fromgroups#!forum/percona-discussion
Major Applications/Users
Ask.com, BBC, cisco, StumbleUpon
Stability
Stable version "5.5.30-23.7.4".
Percona XtraDB Cluster -
Analysis
Merits -
• Synchronous replication. Transaction either
committed on all nodes or none.
• Multi-master replication. You can write to any node.
• Automatic node provisioning
• No central management. You can loose any node at
any point of time.
Demerits –
• Overhead of joining new node. The new node has to
copy full dataset from one of existing nodes.
• Available only for Linux.
• Only SQL support.
• No GUI manager
Percona XtraDB Cluster -
Architecture
Features Comparison
Software
Name
GUI
manager
Replication
Automatic
Node
Provisioni
ng
Auto
sharding(
Auto
Partitionin
g of
tables)
APIs
Platforms
supported
Multi
Master
Topolo
gy
Latency
over WAN
Backup
Mechanis
m
Provided
MySQL
cluster
Yes(Commer
cial)
Synchronou
s/Asynchro
nous
No Yes
SQL/No
SQL
Linux,Windows
,Mac OS X,
Solaris
No High yes
MariaDB
Galera
Cluster
No
Synchronou
s
Yes No SQL Linux Yes Low yes
Percona
XtraDB
cluster
No
Synchronou
s
Yes No SQL Linux Yes Low yes
Performance Comparison
• MySQL cluster uses NDB engine
while MariaDB Galera and Percona
XtraDB cluster use Galera engine. So
performance comparison is provided
between NDB and Galera.
• We will be analyzing performances in
2 different cases –
 When 2 Nodes are used
 When 4 Nodes are used
Performance Comparison –
With 2 nodes
• Performance of Galera is better than NDB.
• Galera performance drops as number of threads
increase.
• NDB performance increases with no of threads.
Performance Comparison –
With 4 nodes
• Performance of Galera is better than NDB when threads are
less.
• Performance of NDB increases consistently as number of
threads increase.
• When no of threads are 512, performance of NDB is better
than Galera as shown in the red circled areas of above
diagrams.
Thank You!!!

More Related Content

What's hot (20)

PPTX
Scylla on Kubernetes: Introducing the Scylla Operator
ScyllaDB
 
PPTX
M|18 Creating a Reference Architecture for High Availability at Nokia
MariaDB plc
 
PDF
Scylla Summit 2016: Scylla at Samsung SDS
ScyllaDB
 
PDF
Postgres-XC: Symmetric PostgreSQL Cluster
Pavan Deolasee
 
DOCX
Master master vs master-slave database
Wipro
 
PDF
M|18 How to use MyRocks with MariaDB Server
MariaDB plc
 
PDF
M|18 Running MariaDB TX on Containers
MariaDB plc
 
PDF
NewSQL overview, Feb 2015
Ivan Glushkov
 
PDF
3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣[email protected]台北
Ivan Tu
 
PDF
Percona XtraDB Cluster ( Ensure high Availability )
Mydbops
 
PPTX
M|18 Writing Stored Procedures in the Real World
MariaDB plc
 
PPTX
Getting started with postgresql
botsplash.com
 
PDF
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Mydbops
 
PDF
What's New In PostgreSQL 9.4
Pavan Deolasee
 
PDF
Meet Spilo, Zalando’s HIGH-AVAILABLE POSTGRESQL CLUSTER - Feike Steenbergen
distributed matters
 
PDF
Performance Monitoring: Understanding Your Scylla Cluster
ScyllaDB
 
PDF
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Severalnines
 
PDF
Zero Downtime Schema Changes - Galera Cluster - Best Practices
Severalnines
 
PDF
How THINQ runs both transactions and analytics at scale
MariaDB plc
 
PPTX
Infinispan, a distributed in-memory key/value data grid and cache
Sebastian Andrasoni
 
Scylla on Kubernetes: Introducing the Scylla Operator
ScyllaDB
 
M|18 Creating a Reference Architecture for High Availability at Nokia
MariaDB plc
 
Scylla Summit 2016: Scylla at Samsung SDS
ScyllaDB
 
Postgres-XC: Symmetric PostgreSQL Cluster
Pavan Deolasee
 
Master master vs master-slave database
Wipro
 
M|18 How to use MyRocks with MariaDB Server
MariaDB plc
 
M|18 Running MariaDB TX on Containers
MariaDB plc
 
NewSQL overview, Feb 2015
Ivan Glushkov
 
3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣[email protected]台北
Ivan Tu
 
Percona XtraDB Cluster ( Ensure high Availability )
Mydbops
 
M|18 Writing Stored Procedures in the Real World
MariaDB plc
 
Getting started with postgresql
botsplash.com
 
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Mydbops
 
What's New In PostgreSQL 9.4
Pavan Deolasee
 
Meet Spilo, Zalando’s HIGH-AVAILABLE POSTGRESQL CLUSTER - Feike Steenbergen
distributed matters
 
Performance Monitoring: Understanding Your Scylla Cluster
ScyllaDB
 
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Severalnines
 
Zero Downtime Schema Changes - Galera Cluster - Best Practices
Severalnines
 
How THINQ runs both transactions and analytics at scale
MariaDB plc
 
Infinispan, a distributed in-memory key/value data grid and cache
Sebastian Andrasoni
 

Similar to Overview of some popular distributed databases (20)

PDF
The MySQL High Availability Landscape and where Galera Cluster fits in
Sakari Keskitalo
 
PDF
Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014
Laurynas Biveinis
 
PDF
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
NETWAYS
 
PPTX
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Codership Oy - Creators of Galera Cluster
 
PDF
Percona XtraDB Cluster - Small Presentation
Javier Tomas Zon
 
PDF
Percona XtraDB 集群文档
YUCHENG HU
 
PDF
Oss4b - pxc introduction
Frederic Descamps
 
PPTX
Percona XtraDB Cluster SF Meetup
Vadim Tkachenko
 
PDF
Percona XtraDB Cluster
Kenny Gryp
 
PDF
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Kenny Gryp
 
PDF
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
Alkin Tezuysal
 
PDF
MySQL Ecosystem in 2020
Alkin Tezuysal
 
PDF
MySQL Replication vs Galera_ which is better for your workload_.pptx_.pdf
NishanthReddy97
 
PDF
OpenStack Days East -- MySQL Options in OpenStack
Matt Lord
 
PDF
High Performance Drupal with MariaDB
MariaDB Corporation
 
PDF
Percona XtraDB Cluster
hybris2000
 
PPTX
MySQL Options in OpenStack
Tesora
 
PDF
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication.pdf
NishanthReddy97
 
PDF
[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...
Insight Technology, Inc.
 
PDF
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
Olivier DASINI
 
The MySQL High Availability Landscape and where Galera Cluster fits in
Sakari Keskitalo
 
Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014
Laurynas Biveinis
 
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
NETWAYS
 
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Codership Oy - Creators of Galera Cluster
 
Percona XtraDB Cluster - Small Presentation
Javier Tomas Zon
 
Percona XtraDB 集群文档
YUCHENG HU
 
Oss4b - pxc introduction
Frederic Descamps
 
Percona XtraDB Cluster SF Meetup
Vadim Tkachenko
 
Percona XtraDB Cluster
Kenny Gryp
 
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Kenny Gryp
 
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
Alkin Tezuysal
 
MySQL Ecosystem in 2020
Alkin Tezuysal
 
MySQL Replication vs Galera_ which is better for your workload_.pptx_.pdf
NishanthReddy97
 
OpenStack Days East -- MySQL Options in OpenStack
Matt Lord
 
High Performance Drupal with MariaDB
MariaDB Corporation
 
Percona XtraDB Cluster
hybris2000
 
MySQL Options in OpenStack
Tesora
 
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication.pdf
NishanthReddy97
 
[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...
Insight Technology, Inc.
 
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
Olivier DASINI
 
Ad

Recently uploaded (20)

PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PDF
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
PPTX
Manual Testing for Accessibility Enhancement
Julia Undeutsch
 
PDF
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
PDF
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
PPTX
Essential Content-centric Plugins for your Website
Laura Byrne
 
PPTX
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PPTX
Wondershare Filmora Crack Free Download 2025
josanj305
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
Manual Testing for Accessibility Enhancement
Julia Undeutsch
 
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
Essential Content-centric Plugins for your Website
Laura Byrne
 
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
Digital Circuits, important subject in CS
contactparinay1
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
Wondershare Filmora Crack Free Download 2025
josanj305
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Ad

Overview of some popular distributed databases

  • 1. Travel through some popular Distributed Databases Sagar Chaturvedi
  • 2. Agenda • MySQL cluster overview • MariaDB Galera cluster overview • Percona XtraDB cluster overview • Features Comparison • Performance Comparison
  • 3. MySQL Cluster - Introduction • A technology providing clustering for MySQL database. • NDB(Network Database) engine combines with MySQL database. • Shared nothing architecture with no single point of failure. Type: RDBMS Documentation: http://dev.mysql.com/doc/refman/5.5/en/mysql-cluster.html License Type GPL (Community Edition) Last Release Date 12th March,2013(7.2.12) Release Frequency 1 month approximately Mailing List/Community support http://lists.mysql.com/cluster Major Applications/Users PayPal, Telenor, Alcatel Lucent,Big Fish, AT & T,US Navy Stability Stable version "7.2.12".
  • 4. MySQL Cluster - Analysis Merits – • Auto Sharding • Replication (Synchronous and Asynchronous both) • Shared nothing architecture • SQL and NoSQL APIs(REST,HTTP, Java, C++, JavaScript etc) • GUI Manager available • Supports multiple platforms e.g. Windows, Linux, Solaris, Mac OS X Demerits – • No automatic node provisioning
  • 5. MySQL Cluster - Architecture
  • 6. MariaDB Galera Cluster - Introduction • A technology providing clustering for MariaDB database. • Galera library is combined with MariaDB database using replication APIs. • Synchronous multi-master cluster. Type: RDBMS Documentation: https://kb.askmonty.org/en/galera/ http://www.codership.com/wiki/doku.php License Type GPL Last Release Date 5th March,2013(5.5.29) Release Frequency 3 months approximately Mailing List/Community support https://lists.launchpad.net/maria-discuss/ Major Applications/Users Hybris, Drupal commerce, Typo 3,Asterisk VoiP Stability Stable version "5.5.29".
  • 7. MariaDB Galera Cluster - Analysis Merits - • Synchronous replication • Multi-master topology : Each node can read and write on any other node • Read and write to any cluster node • Automatic node provisioning Demerits – • Available only for Linux. • Only SQL support. • No GUI manager
  • 8. MariaDB Galera Cluster - Architecture
  • 9. Percona XtraDB Cluster - Introduction • A high availability and high scalability solution for Percona/MySQL users. • Integrates Percona/MySQL Server with the Galera library. Type: RDBMS Documentation: http://www.percona.com/doc/percona-xtradb-cluster/index.html License Type GPL Last Release Date 17th April,2013(5.5.30-23.7.4) Release Frequency 2 months approximately Mailing List/Community support https://groups.google.com/forum/?fromgroups#!forum/percona-discussion Major Applications/Users Ask.com, BBC, cisco, StumbleUpon Stability Stable version "5.5.30-23.7.4".
  • 10. Percona XtraDB Cluster - Analysis Merits - • Synchronous replication. Transaction either committed on all nodes or none. • Multi-master replication. You can write to any node. • Automatic node provisioning • No central management. You can loose any node at any point of time. Demerits – • Overhead of joining new node. The new node has to copy full dataset from one of existing nodes. • Available only for Linux. • Only SQL support. • No GUI manager
  • 11. Percona XtraDB Cluster - Architecture
  • 12. Features Comparison Software Name GUI manager Replication Automatic Node Provisioni ng Auto sharding( Auto Partitionin g of tables) APIs Platforms supported Multi Master Topolo gy Latency over WAN Backup Mechanis m Provided MySQL cluster Yes(Commer cial) Synchronou s/Asynchro nous No Yes SQL/No SQL Linux,Windows ,Mac OS X, Solaris No High yes MariaDB Galera Cluster No Synchronou s Yes No SQL Linux Yes Low yes Percona XtraDB cluster No Synchronou s Yes No SQL Linux Yes Low yes
  • 13. Performance Comparison • MySQL cluster uses NDB engine while MariaDB Galera and Percona XtraDB cluster use Galera engine. So performance comparison is provided between NDB and Galera. • We will be analyzing performances in 2 different cases –  When 2 Nodes are used  When 4 Nodes are used
  • 14. Performance Comparison – With 2 nodes • Performance of Galera is better than NDB. • Galera performance drops as number of threads increase. • NDB performance increases with no of threads.
  • 15. Performance Comparison – With 4 nodes • Performance of Galera is better than NDB when threads are less. • Performance of NDB increases consistently as number of threads increase. • When no of threads are 512, performance of NDB is better than Galera as shown in the red circled areas of above diagrams.