16
Travel through some popular Distributed Databases Sagar Chaturvedi

Overview of some popular distributed databases

Embed Size (px)

DESCRIPTION

This ppt gives brief introduction of some most popular distributed databases.

Citation preview

Page 1: Overview of some popular distributed databases

Travel through some popular Distributed Databases

Sagar Chaturvedi

Page 2: Overview of some popular distributed databases

Agenda• MySQL cluster overview• MariaDB Galera cluster overview• Percona XtraDB cluster overview• Features Comparison• Performance Comparison

Page 3: Overview of some popular distributed databases

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".

Page 4: Overview of some popular distributed databases

MySQL Cluster - AnalysisMerits –• 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

Page 5: Overview of some popular distributed databases

MySQL Cluster - Architecture

Page 6: Overview of some popular distributed databases

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 TypeGPL

Last Release Date5th March,2013(5.5.29)

Release Frequency3 months approximately

Mailing List/Community supporthttps://lists.launchpad.net/maria-discuss/

Major Applications/Users

Hybris, Drupal commerce, Typo 3,Asterisk VoiP

StabilityStable version "5.5.29".

Page 7: Overview of some popular distributed databases

MariaDB Galera Cluster - AnalysisMerits - • 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

Page 8: Overview of some popular distributed databases

MariaDB Galera Cluster - Architecture

Page 9: Overview of some popular distributed databases

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 TypeGPL

Last Release Date17th April,2013(5.5.30-23.7.4)

Release Frequency2 months approximately

Mailing List/Community supporthttps://groups.google.com/forum/?fromgroups#!forum/percona-discussion

Major Applications/Users

Ask.com, BBC, cisco, StumbleUpon

StabilityStable version "5.5.30-23.7.4".

Page 10: Overview of some popular distributed databases

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

Page 11: Overview of some popular distributed databases

Percona XtraDB Cluster - Architecture

Page 12: Overview of some popular distributed databases

Features Comparison

Software Name

GUI manager

Replication

Automatic Node Provisioning

Auto sharding(Auto Partitioning of tables)

APIsPlatforms supported

Multi Master Topology

Latency over WAN

Backup Mechanism Provided

MySQL cluster

Yes(Commercial)

Synchronous/Asynchronous

No YesSQL/No SQL

Linux,Windows,Mac OS X, Solaris

No High yes

MariaDB Galera Cluster

NoSynchronous

Yes No SQL Linux Yes Low yes

Percona XtraDB cluster

NoSynchronous

Yes No SQL Linux Yes Low yes

Page 13: Overview of some popular distributed databases

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

Page 14: Overview of some popular distributed databases

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.

Page 15: Overview of some popular distributed databases

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.

Page 16: Overview of some popular distributed databases

Thank You!!!