SlideShare a Scribd company logo
1 of 32
Download to read offline
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. | 1
MySQL Group
Replication
Shivji Jha (shivji.jha@oracle.com)
Software Developer, MySQL Replication Team
2015
Safe Harbor Statement
The following is intended to outline our general product direction. It is
intended for information purposes only, and may not be incorporated
into any contract. It is not a commitment to deliver any material, code,
or functionality, and should not be relied upon in making purchasing
decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole
discretion of Oracle.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. | 2
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. | 3
Program Agenda
MySQL Group Replication Background
Zoom in: Major Building Blocks
Zoom in: The Complete Stack
Considerations
Summary
1
2
3
4
5
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. | 4
Program Agenda
MySQL Group Replication Background
Zoom in: Major Building Blocks
Zoom in: The Complete Stack
Considerations
Summary
1
2
3
4
5
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
MySQL Replication

MySQL Master server
—
Changes data.
—
Sends changes to Slave.

MySQL Slave server
—
Receives changes from master.
—
Applies received changes to database.
MASTER SLAVE
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
MySQL (Asynchronous) Replication

Native MySQL Replication: Asynchronous
—
Master executes transaction (T1), commits, ACKs to app, sends to slave.

Fast.

Changes might be lost if master dies.
Master
Slave
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
MySQL Semi-synchronous Replication
Master
Slave

MySQL-5.5 introduced semi-synchronous replication as a plugin.
—
Extra synchronization step between master and slave.

Point of synchronization configurable on time axis.
—
Master executes, (slave receives, master commits), master ACKs to app.

Slower: Master waits for slave.

Less risk for lost updates.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
MySQL Group Replication

Recently: Labs preview of Group Replication based on MySQL-5.7
—
Multi-master update everywhere replication protocol.
—
A set of servers that interact via message passing.
—
(Virtually) synchronous architecture.
Master
Master
Master
9Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
MySQL Group Replication
What is MySQL Group Replication ?
“Multi-master update everywhere replication plugin for MySQL
with built-in automatic distributed recovery, conflict detection
and group membership.”
What does the MySQL Group Replication plugin do for the user?
—
Enables update everywhere setup.
—
Provides fault tolerance.

Servers can leave (voluntary or involuntary) and join at any time.

The group self adjusts without any human intervention.
—
Automates group reconfiguration (handling of crashes, failures, re-connects).
—
Implements a replicated Database State Machine.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
M M M M M
Write Clients
MySQL
Replication
Environment
MySQL Group Replication
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
M M M M M
Update ...
Application issues an update.
Group-Based Replication Plugin
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
M M M M M
Replication
Events
Application issues an update.
Master executes and multi/broadcasts
the update to the other servers.
Group-Based Replication Plugin
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
M M M M M
Application issues an update.
Master executes and multi/broadcasts
the update to the other servers.
Servers receive same transaction in the
same order and check for conflicts.
Group-Based Replication Plugin
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
M M M M M
Application issues an update.
Master executes and multi/broadcasts
the update to the other servers.
Servers receive same transaction in the
same order and check for conflicts.
All servers, independently, decide to
commit the transaction – no conflicts.
Group-Based Replication Plugin
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Application issues an update.
Master executes and multi/broadcasts
the update to the other servers.
Servers receive same transaction in the
same order and check for conflicts.
All servers, independently, decide to
commit the transaction – no conflicts.
Originating master replies to the
application.
M M M M M
Group-Based Replication Plugin
16Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
MySQL Group Replication is...
… built on top of proven technology!
—
Shares a lot of MySQL Replication infrastructure.
—
Multi-Master approach to replication.
… very interesting, architecturally speaking!
—
The plugin registers as listener to server events.
—
Decoupled from the server core.
—
Provides further decoupling from the communication infrastructure.
… built on reusable components!
—
Layered implementation approach.
—
Interface driven development.
17Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
MySQL Group Replication Provides...
… Automatic distributed server recovery!
—
Server that joins the group will automatically synchronize with the others.
—
If a server leaves the group, the others will automatically be informed.
… Multi-master Update Everywhere!
—
Any two transactions on different servers can write to the same tuple. Conflicts
will be detected.
… MySQL/InnoDB look & feel!
—
Load the plugin and start replicating...
—
Monitor group replication stats through Performance Schema tables.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. | 18
Program Agenda
MySQL Group Replication Background
Zoom in: Major Building Blocks
Zoom in: The Complete Stack
Considerations
Summary
1
2
3
4
5
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
M M M M M
Com. API
Replication
Plugin
API
MySQL
Server
Group Comm.
System (Corosync)
Group Comm.
System (Corosync)
Zoom in: Major Building Blocks
20Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Com. API
Replication
Plugin
API
MySQL
Server
Zoom in: Major Building Blocks
Server calls into the plugin through a generic
interface.
— Server is
 Starting
 Recovering
 Ready to accept connections
 About to commit a transaction etc..
