Submit Search
Upload
MySQL Group Replication
•
0 likes
•
187 views
Mark Swarbrick
Follow
MySQL Group Replication
Read less
Read more
Technology
Report
Share
Report
Share
1 of 49
Download now
Download to read offline
Recommended
MySQL Enterprise Cloud
MySQL Enterprise Cloud
Mark Swarbrick
MySQL Cluster Whats New
MySQL Cluster Whats New
Mark Swarbrick
MySQL Clusters
MySQL Clusters
Mark Swarbrick
Percona Live - Dublin 01 my sql ha-mysql-clusters
Percona Live - Dublin 01 my sql ha-mysql-clusters
Mark Swarbrick
Percona Live - Dublin 03 ee + cloud
Percona Live - Dublin 03 ee + cloud
Mark Swarbrick
Percona Live - Dublin 02 security + tuning
Percona Live - Dublin 02 security + tuning
Mark Swarbrick
Why MySQL High Availability Matters
Why MySQL High Availability Matters
Mark Swarbrick
MySQL Enterprise Edition
MySQL Enterprise Edition
Mark Swarbrick
Recommended
MySQL Enterprise Cloud
MySQL Enterprise Cloud
Mark Swarbrick
MySQL Cluster Whats New
MySQL Cluster Whats New
Mark Swarbrick
MySQL Clusters
MySQL Clusters
Mark Swarbrick
Percona Live - Dublin 01 my sql ha-mysql-clusters
Percona Live - Dublin 01 my sql ha-mysql-clusters
Mark Swarbrick
Percona Live - Dublin 03 ee + cloud
Percona Live - Dublin 03 ee + cloud
Mark Swarbrick
Percona Live - Dublin 02 security + tuning
Percona Live - Dublin 02 security + tuning
Mark Swarbrick
Why MySQL High Availability Matters
Why MySQL High Availability Matters
Mark Swarbrick
MySQL Enterprise Edition
MySQL Enterprise Edition
Mark Swarbrick
MySQL Security Best Practises
MySQL Security Best Practises
Mark Swarbrick
MySQL HA
MySQL HA
Mark Swarbrick
MySQL Enterprise Monitor 3
MySQL Enterprise Monitor 3
Mark Swarbrick
MySQL Enterprise Cloud
MySQL Enterprise Cloud
Mark Swarbrick
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
Mark Swarbrick
TLV - MySQL Enterprise Edition + Cloud
TLV - MySQL Enterprise Edition + Cloud
Mark Swarbrick
TLV - Whats new in MySQL 8
TLV - Whats new in MySQL 8
Mark Swarbrick
2016 MySQL State of the Dolphin
2016 MySQL State of the Dolphin
Mark Swarbrick
MySQL 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL Days
Mark Swarbrick
Java EE Next
Java EE Next
David Delabassee
Oracle Code Event - MySQL JSON Document Store
Oracle Code Event - MySQL JSON Document Store
Mark Swarbrick
MySQL Security & GDPR
MySQL Security & GDPR
Mark Swarbrick
MySQL 8
MySQL 8
Mark Swarbrick
REST in an Async World
REST in an Async World
David Delabassee
Next Generation Data Center Strategies
Next Generation Data Center Strategies
Venkat Nambiyur
Jfokus 2017 Oracle Dev Cloud and Containers
Jfokus 2017 Oracle Dev Cloud and Containers
Mika Rinne
JAX-RS 2.1 Reloaded
JAX-RS 2.1 Reloaded
David Delabassee
MySQL NoSQL Document Store
MySQL NoSQL Document Store
Mark Swarbrick
InnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
Mark Swarbrick
5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL
MySQL Brasil
MySQL as a Document Store
MySQL as a Document Store
Mark Swarbrick
Developing MySQL applications in the Cloud
Developing MySQL applications in the Cloud
Mark Swarbrick
More Related Content
What's hot
MySQL Security Best Practises
MySQL Security Best Practises
Mark Swarbrick
MySQL HA
MySQL HA
Mark Swarbrick
MySQL Enterprise Monitor 3
MySQL Enterprise Monitor 3
Mark Swarbrick
MySQL Enterprise Cloud
MySQL Enterprise Cloud
Mark Swarbrick
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
Mark Swarbrick
TLV - MySQL Enterprise Edition + Cloud
TLV - MySQL Enterprise Edition + Cloud
Mark Swarbrick
TLV - Whats new in MySQL 8
TLV - Whats new in MySQL 8
Mark Swarbrick
2016 MySQL State of the Dolphin
2016 MySQL State of the Dolphin
Mark Swarbrick
MySQL 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL Days
Mark Swarbrick
Java EE Next
Java EE Next
David Delabassee
Oracle Code Event - MySQL JSON Document Store
Oracle Code Event - MySQL JSON Document Store
Mark Swarbrick
MySQL Security & GDPR
MySQL Security & GDPR
Mark Swarbrick
MySQL 8
MySQL 8
Mark Swarbrick
REST in an Async World
REST in an Async World
David Delabassee
Next Generation Data Center Strategies
Next Generation Data Center Strategies
Venkat Nambiyur
Jfokus 2017 Oracle Dev Cloud and Containers
Jfokus 2017 Oracle Dev Cloud and Containers
Mika Rinne
JAX-RS 2.1 Reloaded
JAX-RS 2.1 Reloaded
David Delabassee
MySQL NoSQL Document Store
MySQL NoSQL Document Store
Mark Swarbrick
InnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
Mark Swarbrick
5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL
MySQL Brasil
What's hot
(20)
MySQL Security Best Practises
MySQL Security Best Practises
MySQL HA
MySQL HA
MySQL Enterprise Monitor 3
MySQL Enterprise Monitor 3
MySQL Enterprise Cloud
MySQL Enterprise Cloud
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
TLV - MySQL Enterprise Edition + Cloud
TLV - MySQL Enterprise Edition + Cloud
TLV - Whats new in MySQL 8
TLV - Whats new in MySQL 8
2016 MySQL State of the Dolphin
2016 MySQL State of the Dolphin
MySQL 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL Days
Java EE Next
Java EE Next
Oracle Code Event - MySQL JSON Document Store
Oracle Code Event - MySQL JSON Document Store
MySQL Security & GDPR
MySQL Security & GDPR
MySQL 8
MySQL 8
REST in an Async World
REST in an Async World
Next Generation Data Center Strategies
Next Generation Data Center Strategies
Jfokus 2017 Oracle Dev Cloud and Containers
Jfokus 2017 Oracle Dev Cloud and Containers
JAX-RS 2.1 Reloaded
JAX-RS 2.1 Reloaded
MySQL NoSQL Document Store
MySQL NoSQL Document Store
InnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL
Similar to MySQL Group Replication
MySQL as a Document Store
MySQL as a Document Store
Mark Swarbrick
Developing MySQL applications in the Cloud
Developing MySQL applications in the Cloud
Mark Swarbrick
Oracle Solaris Cloud Management and Deployment with OpenStack
Oracle Solaris Cloud Management and Deployment with OpenStack
OTN Systems Hub
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
vasuballa
Develop Oracle Virtual Box and deploy to Cloud
Develop Oracle Virtual Box and deploy to Cloud
Inprise Group
Migrating your infrastructure to OpenStack - Avi Miller, Oracle
Migrating your infrastructure to OpenStack - Avi Miller, Oracle
OpenStack
Trivadis TechEvent 2017 Leveraging the Oracle Cloud by Kris Bhanushali tech_e...
Trivadis TechEvent 2017 Leveraging the Oracle Cloud by Kris Bhanushali tech_e...
Trivadis
Performance in Spark 2.0, PDX Spark Meetup 8/18/16
Performance in Spark 2.0, PDX Spark Meetup 8/18/16
pdx_spark
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
vasuballa
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
vasuballa
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybrid
Johan Louwers
MAA - Best Practices for the Cloud
MAA - Best Practices for the Cloud
Markus Michalewicz
Japanese Introduction to Oracle JET
Japanese Introduction to Oracle JET
Geertjan Wielenga
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
vasuballa
Oracle RAC 12c Rel. 2 Best Practices - UKOUG Tech17 Version
Oracle RAC 12c Rel. 2 Best Practices - UKOUG Tech17 Version
Markus Michalewicz
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Markus Michalewicz
3° Sessione Oracle - CRUI: Mobile&Conversational Interface
3° Sessione Oracle - CRUI: Mobile&Conversational Interface
Jürgen Ambrosi
Virtualized Oracle Real Application Clusters (RAC) - Containers and VMs for RAC
Virtualized Oracle Real Application Clusters (RAC) - Containers and VMs for RAC
Markus Michalewicz
RAC Troubleshooting and Diagnosability Sangam2016
RAC Troubleshooting and Diagnosability Sangam2016
Sandesh Rao
Web protocols for java developers
Web protocols for java developers
Pavel Bucek
Similar to MySQL Group Replication
(20)
MySQL as a Document Store
MySQL as a Document Store
Developing MySQL applications in the Cloud
Developing MySQL applications in the Cloud
Oracle Solaris Cloud Management and Deployment with OpenStack
Oracle Solaris Cloud Management and Deployment with OpenStack
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
Develop Oracle Virtual Box and deploy to Cloud
Develop Oracle Virtual Box and deploy to Cloud
Migrating your infrastructure to OpenStack - Avi Miller, Oracle
Migrating your infrastructure to OpenStack - Avi Miller, Oracle
Trivadis TechEvent 2017 Leveraging the Oracle Cloud by Kris Bhanushali tech_e...
Trivadis TechEvent 2017 Leveraging the Oracle Cloud by Kris Bhanushali tech_e...
Performance in Spark 2.0, PDX Spark Meetup 8/18/16
Performance in Spark 2.0, PDX Spark Meetup 8/18/16
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybrid
MAA - Best Practices for the Cloud
MAA - Best Practices for the Cloud
Japanese Introduction to Oracle JET
Japanese Introduction to Oracle JET
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
Oracle RAC 12c Rel. 2 Best Practices - UKOUG Tech17 Version
Oracle RAC 12c Rel. 2 Best Practices - UKOUG Tech17 Version
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
3° Sessione Oracle - CRUI: Mobile&Conversational Interface
3° Sessione Oracle - CRUI: Mobile&Conversational Interface
Virtualized Oracle Real Application Clusters (RAC) - Containers and VMs for RAC
Virtualized Oracle Real Application Clusters (RAC) - Containers and VMs for RAC
RAC Troubleshooting and Diagnosability Sangam2016
RAC Troubleshooting and Diagnosability Sangam2016
Web protocols for java developers
Web protocols for java developers
More from Mark Swarbrick
MySQL @ the University Of Nottingham
MySQL @ the University Of Nottingham
Mark Swarbrick
Intro To MySQL 2019
Intro To MySQL 2019
Mark Swarbrick
MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8
Mark Swarbrick
MySQL Dublin Event Nov 2018 - State of the Dolphin
MySQL Dublin Event Nov 2018 - State of the Dolphin
Mark Swarbrick
TLV - MySQL Security overview
TLV - MySQL Security overview
Mark Swarbrick
MySQL At University Of Nottingham - 2018 MySQL Days
MySQL At University Of Nottingham - 2018 MySQL Days
Mark Swarbrick
MySQL At Mastercard - 2018 MySQL Days
MySQL At Mastercard - 2018 MySQL Days
Mark Swarbrick
MySQL Security + GDPR - 2018 MySQL Days
MySQL Security + GDPR - 2018 MySQL Days
Mark Swarbrick
MySQL Cloud - 2018 MySQL Days
MySQL Cloud - 2018 MySQL Days
Mark Swarbrick
MySQL 2018 Intro - 2018 MySQL Days
MySQL 2018 Intro - 2018 MySQL Days
Mark Swarbrick
MySQL + GDPR
MySQL + GDPR
Mark Swarbrick
Oow MySQL Whats new in security overview sept 2017 v1
Oow MySQL Whats new in security overview sept 2017 v1
Mark Swarbrick
More from Mark Swarbrick
(12)
MySQL @ the University Of Nottingham
MySQL @ the University Of Nottingham
Intro To MySQL 2019
Intro To MySQL 2019
MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - State of the Dolphin
MySQL Dublin Event Nov 2018 - State of the Dolphin
TLV - MySQL Security overview
TLV - MySQL Security overview
MySQL At University Of Nottingham - 2018 MySQL Days
MySQL At University Of Nottingham - 2018 MySQL Days
MySQL At Mastercard - 2018 MySQL Days
MySQL At Mastercard - 2018 MySQL Days
MySQL Security + GDPR - 2018 MySQL Days
MySQL Security + GDPR - 2018 MySQL Days
MySQL Cloud - 2018 MySQL Days
MySQL Cloud - 2018 MySQL Days
MySQL 2018 Intro - 2018 MySQL Days
MySQL 2018 Intro - 2018 MySQL Days
MySQL + GDPR
MySQL + GDPR
Oow MySQL Whats new in security overview sept 2017 v1
Oow MySQL Whats new in security overview sept 2017 v1
Recently uploaded
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
rafiqahmad00786416
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
Overkill Security
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Deepika Singh
Architecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Nanddeep Nachan
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
apidays
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Dropbox
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
Recently uploaded
(20)
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Architecting Cloud Native Applications
Architecting Cloud Native Applications
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
MySQL Group Replication
1.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | High Availability Using MySQL Group ReplicaIon Mark Swarbrick MySQL Principle Presales consultant 1
2.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direcIon. It is intended for informaIon purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or funcIonality, and should not be relied upon in making purchasing decisions. The development, release, and Iming of any features or funcIonality described for Oracle’s products remains at the sole discreIon of Oracle. 2
3.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Program Agenda
4.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Program Agenda Background MySQL Group ReplicaIon Architecture Big Picture Conclusion 1 2 3 4 5 4
5.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Background 1
6.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | M S S S S M write clients read clients read clients write clients More reads? More slaves! Read scale-out Background: What is ReplicaIon Used For? 6
7.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | C B A C B A Crash C B A B is the new master Uh Oh! Whew! Redundancy as a major building block for high availability: If master crashes, promote slave to master Background: What is ReplicaIon Used For? 7
8.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Group ReplicaIon • What is MySQL Group ReplicaKon? “Update everywhere replicaIon plugin for MySQL with built-in automaKc distributed recovery, conflict handling, group membership and distributed agreement.” • What does the MySQL Group ReplicaKon plugin do for the user? – Removes the need for handling server fail-over. – Provides fault tolerance. – Enables update everywhere setups. – Automates group reconfiguraIon (handling of crashes, failures, re-connects). – Provides a highly available replicated database. – AutomaIc distributed coordinaIon (protects against split-brain and message loss). – Less admin overhead, means more fun Ime! 8
9.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Group ReplicaIon 9 M M M
M M ReplicaKon Group Clients
10.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Some Theory Behind It... • ImplementaIon based in Replicated Database State Machines – Group CommunicaIon PrimiIves resemble properIes of Databases. • Deferred update replicaIon: propagate atomically, check conflicts, eventually apply – Distributed state machine requires agreed delivery – implies total order; – DeterminisIc cerIficaIon requires total order delivery. •
Membership Service – Which servers are parIcipaIng in the replicaIon group at a given moment in Ime? (associated with a logical Imestamp [ - view idenIfier]). 10
11.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Group ReplicaIon 2 2.1 MulK-Master
12.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MulI-Master update everywhere! • Any two transacIons on different servers can write to the same tuple. • Conflicts will be detected and dealt with. – First commiker wins rule. 12 M
M M M M UPDATE t1 SET a=4 WHERE a=2 UPDATE t1 SET a=3 WHERE a=1
13.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MulI-Master update everywhere! • Any two transacIons on different servers can write to the same tuple. • Conflicts will be detected and dealt with. – First commiker wins rule. 13 M
M M M M UPDATE t1 SET a=4 WHERE a=2 UPDATE t1 SET a=3 WHERE a=1 OK OK
14.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MulI-Master update everywhere! • Any two transacIons on different servers can write to the same tuple. • Conflicts will be detected and dealt with. – First commiker wins rule. 14 M
M M M M UPDATE t1 SET a=2 WHERE a=1 UPDATE t1 SET a=3 WHERE a=1
15.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MulI-Master update everywhere! • Any two transacIons on different servers can write to the same tuple. • Conflicts will be detected and dealt with. – First commiker wins rule. 15 M
M M M M UPDATE t1 SET a=2 WHERE a=1 UPDATE t1 SET a=3 WHERE a=1 OK
16.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Group ReplicaIon 2 2.1 2.2 MulK-Master AutomaKc distributed server recovery
17.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | AutomaKc distributed server recovery! • Server that joins the group will automaIcally synchronize with the others. 17 M M
M M M N I want to play with you
18.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | AutomaKc distributed server recovery! • Server that joins the group will automaIcally synchronize with the others. 18 M M
M M M N ONLINE RECOVERING
19.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | AutomaKc distributed server recovery! • Server that joins the group will automaIcally synchronize with the others. 19 M M
M M M N ONLINE
20.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | AutomaKc distributed server recovery! • If a server leaves the group, the others will automaIcally be informed. 20 M M
M M M M My machine needs maintenance or a system crash happens Each membership configuraKon is idenKfied by a logical Kmestamp, i.e., view_id view_id: 4
21.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | AutomaKc distributed server recovery! • If a server leaves the group, the others will automaIcally be informed. 21 M M
M M M view_id: 5
22.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | AutomaKc distributed server recovery! • Server that (re)joins the group will automaIcally synchronize with the others. 22 M M
M M M M RECOVERING -> ONLINE view_id: 6
23.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Group ReplicaIon 2 2.1 2.2 2.3 MulK-Master AutomaKc distributed server recovery MySQL/InnoDB look & feel
24.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL/InnoDB look & feel! • Load the plugin and start replicaIng. • Monitor group replicaIon stats though Performance Schema tables. 24 mysql>
SET GLOBAL group_replication_group_name= "9eb07c6d-5e24-11e5-854b-34028662c0cd"; mysql> START GROUP_REPLICATION; mysql> SELECT * FROM performance_schema.replication_group_membersG *************************** 1. row *************************** CHANNEL_NAME: group_replication_applier MEMBER_ID: 597dbb72-3e2c-11e4-9d9d-ecf4bb227f3b MEMBER_HOST: nightfury MEMBER_PORT: 13000 MEMBER_STATE: ONLINE *************************** 2. row *************************** ...
25.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL/InnoDB look & feel! • Load the plugin and start replicaIng. • Monitor group replicaIon stats though Performance Schema tables. 25 mysql>
SELECT * FROM performance_schema.replication_group_member_statsG *************************** 1. row *************************** CHANNEL_NAME: group_replication_applier VIEW_ID: 1428497631:3 MEMBER_ID: e38fdea8-dded-11e4-b211-e8b1fc3848de COUNT_TRANSACTIONS_IN_QUEUE: 0 COUNT_TRANSACTIONS_CHECKED: 12 COUNT_CONFLICTS_DETECTED: 5 COUNT_TRANSACTIONS_VALIDATING: 6 TRANSACTIONS_COMMITTED_ALL_MEMBERS: 8a84f397-aaa4-18df-89ab-c70aa9823561:1-7 LAST_CONFLICT_FREE_TRANSACTION: 8a84f397-aaa4-18df-89ab-c70aa9823561:7
26.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL/InnoDB look & feel! • Load the plugin and start replicaIng. • Monitor group replicaIon stats though Performance Schema tables. 26 mysql>
SELECT * FROM performance_schema.replication_connection_statusG *************************** 1. row *************************** CHANNEL_NAME: group_replication_applier GROUP_NAME: 8a94f357-aab4-11df-86ab-c80aa9429563 SOURCE_UUID: 8a94f357-aab4-11df-86ab-c80aa9429563 THREAD_ID: NULL SERVICE_STATE: ON ...
27.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Group ReplicaIon 2 2.1 2.2 2.3 2.4 MulK-Master AutomaKc distributed server recovery MySQL/InnoDB look & feel Full GTID support
28.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Full GTID support! • All group members share the same UUID, the group name. 28 M M
M M M INSERT y; Will have GTID: group_name:2 INSERT x; Will have GTID: group_name:1
29.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Full GTID support! • Users can specify the idenIfier for the transacIon. 29 M M
M M M INSERT y; Will have GTID: group_name:1 SET GTID_NEXT= “UUID:50” INSERT x;
30.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Full GTID support! • You can even replicate from a outside server to a group, global idenIfiers will be preserved. 30 M M
M M M Conflicts will be detected!
31.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Group ReplicaIon 2 2.1 2.2 2.3 2.4 2.5 MulK-Master AutomaKc distributed server recovery MySQL/InnoDB look & feel Auto-increment configuraKon/handling Full GTID support
32.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | New distributed agreement and communicaKon engine MySQL Group ReplicaIon 2 2.1 2.2 2.3 2.4 2.5 2.6 MulK-Master AutomaKc distributed server recovery MySQL/InnoDB look & feel Auto-increment configuraKon/handling Full GTID support
33.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | New Distributed Agreement and CommunicaIons Engine • MulIple OS support. – Linux, but also Windows, OSX, Solaris, FreeBSD… • No third-party souware required. •
No network mulIcast support required. – MySQL Group ReplicaIon can now operate on cloud based installaIons on which mulIcast is disallowed. • No message size limit. • No separate process. – MySQL Group ReplicaIon is now self-contained on the same souware stack. 33
34.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Requirements New distributed agreement and communicaKon engine Auto-increment configuraKon/handling Full GTID support MySQL/InnoDB look & feel LimitaKons MySQL Group ReplicaIon 2 2.3 2.4 2.5 2.6 2.7 2.8
35.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Requirements (by design) • Support for InnoDB only. • Primary key is required on every table. •
Requires global transacIon idenIfiers turned on. • OpImisIc execuIon: transacIons may abort on COMMIT due to conflicts with concurrent transacIons on other members. 35
36.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Requirements New distributed agreement and communicaKon engine Auto-increment configuraKon/handling Full GTID support MySQL/InnoDB look & feel LimitaKons MySQL Group ReplicaIon 2 2.3 2.4 2.5 2.6 2.7 2.8
37.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | LimitaIons • Concurrent schema changes are not supported. 37
38.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Architecture IntroducKon 3 3.1
39.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Group ReplicaIon is • Built on top of proven technology! – Shares much of MySQL ReplicaIon infrastructure – thence does not feel alien! – MulI-Master approach to replicaIon. • Built on reusable components! – Layered implementaIon approach. – Interface driven development. – Decoupled from the server core. – The plugin registers as listener to server events. – Reuses the capture procedure from regular replicaIon. – Provides further decoupling from the communicaIon infrasctructure. 39
40.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | The Complete Stack Major Building Blocks Architecture IntroducKon 3 3.1 3.2 3.3
41.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | The Complete Stack 41 API ReplicaKon Plugin API MySQL Server Performance Schema Tables: Monitoring MySQL APIs: Lifecycle / Capture / Applier InnoDB ReplicaKon Protocol Group Com. API XCom Network Plugin Capture Applier Conflicts Handler Group Comm. System (Corosync) Group Com. Engine Group Com. Binding Recovery
42.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Use cases Use cases 4 4.1
43.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Use Cases • ElasKc ReplicaKon – Environments that require a very fluid replicaIon infrastructure, where the number of servers has to grow or shrink dynamically and with as likle pain as possible. • Highly Available Shards – Sharding is a popular approach to achieve write scale-out. Users can use MySQL Group ReplicaIon to implement highly available shards. Each shard can map into a ReplicaIon Group. •
AlternaKve to Master-Slave replicaKon – It may be that a single master server makes it a single point of contenIon. WriIng to an enIre group may prove more scalable under certain circumstances. 43
44.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Use cases Use cases 4 4.1 4.2 Big Picture
45.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Dependable and Scalable MySQL Setups M App M M Orchestrate & Manage M App M
M Simple Shard Mapping, State and Extra metadata. Control, Coordinate, Provision ... Monitoring (MEM) MySQL Router Group ReplicaIon – Shard 1 Group ReplicaIon – Shard N C, PHP, Perl, ... 45 MySQL Router
46.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Conclusion 5
47.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Summary • Cloud Friendly – Great techonology for deployments where elasIcity is a requirement, such as cloud based infrastructures. • Integrated – With server core through a well defined API. – With GTIDs, row based replicaIon, performance schema tables. •
Autonomic and OperaKons Friendly – It is self-healing: no admin overhead for handling server fail-overs. – Provides fault-tolerance, enables mulI-master update everywhere and a dependable MySQL service. 47
48.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Where to go from here? • Packages – hkp://labs.mysql.com • Blogs from the Engineers (news, technical informaIon, and much more) – hkp://mysqlhighavailability.com 48
Download now