SlideShare a Scribd company logo
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL 8 : InnoDB Cluster
Madhusudhan G Joshi
Abhilash Samal
MySQL Engineering Group, India
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
1
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
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 © 2016, Oracle and/or its affiliates. All rights reserved. |Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
3
Program Agenda
What is InnoDB Cluster ??
InnoDB Cluster Overview
Components ?
Setup and get going
QA
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 4
MySQL 8.0: InnoDB Cluster
Vision: “A single product with high availability and scaling features together ; providing an integrated end-
to-end solution that is easy to use.”
• Well integrated, native, full stack High Availability (HA) solution for MySQL
• Provides the mechanism to replicate data within InnoDB cluster, with built-in failover
• Provide AdminAPI’s to configure, deploy, administer InnoDB Cluster
• Ability to interact seamlessly using Connectors for many different languages and end user applications
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: InnoDB Cluster Overview
• MySQL 8.0.11+ Servers with Group
Replication, to provide the data replication
mechanism within InnoDB cluster, ensuring
fault tolerance, automated failover, and
elasticity.
• MySQL Shell 8.0.11+, the unified interface
for MySQL developers and DBAs to create
and manage InnoDB Cluster using the built-
in AdminAPI.
MySQL Router 8.0.11+, to provide
transparent routing between the client
(application) requests and the InnoDB
cluster server instances.
Client Application
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
• Provides distributed State Machine Replication
– strong coordination between servers
• Group can operate in multiple modes
– Single-Primary or Multiple-Primary
• Powered with Group Communication System (GCS) Protocol
– Failure detection mechanism
• Built-in group membership service
– Servers can leave and join the group
and the view is updated automatically
6
MySQL 8.0: Group Replication
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
• Lightweight middleware
– Provide transparent routing between application and Server
• Building block for HA Solutions
– Simplifies application development by intelligently routing
connections to MySQL servers
7
MySQL 8.0: Router
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
• Provides an interactive code exécution mode
– Provide transparent routing between application and Server
• Processes code in multiple languages
– JavaScript, Python and SQL
• APIs in JavaScript and Python to interact with MySQL
– XDevAPI supporting relational and document data
– AdminAPI to configure,deploy and administer InnoDB Cluster
8
MySQL 8.0: Shell
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 9
Get started in minutes
Setup and Get going….
• Start Server instance
• Add instance to cluster
• Create/Initiate Cluster
• Bootstrap router
• Test Fault Tolerance
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Deploy Instances
• Start MySQL Shell
– binmysqlsh
• Deploy Server Instances
– dba.deploySandboxInstance(….)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Deploy Instances
• Start MySQL Shell
– binmysqlsh
• Deploy Server Instances
– dba.deploySandboxInstance(….)
1310 1311 1312
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 12
Create Cluster
• Start MySQL Shell
• Deploy Server Instances
• Create/Initiate Cluster
– dba.createCluster(….)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL8Launch
13
Create Cluster
• Start MySQL Shell
• Deploy Server Instances
• Create/Initiate Cluster
– dba.createCluster(….)
1310 1311 1312
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL8Launch
14
Is Cluster setup …???
• Start MySQL Shell
• Deploy Server Instances
• Create/Initiate Cluster
• Check Cluster Status
– <cluster_object>.status(….)
1310 1311 1312
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 15
Add more Instances …
• Start MySQL Shell
• Deploy Server Instances
• Create/Initiate Cluster
• Add more instances
– <cluster_object>.addInstance(….)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL8Launch
16
Add more Instances …
• Start MySQL Shell
• Deploy Server Instances
• Create/Initiate Cluster
• Add more instances
– <cluster_object>.addInstance(….)
1310 1311 1312
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL8Launch
17
How’s Cluster now ???
• Start MySQL Shell
• Deploy Server Instances
• Create/Initiate Cluster
• Add more Instances
• Check Cluster Status
– <cluster_object>.status(….)
1310 1311 1312
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 18
Help ….
• Run help on MySQL Shell
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 19
Help ….
• Run help on MySQL Shell
• Has more help for shell global objects
– dba.help();
– mysqlx.help();
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
* MySQL8Launch
20
MySQL Router
• Start MySQL Shell
• Deploy Server Instances
• Create/Initiate Cluster
• Add more Instances
• Check Cluster Status
• BootStrap and start MySQL Router
– bin/mysqlrouter --bootstrap ….
1310
InnoDB Cluster *
1311 1312
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
* MySQL8Launch
21
MySQL Router
• Start MySQL Shell
• Deploy Server Instances
• Create/Initiate Cluster
• Add more Instances
• Check Cluster Status
• BootStrap and start MySQL Router
– bin/mysqlrouter --bootstrap ….
1310
InnoDB Cluster *
1311 1312
MySQL8Router
NOTICE the R/W and R/O ports above
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
What’s achieved ??
• Used MySQL Shell
• Setup MySQL InnoDB Cluster
• Bootstrapped MySQL Router
Router is set and HA is in place….
22
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 23
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 24
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 25
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 26
How’s Cluster now ???
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 27
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
What’s achieved ??
• Used MySQL Shell
• Setup MySQL InnoDB Cluster
• Bootstrapped MySQL Router
• Application Fail Over and HA Tested
28
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Another easier way ….
29
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 30
Q & A
Ad