Plugin interacts with the server through a
generic interface.
— Instruct server to
 Commit or abort the ongoing transaction
 Queue transaction in relay log etc..Group Comm.
System (Corosync)
Group Comm.
System (Corosync)
21Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Com. API
Replication
Plugin
API
MySQL
Server
Zoom in: Major Building Blocks
The plugin is responsible for
— Maintaining distributed execution context.
— Detecting conflicts.
— Handling distributed recovery.
 Detect membership changes.
 Donate state if needed.
 Collect state if needed.
— Receiving and handling transactions from other
replicas.
— Sending transactions to other replicas.
— Deciding the fate of on-going transactions.
Group Comm.
System (Corosync)
Group Comm.
System (Corosync)
22Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Com. API
Replication
Plugin
API
MySQL
Server
Zoom in: Major Building Blocks
The communication API is responsible for:
— Decouples the underlaying communication
system from rest of the plugin.
— Mapping the interface to a specific
communication toolkit.
 The Group Replication labs release uses a
corosync binding.
Group Comm.
System (Corosync)
Group Comm.
System (Corosync)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. | 23
Program Agenda
MySQL Group Replication Background
Zoom in: Major Building Blocks
Zoom in: The Complete Stack
Considerations
Summary
1
2
3
4
5
24Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
API
Replication
Plugin
API
MySQL
Server
Zoom in: The Complete Stack
Performance Schema Tables: Monitoring
MySQL
APIs: Lifecycle / Capture / Applier
InnoDB
Replication Protocol
Group Comm. API
Corosync
Network
Plugin
Capture Applier
Conflicts
Handler
Group Comm.
System (Corosync)
Group Comm.
System (Corosync)
Group Comm. Binding
Recovery
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. | 25
Program Agenda
MySQL Group Replication Background
Zoom in: Major Building Blocks
Zoom in: The Complete Stack
Considerations
Summary
1
2
3
4
5
26Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Current MySQL Group Replication Limitations
Only supports transactional engines (InnoDB).
Limited DDL support. Don't execute concurrently with DML.
Primary Key required on every table.
Requires global transaction identifiers turned on.
Optimistic execution: transactions may abort on COMMIT due to conflicts with
concurrent transactions on other sites.
Upper limit on transaction payload size (due to corosync).
27Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Optimistic Multi-Master Update Everywhere
Observations
 Workload with hotspots => higher abort rates if executed concurrently at different
replicas.
— Any two transactions that have high probability to conflict should execute on
the same replica.
 Better suited for low latency, high-bandwidth networks – LAN.
— Communication latency adds up to the execution time.
— If a replica is “far” away from the rest of the group (in terms of latency), it has
more chances that its transactions are aborted during the conflict detection
phase.
 Large transactions are more likely to exhibit higher conflict.
— Smaller concurrent transactions may commit first thus rendering large
transactions write-sets obsoletes.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. | 28
Program Agenda
MySQL Group Replication Background
Zoom in: Major Building Blocks
Zoom in: The Complete Stack
Considerations
Summary
1
2
3
4
5
29Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Summary
Trendy
—
Great technology for deployments where elasticity is a requirement, such as
cloud based infrastructures
Integrated
—
It is integrated with the server core through a well defined API.
—
It is integrated with GTIDs, row based replication.
—
It is integrated with performance schema tables.
Autonomic and Operations Friendly
—
It is self-healing: no admin overhead for handling server fail-overs.
—
Provides fault-tolerance, enables multi-master update everywhere and a
dependable MySQL service.
30Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Summary
Trendy
—
Great technology for deployments where elasticity is a requirement, such as
cloud based infrastructures
Integrated
—
It is integrated with the server core through a well defined API.
—
It is integrated with GTIDs, row based replication.
—
It is integrated with performance schema tables.
Autonomic and Operations Friendly
—
It is self-healing: no admin overhead for handling server fail-overs.
—
Provides fault-tolerance, enables multi-master update everywhere and a
dependable MySQL service.
MySQL Group Replication is all that... and more! Give it a try and send us
your feedback. You can be part of this story too with your suggestions and
feature requests!
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th
March, 2015. |
Next Steps: Read about Group Replication

Stay tuned to our blogs from the developers themselves.
http://mysqlhighavailability.com/tag/mysql-group-replication/

Try this out.
http://labs.mysql.com/

Suggest features, find bugs and please do get back to us.
http://bugs.mysql.com/
MySQL Group Replication Overview

More Related Content

What's hot

MySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL ServersMySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL ServersMats Kindahl
 