More Related Content

What's hot (20)

What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017
Ivan Ma
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
Olivier DASINI
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB Clusters
Matt Lord
 
InnoDb Vs NDB Cluster
InnoDb Vs NDB ClusterInnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
Mark Swarbrick
 
MySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationMySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group Replication
Frederic Descamps
 
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
Olivier DASINI
 
replic8 - Replication in MySQL 8
replic8 - Replication in MySQL 8replic8 - Replication in MySQL 8
replic8 - Replication in MySQL 8
Sven Sandberg
 
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
Ivan Ma
 
MySQL Day Paris 2016 - State Of The Dolphin
MySQL Day Paris 2016 - State Of The DolphinMySQL Day Paris 2016 - State Of The Dolphin
MySQL Day Paris 2016 - State Of The Dolphin
Olivier DASINI
 
Simple Way for MySQL to NoSQL
Simple Way for MySQL to NoSQLSimple Way for MySQL to NoSQL
Simple Way for MySQL to NoSQL
Okcan Yasin Saygılı
 
MySQL @ the University Of Nottingham
MySQL @ the University Of NottinghamMySQL @ the University Of Nottingham
MySQL @ the University Of Nottingham
Mark Swarbrick
 
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisMySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
Olivier DASINI
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
Matt Lord
 
MySQL Security & GDPR
MySQL Security & GDPRMySQL Security & GDPR
MySQL Security & GDPR
Mark Swarbrick
 
MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8
Mark Swarbrick
 
High Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB ClusterHigh Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB Cluster
Sven Sandberg
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
Olivier DASINI
 
MySQL NoSQL Document Store
MySQL NoSQL Document StoreMySQL NoSQL Document Store
MySQL NoSQL Document Store
Mark Swarbrick
 
MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...
Olivier DASINI
 
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
Olivier DASINI
 
What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017
Ivan Ma
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
Olivier DASINI
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB Clusters
Matt Lord
 
MySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationMySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group Replication
Frederic Descamps
 
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
Olivier DASINI
 
replic8 - Replication in MySQL 8
replic8 - Replication in MySQL 8replic8 - Replication in MySQL 8
replic8 - Replication in MySQL 8
Sven Sandberg
 
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
Ivan Ma
 
MySQL Day Paris 2016 - State Of The Dolphin
MySQL Day Paris 2016 - State Of The DolphinMySQL Day Paris 2016 - State Of The Dolphin
MySQL Day Paris 2016 - State Of The Dolphin
Olivier DASINI
 
MySQL @ the University Of Nottingham
MySQL @ the University Of NottinghamMySQL @ the University Of Nottingham
MySQL @ the University Of Nottingham
Mark Swarbrick
 
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisMySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
Olivier DASINI
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
Matt Lord
 
MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8
Mark Swarbrick
 
High Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB ClusterHigh Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB Cluster
Sven Sandberg
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
Olivier DASINI
 
MySQL NoSQL Document Store
MySQL NoSQL Document StoreMySQL NoSQL Document Store
MySQL NoSQL Document Store
Mark Swarbrick
 
MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...
Olivier DASINI
 
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
Olivier DASINI
 

Similar to My sql8 innodb_cluster (20)

20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
Ivan Ma
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster
Mario Beck
 
MySQL HA
MySQL HAMySQL HA
MySQL HA
Ted Wennmark
 
MySQL Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
Keith Hollman
 
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
Cloud Native Day Tel Aviv
 
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1
Ivan Ma
 
MySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQLMySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQL
Miguel Araújo
 
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdfDeep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Miguel Araújo
 
MySQL 8.0 - What's New ?
MySQL 8.0 - What's New ?MySQL 8.0 - What's New ?
MySQL 8.0 - What's New ?
Olivier DASINI
 
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Geir Høydalsvik
 
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
 
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
Olivier DASINI
 
MySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por OracleMySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por Oracle
LibreCon
 
Marcin Szałowicz - MySQL Workbench
Marcin Szałowicz - MySQL WorkbenchMarcin Szałowicz - MySQL Workbench
Marcin Szałowicz - MySQL Workbench
Women in Technology Poland
 
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 Brasil
 
My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015
Sanjay Manwani
 
Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2
Kathy Forte (Hassard)
 
Docker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterDocker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB Cluster
Balasubramanian Kandasamy
 
20190817 coscup-oracle my sql innodb cluster sharing
20190817 coscup-oracle my sql innodb cluster sharing20190817 coscup-oracle my sql innodb cluster sharing
20190817 coscup-oracle my sql innodb cluster sharing
Ivan Ma
 
The State of the Dolphin, MySQL Keynote at Percona Live Europe 2019, Amsterda...
The State of the Dolphin, MySQL Keynote at Percona Live Europe 2019, Amsterda...The State of the Dolphin, MySQL Keynote at Percona Live Europe 2019, Amsterda...
The State of the Dolphin, MySQL Keynote at Percona Live Europe 2019, Amsterda...
Geir Høydalsvik
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
Ivan Ma
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster
Mario Beck
 
MySQL Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
Keith Hollman
 
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
Cloud Native Day Tel Aviv
 
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1
Ivan Ma
 
MySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQLMySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQL
Miguel Araújo
 
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdfDeep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Miguel Araújo
 
MySQL 8.0 - What's New ?
MySQL 8.0 - What's New ?MySQL 8.0 - What's New ?
MySQL 8.0 - What's New ?
Olivier DASINI
 
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Geir Høydalsvik
 
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
 
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
Olivier DASINI
 
MySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por OracleMySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por Oracle
LibreCon
 
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 Brasil
 
My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015
Sanjay Manwani
 
Docker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterDocker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB Cluster
Balasubramanian Kandasamy
 
20190817 coscup-oracle my sql innodb cluster sharing
20190817 coscup-oracle my sql innodb cluster sharing20190817 coscup-oracle my sql innodb cluster sharing
20190817 coscup-oracle my sql innodb cluster sharing
Ivan Ma
 
The State of the Dolphin, MySQL Keynote at Percona Live Europe 2019, Amsterda...
The State of the Dolphin, MySQL Keynote at Percona Live Europe 2019, Amsterda...The State of the Dolphin, MySQL Keynote at Percona Live Europe 2019, Amsterda...
The State of the Dolphin, MySQL Keynote at Percona Live Europe 2019, Amsterda...
Geir Høydalsvik
 
Ad

More from Mysql User Camp (10)