MySQL Manchester TT - Replication Features
MySQL Manchester TT  - Replication FeaturesMySQL Manchester TT  - Replication Features
MySQL Manchester TT - Replication FeaturesMark Swarbrick
 
MySQL InnoDB Cluster / ReplicaSet - Making Provisioning & Troubleshooting as ...
MySQL InnoDB Cluster / ReplicaSet - Making Provisioning & Troubleshooting as ...MySQL InnoDB Cluster / ReplicaSet - Making Provisioning & Troubleshooting as ...
MySQL InnoDB Cluster / ReplicaSet - Making Provisioning & Troubleshooting as ...Miguel Araújo
 
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
MySQL Tech Tour 2015 - 5.7 Connector/J/NetMySQL Tech Tour 2015 - 5.7 Connector/J/Net
MySQL Tech Tour 2015 - 5.7 Connector/J/NetMark Swarbrick
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability MattersMatt Lord
 
NoSQL no MySQL 5.7
NoSQL no MySQL 5.7NoSQL no MySQL 5.7
NoSQL no MySQL 5.7MySQL Brasil
 
Group Replication: A Journey to the Group Communication Core
Group Replication: A Journey to the Group Communication CoreGroup Replication: A Journey to the Group Communication Core
Group Replication: A Journey to the Group Communication CoreAlfranio Júnior
 
MySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - TutorialMySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - TutorialKenny Gryp
 
MySQL Intro JSON NoSQL
MySQL Intro JSON NoSQLMySQL Intro JSON NoSQL
MySQL Intro JSON NoSQLMark Swarbrick
 
Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7MySQL Brasil
 
Successful MySQL Scalability
Successful MySQL ScalabilitySuccessful MySQL Scalability
Successful MySQL ScalabilityRonald Bradford
 
MySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt IntroMySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt IntroMark Swarbrick
 
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...Miguel Araújo
 
MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)Ryusuke Kajiyama
 
10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em StartupsMySQL Brasil
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech UpdatesRyusuke Kajiyama
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCRyusuke Kajiyama
 
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMiguel Araújo
 
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterMySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterOlivier DASINI
 

What's hot (20)

MySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL ServersMySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL Servers
 
MySQL Manchester TT - Replication Features
MySQL Manchester TT  - Replication FeaturesMySQL Manchester TT  - Replication Features
MySQL Manchester TT - Replication Features
 
MySQL InnoDB Cluster / ReplicaSet - Making Provisioning & Troubleshooting as ...
MySQL InnoDB Cluster / ReplicaSet - Making Provisioning & Troubleshooting as ...MySQL InnoDB Cluster / ReplicaSet - Making Provisioning & Troubleshooting as ...
MySQL InnoDB Cluster / ReplicaSet - Making Provisioning & Troubleshooting as ...
 
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
MySQL Tech Tour 2015 - 5.7 Connector/J/NetMySQL Tech Tour 2015 - 5.7 Connector/J/Net
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
 
NoSQL no MySQL 5.7
NoSQL no MySQL 5.7NoSQL no MySQL 5.7
NoSQL no MySQL 5.7
 
Group Replication: A Journey to the Group Communication Core
Group Replication: A Journey to the Group Communication CoreGroup Replication: A Journey to the Group Communication Core
Group Replication: A Journey to the Group Communication Core
 
MySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - TutorialMySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - Tutorial
 
MySQL Intro JSON NoSQL
MySQL Intro JSON NoSQLMySQL Intro JSON NoSQL
MySQL Intro JSON NoSQL
 
Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7
 
Successful MySQL Scalability
Successful MySQL ScalabilitySuccessful MySQL Scalability
Successful MySQL Scalability
 
MySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt IntroMySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt Intro
 
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
 
MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)
 
10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
 
MySQL Replication
MySQL ReplicationMySQL Replication
MySQL Replication
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
 
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
 
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterMySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
 

Viewers also liked

MySQL Group Replication - an Overview
MySQL Group Replication - an OverviewMySQL Group Replication - an Overview
MySQL Group Replication - an OverviewMatt Lord
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarAndrew Morgan
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015Mario Beck
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMark Swarbrick
 
Treasure Data and AWS - Developers.io 2015
Treasure Data and AWS - Developers.io 2015Treasure Data and AWS - Developers.io 2015
Treasure Data and AWS - Developers.io 2015N Masahiro
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group ReplicationBogdan Kecman
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group ReplicationManish Kumar
 
MySQL Group Replicatio in a nutshell - MySQL InnoDB Cluster
MySQL Group Replicatio  in a nutshell - MySQL InnoDB ClusterMySQL Group Replicatio  in a nutshell - MySQL InnoDB Cluster
MySQL Group Replicatio in a nutshell - MySQL InnoDB ClusterFrederic Descamps
 
MySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationMySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationFrederic Descamps
 
MySQL Tech Tour 2015 - Progettare, installare e configurare MySQL Cluster
MySQL Tech Tour 2015 - Progettare, installare e configurare MySQL ClusterMySQL Tech Tour 2015 - Progettare, installare e configurare MySQL Cluster
MySQL Tech Tour 2015 - Progettare, installare e configurare MySQL ClusterPar-Tec S.p.A.
 
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningSeveralnines
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMario Beck
 
FOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsFOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsAndrew Morgan
 
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous AvailabilityRamp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous AvailabilityPythian
 
MySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL ClusterMySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL ClusterShivji Kumar Jha
 
MySQL Cluster performance best practices
MySQL Cluster performance best practicesMySQL Cluster performance best practices
MySQL Cluster performance best practicesMat Keep
 
Structural Design pattern - Adapter
Structural Design pattern - AdapterStructural Design pattern - Adapter
Structural Design pattern - AdapterManoj Kumar
 
MySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationMySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationNuno Carvalho
 

Viewers also liked (20)

MySQL Group Replication - an Overview
MySQL Group Replication - an OverviewMySQL Group Replication - an Overview
MySQL Group Replication - an Overview
 
MySQL 5.7 + JSON
MySQL 5.7 + JSONMySQL 5.7 + JSON
MySQL 5.7 + JSON
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinar
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats new
 
Treasure Data and AWS - Developers.io 2015
Treasure Data and AWS - Developers.io 2015Treasure Data and AWS - Developers.io 2015
Treasure Data and AWS - Developers.io 2015
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 
MySQL Group Replicatio in a nutshell - MySQL InnoDB Cluster
MySQL Group Replicatio  in a nutshell - MySQL InnoDB ClusterMySQL Group Replicatio  in a nutshell - MySQL InnoDB Cluster
MySQL Group Replicatio in a nutshell - MySQL InnoDB Cluster
 
MySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationMySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group Replication
 
MySQL user camp march 11th 2016
MySQL user camp march 11th 2016MySQL user camp march 11th 2016
MySQL user camp march 11th 2016
 
MySQL Tech Tour 2015 - Progettare, installare e configurare MySQL Cluster
MySQL Tech Tour 2015 - Progettare, installare e configurare MySQL ClusterMySQL Tech Tour 2015 - Progettare, installare e configurare MySQL Cluster
MySQL Tech Tour 2015 - Progettare, installare e configurare MySQL Cluster
 
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster
 
FOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsFOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worlds
 
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous AvailabilityRamp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
 
MySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL ClusterMySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL Cluster
 
MySQL Cluster performance best practices
MySQL Cluster performance best practicesMySQL Cluster performance best practices
MySQL Cluster performance best practices
 
Structural Design pattern - Adapter
Structural Design pattern - AdapterStructural Design pattern - Adapter
Structural Design pattern - Adapter
 
MySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationMySQL High Availability with Group Replication
MySQL High Availability with Group Replication
 

Similar to MySQL Group Replication Overview

5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQLMySQL Brasil
 
MySQL 15 March Presentation (MySQL Tech Tour Istanbul)
MySQL 15 March Presentation (MySQL Tech Tour Istanbul)MySQL 15 March Presentation (MySQL Tech Tour Istanbul)
MySQL 15 March Presentation (MySQL Tech Tour Istanbul)Okcan Yasin Saygılı
 
MySQL High Availibility Solutions
MySQL High Availibility SolutionsMySQL High Availibility Solutions
MySQL High Availibility SolutionsMark Swarbrick
 
Mysql repos testing.odp
Mysql repos testing.odpMysql repos testing.odp
Mysql repos testing.odpRamana Yeruva
 
How to Thrive on REST/WebSocket-Based Microservices
How to Thrive on REST/WebSocket-Based MicroservicesHow to Thrive on REST/WebSocket-Based Microservices
How to Thrive on REST/WebSocket-Based MicroservicesPavel Bucek
 
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...GeneXus
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1Ivan Ma
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLMario Beck
 
Oracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suiteOracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suiteOTN Systems Hub
 
MySQL Group Replication @osi days 2014
MySQL Group Replication @osi days 2014MySQL Group Replication @osi days 2014
MySQL Group Replication @osi days 2014Manish Kumar
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Ivan Ma
 
Modern App Development with Oracle Cloud
Modern App Development with Oracle CloudModern App Development with Oracle Cloud
Modern App Development with Oracle CloudJuan Carlos Ruiz Rico
 
Sharding and Scale-out using MySQL Fabric
Sharding and Scale-out using MySQL FabricSharding and Scale-out using MySQL Fabric
Sharding and Scale-out using MySQL FabricMats Kindahl
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMatt Lord
 