Json improvements in my sql 8.0
Json improvements in my sql 8.0  Json improvements in my sql 8.0
Json improvements in my sql 8.0
Mysql User Camp
 
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATIONEXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
Mysql User Camp
 
Doc store
Doc storeDoc store
Doc store
Mysql User Camp
 
Mysql8for blr usercamp
Mysql8for blr usercampMysql8for blr usercamp
Mysql8for blr usercamp
Mysql User Camp
 
MySQL docker with demo by Ramana Yeruva
MySQL docker with demo by Ramana YeruvaMySQL docker with demo by Ramana Yeruva
MySQL docker with demo by Ramana Yeruva
Mysql User Camp
 
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikCustomer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Mysql User Camp
 
Optimizer overviewoow2014
Optimizer overviewoow2014Optimizer overviewoow2014
Optimizer overviewoow2014
Mysql User Camp
 
Multi source replication pdf
Multi source replication pdfMulti source replication pdf
Multi source replication pdf
Mysql User Camp
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp
 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
 
Json improvements in my sql 8.0
Json improvements in my sql 8.0  Json improvements in my sql 8.0
Json improvements in my sql 8.0
Mysql User Camp
 
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATIONEXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
Mysql User Camp
 
MySQL docker with demo by Ramana Yeruva
MySQL docker with demo by Ramana YeruvaMySQL docker with demo by Ramana Yeruva
MySQL docker with demo by Ramana Yeruva
Mysql User Camp
 
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikCustomer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Mysql User Camp
 
Optimizer overviewoow2014
Optimizer overviewoow2014Optimizer overviewoow2014
Optimizer overviewoow2014
Mysql User Camp
 
Multi source replication pdf
Multi source replication pdfMulti source replication pdf
Multi source replication pdf
Mysql User Camp
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp
 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
 
Ad

Recently uploaded (20)

Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Journal of Soft Computing in Civil Engineering
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 