MySQL London Tech Tour March 2015 - MySQL Fabric
MySQL London Tech Tour March 2015 - MySQL FabricMySQL London Tech Tour March 2015 - MySQL Fabric
MySQL London Tech Tour March 2015 - MySQL FabricMark Swarbrick
 
Rapid private cloud with oracle vm and oracle openstack for oracle linux
Rapid private cloud with oracle vm and oracle openstack for oracle linuxRapid private cloud with oracle vm and oracle openstack for oracle linux
Rapid private cloud with oracle vm and oracle openstack for oracle linuxOTN Systems Hub
 
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4Frazer Clement
 
Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Kurt Liu
 

Similar to MySQL Group Replication Overview (20)

5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL
 
MySQL 15 March Presentation (MySQL Tech Tour Istanbul)
MySQL 15 March Presentation (MySQL Tech Tour Istanbul)MySQL 15 March Presentation (MySQL Tech Tour Istanbul)
MySQL 15 March Presentation (MySQL Tech Tour Istanbul)
 
MySQL High Availibility Solutions
MySQL High Availibility SolutionsMySQL High Availibility Solutions
MySQL High Availibility Solutions
 
Mysql repos testing.odp
Mysql repos testing.odpMysql repos testing.odp
Mysql repos testing.odp
 
How to Thrive on REST/WebSocket-Based Microservices
How to Thrive on REST/WebSocket-Based MicroservicesHow to Thrive on REST/WebSocket-Based Microservices
How to Thrive on REST/WebSocket-Based Microservices
 
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQL
 
Oracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suiteOracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suite
 
MySQL Group Replication @osi days 2014
MySQL Group Replication @osi days 2014MySQL Group Replication @osi days 2014
MySQL Group Replication @osi days 2014
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07
 
Modern App Development with Oracle Cloud
Modern App Development with Oracle CloudModern App Development with Oracle Cloud
Modern App Development with Oracle Cloud
 
Sharding and Scale-out using MySQL Fabric
Sharding and Scale-out using MySQL FabricSharding and Scale-out using MySQL Fabric
Sharding and Scale-out using MySQL Fabric
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB Clusters
 
Let's Start MySQL
Let's Start MySQLLet's Start MySQL
Let's Start MySQL
 
MySQL London Tech Tour March 2015 - MySQL Fabric
MySQL London Tech Tour March 2015 - MySQL FabricMySQL London Tech Tour March 2015 - MySQL Fabric
MySQL London Tech Tour March 2015 - MySQL Fabric
 
Rapid private cloud with oracle vm and oracle openstack for oracle linux
Rapid private cloud with oracle vm and oracle openstack for oracle linuxRapid private cloud with oracle vm and oracle openstack for oracle linux
Rapid private cloud with oracle vm and oracle openstack for oracle linux
 
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
 
Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1
 
MySQL Devops Webinar
MySQL Devops WebinarMySQL Devops Webinar
MySQL Devops Webinar
 

More from Shivji Kumar Jha

Navigating Transactions: ACID Complexity in Modern Databases
Navigating Transactions: ACID Complexity in Modern DatabasesNavigating Transactions: ACID Complexity in Modern Databases
Navigating Transactions: ACID Complexity in Modern DatabasesShivji Kumar Jha
 
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutesDruid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutesShivji Kumar Jha
 
pulsar-platformatory-meetup-2.pptx
pulsar-platformatory-meetup-2.pptxpulsar-platformatory-meetup-2.pptx
pulsar-platformatory-meetup-2.pptxShivji Kumar Jha
 
Pulsar Summit Asia 2022 - Streaming wars and How Apache Pulsar is acing the b...
Pulsar Summit Asia 2022 - Streaming wars and How Apache Pulsar is acing the b...Pulsar Summit Asia 2022 - Streaming wars and How Apache Pulsar is acing the b...
Pulsar Summit Asia 2022 - Streaming wars and How Apache Pulsar is acing the b...Shivji Kumar Jha
 
Pulsar Summit Asia 2022 - Keeping on top of hybrid cloud usage with Pulsar
Pulsar Summit Asia 2022 - Keeping on top of hybrid cloud usage with PulsarPulsar Summit Asia 2022 - Keeping on top of hybrid cloud usage with Pulsar
Pulsar Summit Asia 2022 - Keeping on top of hybrid cloud usage with PulsarShivji Kumar Jha
 
Pulsar summit asia 2021: Designing Pulsar for Isolation
Pulsar summit asia 2021: Designing Pulsar for IsolationPulsar summit asia 2021: Designing Pulsar for Isolation
Pulsar summit asia 2021: Designing Pulsar for IsolationShivji Kumar Jha
 