My sql8 innodb_cluster

  • 1. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL 8 : InnoDB Cluster Madhusudhan G Joshi Abhilash Samal MySQL Engineering Group, India Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 1
  • 2. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 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.
  • 3. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 3 Program Agenda What is InnoDB Cluster ?? InnoDB Cluster Overview Components ? Setup and get going QA
  • 4. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 4 MySQL 8.0: InnoDB Cluster Vision: “A single product with high availability and scaling features together ; providing an integrated end- to-end solution that is easy to use.” • Well integrated, native, full stack High Availability (HA) solution for MySQL • Provides the mechanism to replicate data within InnoDB cluster, with built-in failover • Provide AdminAPI’s to configure, deploy, administer InnoDB Cluster • Ability to interact seamlessly using Connectors for many different languages and end user applications
  • 5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: InnoDB Cluster Overview • MySQL 8.0.11+ Servers with Group Replication, to provide the data replication mechanism within InnoDB cluster, ensuring fault tolerance, automated failover, and elasticity. • MySQL Shell 8.0.11+, the unified interface for MySQL developers and DBAs to create and manage InnoDB Cluster using the built- in AdminAPI. MySQL Router 8.0.11+, to provide transparent routing between the client (application) requests and the InnoDB cluster server instances. Client Application
  • 6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. • Provides distributed State Machine Replication – strong coordination between servers • Group can operate in multiple modes – Single-Primary or Multiple-Primary • Powered with Group Communication System (GCS) Protocol – Failure detection mechanism • Built-in group membership service – Servers can leave and join the group and the view is updated automatically 6 MySQL 8.0: Group Replication
  • 7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. • Lightweight middleware – Provide transparent routing between application and Server • Building block for HA Solutions – Simplifies application development by intelligently routing connections to MySQL servers 7 MySQL 8.0: Router
  • 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. • Provides an interactive code exécution mode – Provide transparent routing between application and Server • Processes code in multiple languages – JavaScript, Python and SQL • APIs in JavaScript and Python to interact with MySQL – XDevAPI supporting relational and document data – AdminAPI to configure,deploy and administer InnoDB Cluster 8 MySQL 8.0: Shell
  • 9. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 9 Get started in minutes Setup and Get going…. • Start Server instance • Add instance to cluster • Create/Initiate Cluster • Bootstrap router • Test Fault Tolerance
  • 10. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Deploy Instances • Start MySQL Shell – binmysqlsh • Deploy Server Instances – dba.deploySandboxInstance(….)
  • 11. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Deploy Instances • Start MySQL Shell – binmysqlsh • Deploy Server Instances – dba.deploySandboxInstance(….) 1310 1311 1312
  • 12. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 12 Create Cluster • Start MySQL Shell • Deploy Server Instances • Create/Initiate Cluster – dba.createCluster(….)
  • 13. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL8Launch 13 Create Cluster • Start MySQL Shell • Deploy Server Instances • Create/Initiate Cluster – dba.createCluster(….) 1310 1311 1312
  • 14. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL8Launch 14 Is Cluster setup …??? • Start MySQL Shell • Deploy Server Instances • Create/Initiate Cluster • Check Cluster Status – <cluster_object>.status(….) 1310 1311 1312
  • 15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 15 Add more Instances … • Start MySQL Shell • Deploy Server Instances • Create/Initiate Cluster • Add more instances – <cluster_object>.addInstance(….)
  • 16. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL8Launch 16 Add more Instances … • Start MySQL Shell • Deploy Server Instances • Create/Initiate Cluster • Add more instances – <cluster_object>.addInstance(….) 1310 1311 1312
  • 17. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL8Launch 17 How’s Cluster now ??? • Start MySQL Shell • Deploy Server Instances • Create/Initiate Cluster • Add more Instances • Check Cluster Status – <cluster_object>.status(….) 1310 1311 1312
  • 18. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 18 Help …. • Run help on MySQL Shell
  • 19. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 19 Help …. • Run help on MySQL Shell • Has more help for shell global objects – dba.help(); – mysqlx.help();
  • 20. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. * MySQL8Launch 20 MySQL Router • Start MySQL Shell • Deploy Server Instances • Create/Initiate Cluster • Add more Instances • Check Cluster Status • BootStrap and start MySQL Router – bin/mysqlrouter --bootstrap …. 1310 InnoDB Cluster * 1311 1312
  • 21. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. * MySQL8Launch 21 MySQL Router • Start MySQL Shell • Deploy Server Instances • Create/Initiate Cluster • Add more Instances • Check Cluster Status • BootStrap and start MySQL Router – bin/mysqlrouter --bootstrap …. 1310 InnoDB Cluster * 1311 1312 MySQL8Router NOTICE the R/W and R/O ports above
  • 22. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. What’s achieved ?? • Used MySQL Shell • Setup MySQL InnoDB Cluster • Bootstrapped MySQL Router Router is set and HA is in place…. 22
  • 23. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 23
  • 24. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 24
  • 25. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 25
  • 26. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 26 How’s Cluster now ???
  • 27. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 27
  • 28. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. What’s achieved ?? • Used MySQL Shell • Setup MySQL InnoDB Cluster • Bootstrapped MySQL Router • Application Fail Over and HA Tested 28
  • 29. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Another easier way …. 29
  • 30. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 30 Q & A

Editor's Notes

  • #11: This was one of our more popular features announced earlier in 8.0.0. As part of our efforts to make sure that MySQL can operate and be reconfigured online, we are also considering the effect of common operations such as index changes. The feedback we have received from the field is that any change has the ability to cause a regression, so having the right mechanisms in place to make corrections fast is important.
  • #12: This was one of our more popular features announced earlier in 8.0.0. As part of our efforts to make sure that MySQL can operate and be reconfigured online, we are also considering the effect of common operations such as index changes. The feedback we have received from the field is that any change has the ability to cause a regression, so having the right mechanisms in place to make corrections fast is important.