Event sourcing Live 2021: Streaming App Changes to Event Store
Event sourcing Live 2021: Streaming App Changes to Event StoreEvent sourcing Live 2021: Streaming App Changes to Event Store
Event sourcing Live 2021: Streaming App Changes to Event StoreShivji Kumar Jha
 
Apache Con 2021 Structured Data Streaming
Apache Con 2021 Structured Data StreamingApache Con 2021 Structured Data Streaming
Apache Con 2021 Structured Data StreamingShivji Kumar Jha
 
Apache Con 2021 : Apache Bookkeeper Key Value Store and use cases
Apache Con 2021 : Apache Bookkeeper Key Value Store and use casesApache Con 2021 : Apache Bookkeeper Key Value Store and use cases
Apache Con 2021 : Apache Bookkeeper Key Value Store and use casesShivji Kumar Jha
 
How pulsar stores data at Pulsar-na-summit-2021.pptx (1)
How pulsar stores data at Pulsar-na-summit-2021.pptx (1)How pulsar stores data at Pulsar-na-summit-2021.pptx (1)
How pulsar stores data at Pulsar-na-summit-2021.pptx (1)Shivji Kumar Jha
 
Pulsar Summit Asia - Structured Data Stream with Apache Pulsar
Pulsar Summit Asia - Structured Data Stream with Apache PulsarPulsar Summit Asia - Structured Data Stream with Apache Pulsar
Pulsar Summit Asia - Structured Data Stream with Apache PulsarShivji Kumar Jha
 
Pulsar Summit Asia - Running a secure pulsar cluster
Pulsar Summit Asia -  Running a secure pulsar clusterPulsar Summit Asia -  Running a secure pulsar cluster
Pulsar Summit Asia - Running a secure pulsar clusterShivji Kumar Jha
 
lessons from managing a pulsar cluster
 lessons from managing a pulsar cluster lessons from managing a pulsar cluster
lessons from managing a pulsar clusterShivji Kumar Jha
 

More from Shivji Kumar Jha (14)

Navigating Transactions: ACID Complexity in Modern Databases
Navigating Transactions: ACID Complexity in Modern DatabasesNavigating Transactions: ACID Complexity in Modern Databases
Navigating Transactions: ACID Complexity in Modern Databases
 
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutesDruid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
 
osi-oss-dbs.pptx
osi-oss-dbs.pptxosi-oss-dbs.pptx
osi-oss-dbs.pptx
 
pulsar-platformatory-meetup-2.pptx
pulsar-platformatory-meetup-2.pptxpulsar-platformatory-meetup-2.pptx
pulsar-platformatory-meetup-2.pptx
 
Pulsar Summit Asia 2022 - Streaming wars and How Apache Pulsar is acing the b...
Pulsar Summit Asia 2022 - Streaming wars and How Apache Pulsar is acing the b...Pulsar Summit Asia 2022 - Streaming wars and How Apache Pulsar is acing the b...
Pulsar Summit Asia 2022 - Streaming wars and How Apache Pulsar is acing the b...
 
Pulsar Summit Asia 2022 - Keeping on top of hybrid cloud usage with Pulsar
Pulsar Summit Asia 2022 - Keeping on top of hybrid cloud usage with PulsarPulsar Summit Asia 2022 - Keeping on top of hybrid cloud usage with Pulsar
Pulsar Summit Asia 2022 - Keeping on top of hybrid cloud usage with Pulsar
 
Pulsar summit asia 2021: Designing Pulsar for Isolation
Pulsar summit asia 2021: Designing Pulsar for IsolationPulsar summit asia 2021: Designing Pulsar for Isolation
Pulsar summit asia 2021: Designing Pulsar for Isolation
 
Event sourcing Live 2021: Streaming App Changes to Event Store
Event sourcing Live 2021: Streaming App Changes to Event StoreEvent sourcing Live 2021: Streaming App Changes to Event Store
Event sourcing Live 2021: Streaming App Changes to Event Store
 
Apache Con 2021 Structured Data Streaming
Apache Con 2021 Structured Data StreamingApache Con 2021 Structured Data Streaming
Apache Con 2021 Structured Data Streaming
 
Apache Con 2021 : Apache Bookkeeper Key Value Store and use cases
Apache Con 2021 : Apache Bookkeeper Key Value Store and use casesApache Con 2021 : Apache Bookkeeper Key Value Store and use cases
Apache Con 2021 : Apache Bookkeeper Key Value Store and use cases
 
How pulsar stores data at Pulsar-na-summit-2021.pptx (1)
How pulsar stores data at Pulsar-na-summit-2021.pptx (1)How pulsar stores data at Pulsar-na-summit-2021.pptx (1)
How pulsar stores data at Pulsar-na-summit-2021.pptx (1)
 
Pulsar Summit Asia - Structured Data Stream with Apache Pulsar
Pulsar Summit Asia - Structured Data Stream with Apache PulsarPulsar Summit Asia - Structured Data Stream with Apache Pulsar
Pulsar Summit Asia - Structured Data Stream with Apache Pulsar
 
Pulsar Summit Asia - Running a secure pulsar cluster
Pulsar Summit Asia -  Running a secure pulsar clusterPulsar Summit Asia -  Running a secure pulsar cluster
Pulsar Summit Asia - Running a secure pulsar cluster
 
lessons from managing a pulsar cluster
 lessons from managing a pulsar cluster lessons from managing a pulsar cluster
lessons from managing a pulsar cluster
 

Recently uploaded

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

MySQL Group Replication Overview

  • 1. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | 1 MySQL Group Replication Shivji Jha (shivji.jha@oracle.com) Software Developer, MySQL Replication Team 2015
  • 2. Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | 2
  • 3. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | 3 Program Agenda MySQL Group Replication Background Zoom in: Major Building Blocks Zoom in: The Complete Stack Considerations Summary 1 2 3 4 5
  • 4. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | 4 Program Agenda MySQL Group Replication Background Zoom in: Major Building Blocks Zoom in: The Complete Stack Considerations Summary 1 2 3 4 5
  • 5. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | MySQL Replication  MySQL Master server — Changes data. — Sends changes to Slave.  MySQL Slave server — Receives changes from master. — Applies received changes to database. MASTER SLAVE
  • 6. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | MySQL (Asynchronous) Replication  Native MySQL Replication: Asynchronous — Master executes transaction (T1), commits, ACKs to app, sends to slave.  Fast.  Changes might be lost if master dies. Master Slave
  • 7. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | MySQL Semi-synchronous Replication Master Slave  MySQL-5.5 introduced semi-synchronous replication as a plugin. — Extra synchronization step between master and slave.  Point of synchronization configurable on time axis. — Master executes, (slave receives, master commits), master ACKs to app.  Slower: Master waits for slave.  Less risk for lost updates.
  • 8. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | MySQL Group Replication  Recently: Labs preview of Group Replication based on MySQL-5.7 — Multi-master update everywhere replication protocol. — A set of servers that interact via message passing. — (Virtually) synchronous architecture. Master Master Master
  • 9. 9Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | MySQL Group Replication What is MySQL Group Replication ? “Multi-master update everywhere replication plugin for MySQL with built-in automatic distributed recovery, conflict detection and group membership.” What does the MySQL Group Replication plugin do for the user? — Enables update everywhere setup. — Provides fault tolerance.  Servers can leave (voluntary or involuntary) and join at any time.  The group self adjusts without any human intervention. — Automates group reconfiguration (handling of crashes, failures, re-connects). — Implements a replicated Database State Machine.
  • 10. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | M M M M M Write Clients MySQL Replication Environment MySQL Group Replication
  • 11. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | M M M M M Update ... Application issues an update. Group-Based Replication Plugin
  • 12. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | M M M M M Replication Events Application issues an update. Master executes and multi/broadcasts the update to the other servers. Group-Based Replication Plugin
  • 13. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | M M M M M Application issues an update. Master executes and multi/broadcasts the update to the other servers. Servers receive same transaction in the same order and check for conflicts. Group-Based Replication Plugin
  • 14. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | M M M M M Application issues an update. Master executes and multi/broadcasts the update to the other servers. Servers receive same transaction in the same order and check for conflicts. All servers, independently, decide to commit the transaction – no conflicts. Group-Based Replication Plugin
  • 15. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Application issues an update. Master executes and multi/broadcasts the update to the other servers. Servers receive same transaction in the same order and check for conflicts. All servers, independently, decide to commit the transaction – no conflicts. Originating master replies to the application. M M M M M Group-Based Replication Plugin
  • 16. 16Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | MySQL Group Replication is... … built on top of proven technology! — Shares a lot of MySQL Replication infrastructure. — Multi-Master approach to replication. … very interesting, architecturally speaking! — The plugin registers as listener to server events. — Decoupled from the server core. — Provides further decoupling from the communication infrastructure. … built on reusable components! — Layered implementation approach. — Interface driven development.
  • 17. 17Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | MySQL Group Replication Provides... … Automatic distributed server recovery! — Server that joins the group will automatically synchronize with the others. — If a server leaves the group, the others will automatically be informed. … Multi-master Update Everywhere! — Any two transactions on different servers can write to the same tuple. Conflicts will be detected. … MySQL/InnoDB look & feel! — Load the plugin and start replicating... — Monitor group replication stats through Performance Schema tables.
  • 18. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | 18 Program Agenda MySQL Group Replication Background Zoom in: Major Building Blocks Zoom in: The Complete Stack Considerations Summary 1 2 3 4 5
  • 19. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | M M M M M Com. API Replication Plugin API MySQL Server Group Comm. System (Corosync) Group Comm. System (Corosync) Zoom in: Major Building Blocks
  • 20. 20Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Com. API Replication Plugin API MySQL Server Zoom in: Major Building Blocks Server calls into the plugin through a generic interface. — Server is  Starting  Recovering  Ready to accept connections  About to commit a transaction etc.. Plugin interacts with the server through a generic interface. — Instruct server to  Commit or abort the ongoing transaction  Queue transaction in relay log etc..Group Comm. System (Corosync) Group Comm. System (Corosync)
  • 21. 21Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Com. API Replication Plugin API MySQL Server Zoom in: Major Building Blocks The plugin is responsible for — Maintaining distributed execution context. — Detecting conflicts. — Handling distributed recovery.  Detect membership changes.  Donate state if needed.  Collect state if needed. — Receiving and handling transactions from other replicas. — Sending transactions to other replicas. — Deciding the fate of on-going transactions. Group Comm. System (Corosync) Group Comm. System (Corosync)
  • 22. 22Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Com. API Replication Plugin API MySQL Server Zoom in: Major Building Blocks The communication API is responsible for: — Decouples the underlaying communication system from rest of the plugin. — Mapping the interface to a specific communication toolkit.  The Group Replication labs release uses a corosync binding. Group Comm. System (Corosync) Group Comm. System (Corosync)
  • 23. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | 23 Program Agenda MySQL Group Replication Background Zoom in: Major Building Blocks Zoom in: The Complete Stack Considerations Summary 1 2 3 4 5
  • 24. 24Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | API Replication Plugin API MySQL Server Zoom in: The Complete Stack Performance Schema Tables: Monitoring MySQL APIs: Lifecycle / Capture / Applier InnoDB Replication Protocol Group Comm. API Corosync Network Plugin Capture Applier Conflicts Handler Group Comm. System (Corosync) Group Comm. System (Corosync) Group Comm. Binding Recovery
  • 25. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | 25 Program Agenda MySQL Group Replication Background Zoom in: Major Building Blocks Zoom in: The Complete Stack Considerations Summary 1 2 3 4 5
  • 26. 26Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Current MySQL Group Replication Limitations Only supports transactional engines (InnoDB). Limited DDL support. Don't execute concurrently with DML. Primary Key required on every table. Requires global transaction identifiers turned on. Optimistic execution: transactions may abort on COMMIT due to conflicts with concurrent transactions on other sites. Upper limit on transaction payload size (due to corosync).
  • 27. 27Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Optimistic Multi-Master Update Everywhere Observations  Workload with hotspots => higher abort rates if executed concurrently at different replicas. — Any two transactions that have high probability to conflict should execute on the same replica.  Better suited for low latency, high-bandwidth networks – LAN. — Communication latency adds up to the execution time. — If a replica is “far” away from the rest of the group (in terms of latency), it has more chances that its transactions are aborted during the conflict detection phase.  Large transactions are more likely to exhibit higher conflict. — Smaller concurrent transactions may commit first thus rendering large transactions write-sets obsoletes.
  • 28. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | 28 Program Agenda MySQL Group Replication Background Zoom in: Major Building Blocks Zoom in: The Complete Stack Considerations Summary 1 2 3 4 5
  • 29. 29Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Summary Trendy — Great technology for deployments where elasticity is a requirement, such as cloud based infrastructures Integrated — It is integrated with the server core through a well defined API. — It is integrated with GTIDs, row based replication. — It is integrated with performance schema tables. Autonomic and Operations Friendly — It is self-healing: no admin overhead for handling server fail-overs. — Provides fault-tolerance, enables multi-master update everywhere and a dependable MySQL service.
  • 30. 30Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Summary Trendy — Great technology for deployments where elasticity is a requirement, such as cloud based infrastructures Integrated — It is integrated with the server core through a well defined API. — It is integrated with GTIDs, row based replication. — It is integrated with performance schema tables. Autonomic and Operations Friendly — It is self-healing: no admin overhead for handling server fail-overs. — Provides fault-tolerance, enables multi-master update everywhere and a dependable MySQL service. MySQL Group Replication is all that... and more! Give it a try and send us your feedback. You can be part of this story too with your suggestions and feature requests!
  • 31. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | FOSSASIA 2015 | Singapore, 14th March, 2015. | Next Steps: Read about Group Replication  Stay tuned to our blogs from the developers themselves. http://mysqlhighavailability.com/tag/mysql-group-replication/  Try this out. http://labs.mysql.com/  Suggest features, find bugs and please do get back to us. http://bugs.mysql.com/