Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The Secret of
MySQL InnoDB Cluster
Deployment
Ivan Ma
ivan-cs.ma@oracle.com
2019-10-01
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Copyright © 2017, 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.
2
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Overview for Oracle DBAs [ Day 1 : 14:00 – 14:45 ]
MySQL is the most popular open source database used and trusted by millions of users for cloud, internet
and mobile applications. More and more enterprises are evaluating open source database technology as
alternatives to their existing Oracle database. In this session, we will help existing Oracle DBAs to
understand MySQL better as a viable database platform to complement existing Oracle database
By Ryan Kuan [Oracle MySQL / Malaysia ]
MySQL Track - Sessions
The Secret of MySQL InnoDB Cluster Deployment [ Day 1 : 14:45 – 15:30 ]
Deploying MySQL as Open Source Database with the #1 High Availability focus is critical to many
applications today. The session is to go after the latest MySQL InnoDB Cluster solution - To automate the
Provision in Cloning; To automate the Failover using MySQL Router; To automate the Data Recovery; To
simply the "Cluster" creation using MySQL Shell; Come and Join us the session to explore the details with
MySQL InnoDB Cluster
By Ivan Ma [Oracle MySQL / Hong Kong]
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Unleasing the power of NoSQL using MySQL 8.0 [ Day 1 : 16:00 – 16:45 ]
JavaScript Object Notation (JSON) is fast becoming the de-facto data exchange format for both modern
web and mobile application development framework. Developers love the flexibility of JSON to allow them
to modify data structure anyway they want without bothering their DBA. In this session, come discover the
latest NoSQL capabilities in MySQL to store and manage JSON data seamlessly in MySQL as well as to
integrate with existing structured data in MySQL.
By Ryan Kuan [Oracle MySQL / Malaysia ]
MySQL Track - Sessions
MySQL Troubleshooting and Performance Analysis [ Day 1 : 16:45 – 17:15 ]
MySQL powers many of the world’s largest and fastest-growing organizations. In this session, you will get
more practical, safe and efficient ways to know in-and-out of the MySQL database performance; gain tips
and tricks. Some OPEN SOURCE tools such as http://dimitrik.free.fr/ and Performance Schema will be
explored during the session. Join us to find MySQL bottlenecks and learn how to properly configure the
database appropriately for your efficient MySQL database.
By Ivan Ma [Oracle MySQL / Hong Kong]

Recommended for you

Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...

This document provides an overview of MySQL high availability and replication solutions. It discusses InnoDB Cluster, which allows MySQL to provide high availability and scaling features through MySQL Group Replication, MySQL Shell, and MySQL Router. It also covers MySQL InnoDB ReplicaSet, which provides an easy way to set up MySQL replication with MySQL Router. Additionally, it provides background information on MySQL replication, how it works, and its key components.

moodlemoodlemootmoodlemootspain
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...

Zastanawiasz się w jaki sposób możesz programować urządzenia sieciowe Cisco? Jesteś inżynierem i nie wiesz od czego zacząć? Czytaleś o RestConf i modelach Yang ale nie wiesz co dalej z tym zrobić? Nie powiem ci do czego możesz tą wiedzę wykorzystać ale w trakcie tej sesji pokażę ci w jaki sposób możemy łatwo programować urządzenia sieciowe dzięki ułatwieniom jakie oferuje Yang Development Kit. Już ponad rok temu powstała pierwsza oficjalna wersja YDK. Jak działa YDK? YDK generuje API w róznych językach programowania (np. Python lub C++) korzystając z modeli Yang. Dzieki temu możemy znacznie łatwiej komunikować się z urządzeniami sieciowymi nie martwiąc się wieloma szczegółami związanymi z protokołem Netconf/Restconf, formatem danych (XML/JSON) oraz szybciej eliminować błędy (błędny typ, wartość, rodzaj operacji itd.) dzięki lokalnemu sprawdzeniu poprawności składni. W trakcie sesji pokażę jak szybko możesz zbudować swoje środowisko programistyczne oraz parę przykładów dzieki którym zobaczysz, że jest to naprawdę proste.

yang development kitciscoios xr/xe
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning

This presentation goes through performance tuning basics in MySQL Cluster. It also covers the new parameters and status variables of MySQL Cluster 7.2 to determine issues with e.g disk data performance and query (join) performance.

performance tuningmysql clustermysql
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
5
MySQL InnoDB Cluster Basics
Deployment Example
DC1 and DC2 – MySQL InnoDB Cluster Replication
DeepDive - InnoDB Cluster Configuration
MySQL Router Configuration
MySQL Shell : AdminAPI
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL InnoDB Cluster
6
Vision
A single product – MySQL – with high
availability and scaling features baked
in providing an integrated end-to-end
solution that is easy to use. Enter
MySQL InnoDB Cluster
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL InnoDB Cluster Basics
7
https://dev.mysql.com/doc/refman/8.0/en/mysql-innodb-cluster-production-deployment.html
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL
Master /
Slave
Replication
OS or VM
vendor
active/passive
shared disk
solutions
MySQL
InnoDB
Cluster
MySQL
NDB Cluster
High Availability: MySQL Solutions
9 9 . 9 9 9 %
8
Continuous
Availability

Recommended for you

Red hatpartner2013edb futureofdatabase
Red hatpartner2013edb futureofdatabaseRed hatpartner2013edb futureofdatabase
Red hatpartner2013edb futureofdatabase

Our own Sean Doherty was in Madrid this week, presenting at the Red Hat Partner summit on the rise of big data and what it means for the future of the RDBMS in the enterprise. Check out his presentation!

 
by EDB
rdbmssean dohertyenterprise
Doing More With Less: The Economics of Open Source Database Adoption
Doing More With Less: The Economics of Open Source Database AdoptionDoing More With Less: The Economics of Open Source Database Adoption
Doing More With Less: The Economics of Open Source Database Adoption

President and Chief Executive Officer Ed Boyajian delivered this presentation, which focuses on open source database adoption in the enterprise, at Red Hat Summit 2009. The presentation touches on economic issues as part of an overall discussion on both how and why an increasing number of enterprises are choosing open source database solutions.

 
by EDB
open source databaseoracle migrationenterprisedb
The Value of NetApp with VMware
The Value of NetApp with VMwareThe Value of NetApp with VMware
The Value of NetApp with VMware

The document discusses the value of using NetApp storage solutions for virtualized environments running VMware. It addresses challenges customers often face around backup, disaster recovery, storage efficiency, and data management tasks. It then summarizes how NetApp products like Snapshot copies, SnapMirror, and deduplication can help solve these issues by reducing storage needs by up to 50%, improving backup and restore times, enabling cost-effective disaster recovery, and automating data management tasks. The document promotes a 50% storage savings guarantee when using NetApp solutions for virtualization.

netappvmwarevirulatisation
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Slave Server
• Session thread updates requests to Storage
Engine from application, and changes are
written to binlog before apply to storage engine
• Dump thread reads event from binlog and
propagate them to slave server
• I/O thread read replication events, stores them
to relay log
• SQL thread: reads relay log and applies them to
storage engines
MySQL Replication – Asynchronized Replication
Session
Binary
Log
Master Server
Dump I/O
Relay
Log
SQL
9
Transaction Commit
Ack
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Slave Server
• Session thread updates requests to SE from application, and
changes are written to binlog before apply to storage engine
• Dump thread reads event from binlog and propagate them to
slave server
• I/O thread read replication events, stores them to relay log
• SQL thread: reads relay log and applies them to
storage engines
MySQL Replication – SEMI-Synchronized Replication
Session
Binary
Log
Master Server
Dump I/O
Relay
Log
SQL
10
Transaction Commit
Ack
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL InnoDB Cluster: Architecture
M
M M
MySQL Connector
Application
MySQL Router
MySQL Connector
Application
MySQL Router
MySQL Shell
HA
Group Replication
11
MySQL Enterprise Monitor
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Monitor
• Native holistic support for Group Replication / InnoDB clusters Topology
views
– Detailed metrics and graphs
– Best Practice advice
12

Recommended for you

【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]

※最新資料はこちら https://www.slideshare.net/oracle4engineer/oracle-cloud-infrastructure-20208 ------------------------------ https://blogs.oracle.com/oracle4engineer/column_cloud_oci Oracle Cloud Infrastructureは、オンプレミスからの大規模ワークロード移行に完全対応する次世代インフラ基盤です。高性能と高セキュリティを備えたインフラ基盤で、仮想マシン、ベアメタルマシン、オブジェクトストレージ、Database Cloud Service、Exadata Cloud Service等の各種サービスを提供します。

cloudocioracle
NoSQL and MySQL webinar - best of both worlds
NoSQL and MySQL webinar - best of both worldsNoSQL and MySQL webinar - best of both worlds
NoSQL and MySQL webinar - best of both worlds

The document discusses how MySQL Cluster delivers the best of both NoSQL and relational database worlds. It provides NoSQL attributes like scale-out, performance, ease-of-use and schema flexibility through APIs while also offering ACID transactions and SQL capabilities. MySQL Cluster achieves this by using a shared-nothing architecture with data distributed across commodity hardware and replicated for high availability, allowing it to scale horizontally.

mysqlnosqlmemcached
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)

1. Oracle Cloud Infrastructure is Oracle's suite of IaaS and PaaS services. 2. Three reasons Oracle Cloud Infrastructure is adopted are good services at reasonable prices, robust security, and optimal data utilization. 3. For contract systems, there are two options tailored to customer usage: pay as you go or monthly flex plans. Check pricing estimates online.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Deployment Examples
MySQL InnoDB Cluster
13
https://dev.mysql.com/doc/refman/8.0/en/mysql-innodb-cluster-production-deployment.html
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Single Data Center
14
Active Data Center
ClusterDC1
MySQL
Router
MySQL
Router
MySQL
Router
MySQL InnoDB Cluster
MySQL
Shell
MySQL
Enterprise
Monitor
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Scenario – Geo Locations
Asynch Replication across Datacenters
15
Async Replication
Active Data Center Backup Data Center
ClientsClusterDC1 ClusterDC2
MySQL
Router
MySQL
Router
MySQL
Router
MySQL
Router
MySQL
Router
MySQL
Router
MySQL
Router
MySQL
Enterprise
Monitor
MySQL
Shell
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Deep Dive into
MySQL InnoDB Cluster Configuration
16

Recommended for you

Liberate Your Files with a Private Cloud Storage Solution powered by Open Source
Liberate Your Files with a Private Cloud Storage Solution powered by Open SourceLiberate Your Files with a Private Cloud Storage Solution powered by Open Source
Liberate Your Files with a Private Cloud Storage Solution powered by Open Source

Many of today's enterprises are working under a false assumption that there is a trade-off between consumer-centric file sharing and corporate IT policy compliance. This is because most market-leading SaaS solutions for file sync and share are not designed around enterprise IT's needs. They represent growing risks with vendor lock-in, data security, compliance and data ownership. With a track record in delivering innovative Open Source solutions, Vizuri has an answer to help enterprises overcome these hurdles. By leveraging innovative Red Hat and ownCloud open source solutions, this solution help corporate IT provide a simple to use file sync and share solution for employees. As a result, organizations are able to retain a greater control over valuable intellectual property.

platform as a servicedropboxenterprise storage
Conference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQLConference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQL

Slides from the 'MySQL Cluster as NoSQL' tutorial at Percona Live MySQL Conference 2012 in London. Tutorial covers: *MySQL Cluster administration * NoSQL options for MySQL Cluster and when to use what * Memcached (installation and configuration) * Cluster/J * NDBAPI * Benchmarking of different access methods on a live cluster

mysql cluster nosqlhighly available memcachedmemcached
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)

- Oracle Database 20c Preview introduces several new capabilities including native blockchain tables, automated machine learning (AutoML), a native JSON binary representation, support for persistent memory, and enhancements to in-memory capabilities. - A converged database allows for relational, JSON, XML, graph and spatial data to be stored and queried together using SQL and REST APIs. - Oracle Database 19c is the current long term support release with extended lifecycle support until 2027, while the 20c preview provides early access to new innovations.

oracledatabasecloud
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Tasks – MySQL InnoDB Cluster
MySQL Server – Persisted Variables
group_replication_consistency EVENTUAL BEFORE_ON_PRIMARY_FAILOVER
group_replication_ip_whitelist
group-replication-local-address
AUTOMATIC
EMPTY
set to be the subnet of the PRIVATE IP
group_replication_member_expel_timeout 0 [NETWORK RELIABILITY] set to the value of 30 (seconds)
group_replication_autorejoin_tries - [NETWORK RELIABILITY] set to 12 (5 mins interval for each retry)
group_replication_unreachable_majority_timeout 0 [NETWORK RELIABILITY] Please set a value - the timeout value that
the application will wait in the access
minority (when there is network partition
happening).
e.g. (for 2 minutes wait time  120)
group_replication_member_weight 50 (for all nodes) Configured for Node1,Node2,Node3 as 40,50,60
respectively
group-replication-exit-state-action ABORT_SERVER / READ_ONLY if 8.0.18 [OFFLINE_MODE]
17
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
InnoDB Cluster Network
• Internal / Private Network to exchange data
group_replication_ip_whitelist
group-replication-local-address
18
Database Network : 3306 (subnet : 192.168.10.0/24)
InnoDB Cluster Network Network : localAddress IP:13306 (subet : 192.168.20.0/24)
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Abort server when it drops out of the group
19
Leaves the group involuntarily
(failed to apply changes, network
partitioned, etc).
Shuts itself down, thus becoming
effectively unavailable for both
reads and writes.
Primary Secondary
SET GLOBAL group_replication_exit_state_action = ABORT_SERVER
dev.mysql.com/doc/refman/8.0/en/group-replication-options.html#sysvar_group_replication_exit_state_action
19
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Consistency on primary fail over
20
Primary Secondary
Secondaries have a backlog
of transactions to apply.
20

Recommended for you

Keynote: The Postgres Ecosystem
Keynote: The Postgres EcosystemKeynote: The Postgres Ecosystem
Keynote: The Postgres Ecosystem

The document discusses the PostgreSQL ecosystem, which includes not only PostgreSQL itself but also the community of developers and wider industry that has been built around PostgreSQL. It notes that PostgreSQL provides stability through its regular release cycle and maintenance as well as extensions that add functionality. It also acknowledges some challenges faced by PostgreSQL from competing open source and proprietary databases. Finally, it emphasizes that the success of PostgreSQL is due to the partnership between the volunteer community and larger companies that provide funding for development.

 
by EDB
postgrespostgresqlpostgres build
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...

This document provides an agenda and introduction for a presentation on disaster recovery using physical replication technology. The presentation will include an overview of Dbvisit Standby software, which enables disaster recovery for Oracle Standard Edition databases. It will also present a case study of how the New Zealand Stock Exchange uses Dbvisit Standby to ensure continuous availability of critical trading systems across two data centers.

dbts-tokyo-2015
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...

This document announces new Azure database services for MySQL and PostgreSQL. The services provide fully managed database instances with high availability, scalability, and compatibility with existing tools. The services are available in public preview across 11 Azure regions, with basic, standard, and premium performance tiers offering different levels of IOPS, memory, and storage capacity. Migration from on-premises databases to the new managed database services can be done using common tools like mysqldump and pg_dump.

dbts-oss-2017
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Consistency on primary fail over
21
Primary Secondary
Secondaries have a backlog
of transactions to apply.
Primary fails and group
elects new primary.
21
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Primary fails and group
elects new primary.
Consistency on primary fail over
22
Primary Secondary
Secondaries have a backlog
of transactions to apply.
New primary holds
incoming operation
until it catches up.
22
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Primary fails and group
elects new primary.
Consistency on primary fail over
23
Primary Secondary
Secondaries have a backlog
of transactions to apply.
New primary holds
incoming operation
until it catches up.
Executes transactions
held, and replies.
23
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Primary fails and group
elects new primary.
Consistency on primary fail over
24
Primary Secondary
Secondaries have a backlog
of transactions to apply.
New primary holds
incoming operation
until it catches up.
Executes the held
operation, and replies.
SET SESSION group_replication_consistency = BEFORE_ON_PRIMARY_FAILOVER
24

Recommended for you

What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6

This document discusses a presentation about new features in MySQL 5.6. The presentation provides an overview of new performance features, InnoDB features, replication features, and other enhancements in MySQL 5.6. It also discusses early access features for testing on labs.mysql.com. The goal is to help attendees understand how to leverage the new MySQL 5.6 features to build high-performance, scalable, and reliable web applications.

mysql 5.6mysql
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]

※最新資料はこちら https://www.slideshare.net/oracle4engineer/oracle-cloud-infrastructure-20208-238180441 ------------------------------ Oracle Cloud Infrastructureの料金体系(Universal Credit & BYOL to PaaS)のご紹介です。

cloudocioracle
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

The document provides an agenda for a presentation on MySQL InnoDB Cluster. It discusses MySQL replication components, demonstrating MySQL InnoDB Cluster, network stability, operations, backup and recovery, GTID consistency, replication between clusters, and troubleshooting. It also covers MySQL innovations from version 5.7 to 8.0 and options for configuring an InnoDB Cluster, including consistency settings and member weights.

mysql group replicationinnodb clusteruser experience
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Primary fails and group
elects new primary.
Consistency on primary fail over
25
Primary Secondary
Secondaries have a backlog
of transactions to apply.
New primary holds
incoming operation
until it catches up.
Executes the held
operation, and replies.
GLOBAL Configuration : group_replication_consistency = BEFORE_ON_PRIMARY_FAILOVER
MySQL Router can take it as effective session failover with consistency
25
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
“EVENTUAL”
Read Data from Secondary
Getting stale data
Consistency : for Read
26
Primary Secondary
Secondaries have a backlog
of transactions to apply.
“BEFORE”
Applied and Read
SET SESSION group_replication_consistency = BEFORE
26
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Network Reliability
• group_replication_member_expel_timeout
– default : 5 seconds if no response, the member is expelled!
– What if the network once a while with interruption or
– A large job running but MASTER promotion only happens if expel decision is made!
• group_replication_autorejoin_tries
– For the failed server (because of network issue as example) can rejoin the Group without manual
intervention
• group_replication_unreachable_majority_timeout
– If Primary is handling a transaction but network is failed – the node will hang FOREVER (default : 0)
– E.g. 120 seconds : Hold up for 2 minutes
27
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Adding Replicas to the Cluster
• The new clone plugin for MySQL is instrumental in this story.
Expanding the Cluster
28
mysql> CLONE INSTANCE FROM "user"@donor_host:9999 IDENTIFIED BY "password" …
Shipped with
MySQL 8.0.17
Adding Replicas to the Cluster
Primary SecondaryEmpty Instance
Add Replica
MySQL Shell > cluster.addInstance( …,
{recoveryMethod : “Clone”} )

Recommended for you

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

MySQL InnoDB Cluster provides a complete high availability solution for MySQL. It uses MySQL Group Replication, which allows for multiple read-write replicas of a database to exist with synchronous replication. MySQL InnoDB Cluster also includes MySQL Shell for setup, management and orchestration of the cluster, and MySQL Router for intelligent connection routing. It allows databases to scale out writes across replicas in a fault-tolerant and self-healing manner.

high availabilityinnodbrouter
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

MySQL InnoDB cluster is a collection of products that work together to provide a complete High Availability solution for MySQL. A group of MySQL servers can be configured to create a cluster using MySQL Shell.

databaseopen sourcemysql
MySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e Uber

This document discusses various ways that MySQL is used by major companies like PayPal, Tesla, and Uber. It provides the following summaries: 1. PayPal uses MySQL Cluster to power its globally distributed fraud detection system, achieving 99.999% availability and sub-second consistency across the world. 2. Tesla uses MySQL InnoDB Cluster in its critical vehicle manufacturing processes for its high availability and easy maintenance. 3. Uber uses MySQL as both a transactional and document database, storing trip data in a flexible, schemaless structure for growth and rapid development.

mysql clusterjsonmysql
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Adding Replicas to the
Cluster (Demo)
• Cluster with a single server (3310)
• Empty server (3320) is added.
• 3310 has purged its binlogs.
• 3320 will recover using clone, for
the initial snapshot, and then
binary logs.
• 3310 state is copied to 3320.
• 3320 restarts and joins the cluster.
29
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Tasks– MySQL replication related
MySQL Server – Persisted Variables
slave-parallel-type DATABASE LOGICAL_CLOCK
slave-parallel-workers not defined say 2 threads or more
slave_preserve_commit_order not defined ON
binlog-format ROW
binlog-checksum NONE
gtid-mode
enforce-gtid-consistency
log-slave-updates
Turn ON
master-info-repository
relay-log-info-repository
TABLE
transaction-write-set-extraction XXHASH64
30
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Router Configuration Examples
31
https://dev.mysql.com/doc/refman/8.0/en/mysql-innodb-cluster-production-deployment.html
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Tasks – MySQL Router
MySQL Router
max_connections
max_connect_errors
Defaults as
max_connections=512
max_connect_errors=100
Changed to Higher Value!!!
log Default setting is INFO Do you need initial setting of DEBUG for
checking and turn it INFO for normal operation
[logger]
sinks
Not specified sinks=filelog,eventlog
use_gr_notifications
(New in 8.0.17)
Default = 0 1 : Enable notification
group_replication/membership/quorum_loss,
group_replication/membership/view,
group_replication/status/role_change, and
group_replication/status/state_change.
32

Recommended for you

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

MySQL Group Replication in MySQL InnoDB Cluster presented during Hong Kong Open Source Conference 2017

mysqlmysql innodb clustermysql "group replication" replication
Robust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL DataRobust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL Data

Priscila Galvao, a MySQL Solutions Engineer, presented on disaster recovery options for MySQL data. The presentation discussed how backup is the first step but not sufficient on its own for protection against disasters. It introduced disaster recovery plans and options like cloud backup and disaster recovery to Oracle Cloud's MySQL service in active-standby or active-active configurations. Benefits highlighted included conserving resources, faster response times, flexibility, security, and support.

data receoverydisaster recoverymysql
MySQL Innovation from 5.7 to 8.0
MySQL Innovation from 5.7 to 8.0MySQL Innovation from 5.7 to 8.0
MySQL Innovation from 5.7 to 8.0

EMEA Oracle User Group Leaders Summit in Valencia 2017 Evolution is inevitable and this sllide deck illustrates how MySQL evolves with the requests of the customers and the Community. What are the problem they face and what are the solutions that we developed to help our user base.

mysqlevolutioncommunity
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Router
• The File System MUST not be FAT32/FAT/exFAT…
• MySQL Router will check for the privilege setting for key files which it must
NOT be owned by ‘everyone’
33
PS E:tempdatamyrouter1> & 'C:Program FilesmysqlMySQL Router 8.0binmysqlrouter.exe' -c
.mysqlrouter.conf
PID 4260 written to 'e:/tempdata/myrouter1mysqlrouter.pid'
Error: Invalid keyring file access rights (Everyone has full access rights).
PS E:tempdatamyrouter1>
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Router – Log (On Linux) [Not for Windows Platform]
• Logrotation via SIGHUP
• Sending a SIGHUP signal to the router process will now close and reopen
the logfile.
– e.g.
• # mv mysqlrouter.log mysqlrouter-`date`.log
• # kill -SIGHUP <pid of the MySQL Router>
• It allows the integration with the logrotate to rotate and compress the
Router’s logfiles.
34
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL InnoDB Cluster - more
• Sharing of using MySQL Shell Usage
– Using dbagetCluster().options()
– Using dbagetCluster().setOption(option, value)
– Using dbagetCluster().setInstanceOption(instance, option, value)
– dba.getCluster().status( {extended :true} )
– dba.getCluster().status( {queryMembers:true} )
• The usage of MySQL Shell to get more useful info
• The usage of MySQL Shell to operate on the Cluster
35
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Backup and Recovery
• The MySQL Enterprise Backup with MySQL Enterprise Workbench
– auto.cnf and mysqld-auto.cnf (within DataDir) have to be backup separately
– The GTID in meta data folder from the Backup Data can be used to restore GTID if
needed.
• Setup scheduled backup
– Backup software can backup the backup folder
36

Recommended for you

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

The document discusses two high availability solutions for MySQL: InnoDB Cluster and NDB Cluster. InnoDB Cluster provides high availability using MySQL Group Replication and allows for read scaling. It has weak consistency, no sharding, and medium operational complexity. NDB Cluster uses the NDB storage engine, provides automatic sharding and strong consistency. It has high operational complexity but also provides native NoSQL APIs and load balancing. The document explores these solutions in further detail.

innodbshardnosql
MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)

MySQL InnoDB cluster provides a complete high availability solution for MySQL. MySQL Shell includes AdminAPI which enables you to easily configure and administer a group of at least three MySQL server instances to function as an InnoDB cluster. Each MySQL server instance runs MySQL Group Replication, which provides the mechanism to replicate data within InnoDB clusters, with built-in failover. MySQL Router can automatically configure itself based on the cluster you deploy, connecting client applications transparently to the server instances.

mysqlmysql innodb clusterinnodb
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster

This document provides an overview of MySQL high availability solutions including InnoDB Cluster and NDB Cluster. InnoDB Cluster allows setting up a highly available MySQL cluster with auto-sharding using Group Replication and MySQL Router for transparent application routing. NDB Cluster is a memory-optimized database for low-latency applications requiring high scalability and availability. MySQL Shell provides a unified interface for deploying, managing and monitoring these MySQL HA solutions.

ndbmysqlmysql cluster
20191001 bkk-secret-of inno-db_clusterv1

More Related Content

What's hot

[非公開]Oracle Cloud Infrastructure Classic ネットワーク機能詳細
[非公開]Oracle Cloud Infrastructure Classic ネットワーク機能詳細[非公開]Oracle Cloud Infrastructure Classic ネットワーク機能詳細
[非公開]Oracle Cloud Infrastructure Classic ネットワーク機能詳細
オラクルエンジニア通信
 
MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the Community
Frederic Descamps
 
MySQL enterprise backup overview
MySQL enterprise backup overviewMySQL enterprise backup overview
MySQL enterprise backup overview
郁萍 王
 
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Keith Hollman
 
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PROIDEA
 
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning
Severalnines
 
Red hatpartner2013edb futureofdatabase
Red hatpartner2013edb futureofdatabaseRed hatpartner2013edb futureofdatabase
Red hatpartner2013edb futureofdatabase
EDB
 
Doing More With Less: The Economics of Open Source Database Adoption
Doing More With Less: The Economics of Open Source Database AdoptionDoing More With Less: The Economics of Open Source Database Adoption
Doing More With Less: The Economics of Open Source Database Adoption
EDB
 
The Value of NetApp with VMware
The Value of NetApp with VMwareThe Value of NetApp with VMware
The Value of NetApp with VMware
Capito Livingstone
 
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]
オラクルエンジニア通信
 
NoSQL and MySQL webinar - best of both worlds
NoSQL and MySQL webinar - best of both worldsNoSQL and MySQL webinar - best of both worlds
NoSQL and MySQL webinar - best of both worlds
Mat Keep
 
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)
オラクルエンジニア通信
 
Liberate Your Files with a Private Cloud Storage Solution powered by Open Source
Liberate Your Files with a Private Cloud Storage Solution powered by Open SourceLiberate Your Files with a Private Cloud Storage Solution powered by Open Source
Liberate Your Files with a Private Cloud Storage Solution powered by Open Source
Isaac Christoffersen
 
Conference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQLConference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQL
Severalnines
 
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)
オラクルエンジニア通信
 
Keynote: The Postgres Ecosystem
Keynote: The Postgres EcosystemKeynote: The Postgres Ecosystem
Keynote: The Postgres Ecosystem
EDB
 
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...
Insight Technology, Inc.
 
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...
Insight Technology, Inc.
 
What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6
Santo Leto
 
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]
オラクルエンジニア通信
 

What's hot (20)

[非公開]Oracle Cloud Infrastructure Classic ネットワーク機能詳細
[非公開]Oracle Cloud Infrastructure Classic ネットワーク機能詳細[非公開]Oracle Cloud Infrastructure Classic ネットワーク機能詳細
[非公開]Oracle Cloud Infrastructure Classic ネットワーク機能詳細
 
MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the Community
 
MySQL enterprise backup overview
MySQL enterprise backup overviewMySQL enterprise backup overview
MySQL enterprise backup overview
 
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
 
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
 
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning
 
Red hatpartner2013edb futureofdatabase
Red hatpartner2013edb futureofdatabaseRed hatpartner2013edb futureofdatabase
Red hatpartner2013edb futureofdatabase
 
Doing More With Less: The Economics of Open Source Database Adoption
Doing More With Less: The Economics of Open Source Database AdoptionDoing More With Less: The Economics of Open Source Database Adoption
Doing More With Less: The Economics of Open Source Database Adoption
 
The Value of NetApp with VMware
The Value of NetApp with VMwareThe Value of NetApp with VMware
The Value of NetApp with VMware
 
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年6月版]
 
NoSQL and MySQL webinar - best of both worlds
NoSQL and MySQL webinar - best of both worldsNoSQL and MySQL webinar - best of both worlds
NoSQL and MySQL webinar - best of both worlds
 
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年6月24日)
 
Liberate Your Files with a Private Cloud Storage Solution powered by Open Source
Liberate Your Files with a Private Cloud Storage Solution powered by Open SourceLiberate Your Files with a Private Cloud Storage Solution powered by Open Source
Liberate Your Files with a Private Cloud Storage Solution powered by Open Source
 
Conference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQLConference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQL
 
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)
Oracle Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年6月25日)
 
Keynote: The Postgres Ecosystem
Keynote: The Postgres EcosystemKeynote: The Postgres Ecosystem
Keynote: The Postgres Ecosystem
 
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...
[db tech showcase Tokyo 2015] C16:Oracle Disaster Recovery at New Zealand sto...
 
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...
[db tech showcase OSS 2017] Azure Database for MySQL / PostgreSQL by 日本マイクロソフ...
 
What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6
 
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年5月版]
 

Similar to 20191001 bkk-secret-of inno-db_clusterv1

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
 
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 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
 
MySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e Uber
MySQL Brasil
 
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
 
Robust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL DataRobust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL Data
OracleMySQL
 
MySQL Innovation from 5.7 to 8.0
MySQL Innovation from 5.7 to 8.0MySQL Innovation from 5.7 to 8.0
MySQL Innovation from 5.7 to 8.0
Frederic Descamps
 
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
Olivier DASINI
 
MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)
Olivier DASINI
 
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
 
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 User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
Tarique Saleem
 
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 Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
Keith Hollman
 
My sql8 innodb_cluster
My sql8 innodb_clusterMy sql8 innodb_cluster
My sql8 innodb_cluster
Mysql User Camp
 
MySQL InnoDB Cluster: High Availability Made Easy!
MySQL InnoDB Cluster: High Availability Made Easy!MySQL InnoDB Cluster: High Availability Made Easy!
MySQL InnoDB Cluster: High Availability Made Easy!
Vittorio Cioe
 
20190915_MySQL開発最新動向
20190915_MySQL開発最新動向20190915_MySQL開発最新動向
20190915_MySQL開発最新動向
Machiko Ikoma
 
MySQL
MySQLMySQL
MySQL
PT.JUG
 
DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !
Frederic Descamps
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB Clusters
Matt Lord
 

Similar to 20191001 bkk-secret-of inno-db_clusterv1 (20)

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
 
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
 
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
 
MySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e Uber
 
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
 
Robust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL DataRobust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL Data
 
MySQL Innovation from 5.7 to 8.0
MySQL Innovation from 5.7 to 8.0MySQL Innovation from 5.7 to 8.0
MySQL Innovation from 5.7 to 8.0
 
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
 
MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster
 
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
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
 
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 Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
 
My sql8 innodb_cluster
My sql8 innodb_clusterMy sql8 innodb_cluster
My sql8 innodb_cluster
 
MySQL InnoDB Cluster: High Availability Made Easy!
MySQL InnoDB Cluster: High Availability Made Easy!MySQL InnoDB Cluster: High Availability Made Easy!
MySQL InnoDB Cluster: High Availability Made Easy!
 
20190915_MySQL開発最新動向
20190915_MySQL開発最新動向20190915_MySQL開発最新動向
20190915_MySQL開発最新動向
 
MySQL
MySQLMySQL
MySQL
 
DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB Clusters
 

More from Ivan Ma

Exploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in PythonExploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in Python
Ivan Ma
 
20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell
Ivan Ma
 
20190615 hkos-mysql-troubleshootingandperformancev2
20190615 hkos-mysql-troubleshootingandperformancev220190615 hkos-mysql-troubleshootingandperformancev2
20190615 hkos-mysql-troubleshootingandperformancev2
Ivan Ma
 
20180420 hk-the powerofmysql8
20180420 hk-the powerofmysql820180420 hk-the powerofmysql8
20180420 hk-the powerofmysql8
Ivan Ma
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1
Ivan Ma
 
20161029 py con-mysq-lv3
20161029 py con-mysq-lv320161029 py con-mysq-lv3
20161029 py con-mysq-lv3
Ivan Ma
 
20160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab0120160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab01
Ivan Ma
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07
Ivan Ma
 
20151010 my sq-landjavav2a
20151010 my sq-landjavav2a20151010 my sq-landjavav2a
20151010 my sq-landjavav2a
Ivan Ma
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
Ivan Ma
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4
Ivan Ma
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
Ivan Ma
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx
Ivan Ma
 

More from Ivan Ma (13)

Exploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in PythonExploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in Python
 
20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell
 
20190615 hkos-mysql-troubleshootingandperformancev2
20190615 hkos-mysql-troubleshootingandperformancev220190615 hkos-mysql-troubleshootingandperformancev2
20190615 hkos-mysql-troubleshootingandperformancev2
 
20180420 hk-the powerofmysql8
20180420 hk-the powerofmysql820180420 hk-the powerofmysql8
20180420 hk-the powerofmysql8
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1
 
20161029 py con-mysq-lv3
20161029 py con-mysq-lv320161029 py con-mysq-lv3
20161029 py con-mysq-lv3
 
20160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab0120160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab01
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07
 
20151010 my sq-landjavav2a
20151010 my sq-landjavav2a20151010 my sq-landjavav2a
20151010 my sq-landjavav2a
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx
 

Recently uploaded

MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K SchemeMSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
Anwar Patel
 
LeetCode Database problems solved using PySpark.pdf
LeetCode Database problems solved using PySpark.pdfLeetCode Database problems solved using PySpark.pdf
LeetCode Database problems solved using PySpark.pdf
pavanaroshni1977
 
Literature Reivew of Student Center Design
Literature Reivew of Student Center DesignLiterature Reivew of Student Center Design
Literature Reivew of Student Center Design
PriyankaKarn3
 
21CV61- Module 3 (CONSTRUCTION MANAGEMENT AND ENTREPRENEURSHIP.pptx
21CV61- Module 3 (CONSTRUCTION MANAGEMENT AND ENTREPRENEURSHIP.pptx21CV61- Module 3 (CONSTRUCTION MANAGEMENT AND ENTREPRENEURSHIP.pptx
21CV61- Module 3 (CONSTRUCTION MANAGEMENT AND ENTREPRENEURSHIP.pptx
sanabts249
 
Rohini @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Yogita Mehra Top Model Safe
Rohini @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Yogita Mehra Top Model SafeRohini @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Yogita Mehra Top Model Safe
Rohini @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Yogita Mehra Top Model Safe
binna singh$A17
 
Introduction to IP address concept - Computer Networking
Introduction to IP address concept - Computer NetworkingIntroduction to IP address concept - Computer Networking
Introduction to IP address concept - Computer Networking
Md.Shohel Rana ( M.Sc in CSE Khulna University of Engineering & Technology (KUET))
 
Analysis and Design of Algorithm Lab Manual (BCSL404)
Analysis and Design of Algorithm Lab Manual (BCSL404)Analysis and Design of Algorithm Lab Manual (BCSL404)
Analysis and Design of Algorithm Lab Manual (BCSL404)
VishalMore197390
 
OCS Training - Rig Equipment Inspection - Advanced 5 Days_IADC.pdf
OCS Training - Rig Equipment Inspection - Advanced 5 Days_IADC.pdfOCS Training - Rig Equipment Inspection - Advanced 5 Days_IADC.pdf
OCS Training - Rig Equipment Inspection - Advanced 5 Days_IADC.pdf
Muanisa Waras
 
Understanding Cybersecurity Breaches: Causes, Consequences, and Prevention
Understanding Cybersecurity Breaches: Causes, Consequences, and PreventionUnderstanding Cybersecurity Breaches: Causes, Consequences, and Prevention
Understanding Cybersecurity Breaches: Causes, Consequences, and Prevention
Bert Blevins
 
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE DonatoCONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
Servizi a rete
 
Introduction to neural network (Module 1).pptx
Introduction to neural network (Module 1).pptxIntroduction to neural network (Module 1).pptx
Introduction to neural network (Module 1).pptx
archanac21
 
Unblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen FramesUnblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen Frames
Sinan KOZAK
 
Vernier Caliper and How to use Vernier Caliper.ppsx
Vernier Caliper and How to use Vernier Caliper.ppsxVernier Caliper and How to use Vernier Caliper.ppsx
Vernier Caliper and How to use Vernier Caliper.ppsx
Tool and Die Tech
 
Social media management system project report.pdf
Social media management system project report.pdfSocial media management system project report.pdf
Social media management system project report.pdf
Kamal Acharya
 
kiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinkerkiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinker
hamedmustafa094
 
GUIA_LEGAL_CHAPTER_4_FOREIGN TRADE CUSTOMS.pdf
GUIA_LEGAL_CHAPTER_4_FOREIGN TRADE CUSTOMS.pdfGUIA_LEGAL_CHAPTER_4_FOREIGN TRADE CUSTOMS.pdf
GUIA_LEGAL_CHAPTER_4_FOREIGN TRADE CUSTOMS.pdf
ProexportColombia1
 
IWISS Catalog 2024
IWISS Catalog 2024IWISS Catalog 2024
IWISS Catalog 2024
Iwiss Tools Co.,Ltd
 
( Call  ) Girls Noida 9873940964 High Profile
( Call  ) Girls Noida 9873940964 High Profile( Call  ) Girls Noida 9873940964 High Profile
( Call  ) Girls Noida 9873940964 High Profile
butwhat24
 
South Mumbai @Call @Girls Whatsapp 9930687706 With High Profile Service
South Mumbai @Call @Girls Whatsapp 9930687706 With High Profile ServiceSouth Mumbai @Call @Girls Whatsapp 9930687706 With High Profile Service
South Mumbai @Call @Girls Whatsapp 9930687706 With High Profile Service
kolkata dolls
 
UNIT I INCEPTION OF INFORMATION DESIGN 20CDE09-ID
UNIT I INCEPTION OF INFORMATION DESIGN 20CDE09-IDUNIT I INCEPTION OF INFORMATION DESIGN 20CDE09-ID
UNIT I INCEPTION OF INFORMATION DESIGN 20CDE09-ID
GOWSIKRAJA PALANISAMY
 

Recently uploaded (20)

MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K SchemeMSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
 
LeetCode Database problems solved using PySpark.pdf
LeetCode Database problems solved using PySpark.pdfLeetCode Database problems solved using PySpark.pdf
LeetCode Database problems solved using PySpark.pdf
 
Literature Reivew of Student Center Design
Literature Reivew of Student Center DesignLiterature Reivew of Student Center Design
Literature Reivew of Student Center Design
 
21CV61- Module 3 (CONSTRUCTION MANAGEMENT AND ENTREPRENEURSHIP.pptx
21CV61- Module 3 (CONSTRUCTION MANAGEMENT AND ENTREPRENEURSHIP.pptx21CV61- Module 3 (CONSTRUCTION MANAGEMENT AND ENTREPRENEURSHIP.pptx
21CV61- Module 3 (CONSTRUCTION MANAGEMENT AND ENTREPRENEURSHIP.pptx
 
Rohini @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Yogita Mehra Top Model Safe
Rohini @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Yogita Mehra Top Model SafeRohini @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Yogita Mehra Top Model Safe
Rohini @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Yogita Mehra Top Model Safe
 
Introduction to IP address concept - Computer Networking
Introduction to IP address concept - Computer NetworkingIntroduction to IP address concept - Computer Networking
Introduction to IP address concept - Computer Networking
 
Analysis and Design of Algorithm Lab Manual (BCSL404)
Analysis and Design of Algorithm Lab Manual (BCSL404)Analysis and Design of Algorithm Lab Manual (BCSL404)
Analysis and Design of Algorithm Lab Manual (BCSL404)
 
OCS Training - Rig Equipment Inspection - Advanced 5 Days_IADC.pdf
OCS Training - Rig Equipment Inspection - Advanced 5 Days_IADC.pdfOCS Training - Rig Equipment Inspection - Advanced 5 Days_IADC.pdf
OCS Training - Rig Equipment Inspection - Advanced 5 Days_IADC.pdf
 
Understanding Cybersecurity Breaches: Causes, Consequences, and Prevention
Understanding Cybersecurity Breaches: Causes, Consequences, and PreventionUnderstanding Cybersecurity Breaches: Causes, Consequences, and Prevention
Understanding Cybersecurity Breaches: Causes, Consequences, and Prevention
 
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE DonatoCONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
 
Introduction to neural network (Module 1).pptx
Introduction to neural network (Module 1).pptxIntroduction to neural network (Module 1).pptx
Introduction to neural network (Module 1).pptx
 
Unblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen FramesUnblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen Frames
 
Vernier Caliper and How to use Vernier Caliper.ppsx
Vernier Caliper and How to use Vernier Caliper.ppsxVernier Caliper and How to use Vernier Caliper.ppsx
Vernier Caliper and How to use Vernier Caliper.ppsx
 
Social media management system project report.pdf
Social media management system project report.pdfSocial media management system project report.pdf
Social media management system project report.pdf
 
kiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinkerkiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinker
 
GUIA_LEGAL_CHAPTER_4_FOREIGN TRADE CUSTOMS.pdf
GUIA_LEGAL_CHAPTER_4_FOREIGN TRADE CUSTOMS.pdfGUIA_LEGAL_CHAPTER_4_FOREIGN TRADE CUSTOMS.pdf
GUIA_LEGAL_CHAPTER_4_FOREIGN TRADE CUSTOMS.pdf
 
IWISS Catalog 2024
IWISS Catalog 2024IWISS Catalog 2024
IWISS Catalog 2024
 
( Call  ) Girls Noida 9873940964 High Profile
( Call  ) Girls Noida 9873940964 High Profile( Call  ) Girls Noida 9873940964 High Profile
( Call  ) Girls Noida 9873940964 High Profile
 
South Mumbai @Call @Girls Whatsapp 9930687706 With High Profile Service
South Mumbai @Call @Girls Whatsapp 9930687706 With High Profile ServiceSouth Mumbai @Call @Girls Whatsapp 9930687706 With High Profile Service
South Mumbai @Call @Girls Whatsapp 9930687706 With High Profile Service
 
UNIT I INCEPTION OF INFORMATION DESIGN 20CDE09-ID
UNIT I INCEPTION OF INFORMATION DESIGN 20CDE09-IDUNIT I INCEPTION OF INFORMATION DESIGN 20CDE09-ID
UNIT I INCEPTION OF INFORMATION DESIGN 20CDE09-ID
 

20191001 bkk-secret-of inno-db_clusterv1

  • 1. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | The Secret of MySQL InnoDB Cluster Deployment Ivan Ma ivan-cs.ma@oracle.com 2019-10-01 Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
  • 2. Copyright © 2017, 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. 2
  • 3. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Overview for Oracle DBAs [ Day 1 : 14:00 – 14:45 ] MySQL is the most popular open source database used and trusted by millions of users for cloud, internet and mobile applications. More and more enterprises are evaluating open source database technology as alternatives to their existing Oracle database. In this session, we will help existing Oracle DBAs to understand MySQL better as a viable database platform to complement existing Oracle database By Ryan Kuan [Oracle MySQL / Malaysia ] MySQL Track - Sessions The Secret of MySQL InnoDB Cluster Deployment [ Day 1 : 14:45 – 15:30 ] Deploying MySQL as Open Source Database with the #1 High Availability focus is critical to many applications today. The session is to go after the latest MySQL InnoDB Cluster solution - To automate the Provision in Cloning; To automate the Failover using MySQL Router; To automate the Data Recovery; To simply the "Cluster" creation using MySQL Shell; Come and Join us the session to explore the details with MySQL InnoDB Cluster By Ivan Ma [Oracle MySQL / Hong Kong]
  • 4. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Unleasing the power of NoSQL using MySQL 8.0 [ Day 1 : 16:00 – 16:45 ] JavaScript Object Notation (JSON) is fast becoming the de-facto data exchange format for both modern web and mobile application development framework. Developers love the flexibility of JSON to allow them to modify data structure anyway they want without bothering their DBA. In this session, come discover the latest NoSQL capabilities in MySQL to store and manage JSON data seamlessly in MySQL as well as to integrate with existing structured data in MySQL. By Ryan Kuan [Oracle MySQL / Malaysia ] MySQL Track - Sessions MySQL Troubleshooting and Performance Analysis [ Day 1 : 16:45 – 17:15 ] MySQL powers many of the world’s largest and fastest-growing organizations. In this session, you will get more practical, safe and efficient ways to know in-and-out of the MySQL database performance; gain tips and tricks. Some OPEN SOURCE tools such as http://dimitrik.free.fr/ and Performance Schema will be explored during the session. Join us to find MySQL bottlenecks and learn how to properly configure the database appropriately for your efficient MySQL database. By Ivan Ma [Oracle MySQL / Hong Kong]
  • 5. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda 5 MySQL InnoDB Cluster Basics Deployment Example DC1 and DC2 – MySQL InnoDB Cluster Replication DeepDive - InnoDB Cluster Configuration MySQL Router Configuration MySQL Shell : AdminAPI
  • 6. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL InnoDB Cluster 6 Vision A single product – MySQL – with high availability and scaling features baked in providing an integrated end-to-end solution that is easy to use. Enter MySQL InnoDB Cluster
  • 7. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL InnoDB Cluster Basics 7 https://dev.mysql.com/doc/refman/8.0/en/mysql-innodb-cluster-production-deployment.html
  • 8. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Master / Slave Replication OS or VM vendor active/passive shared disk solutions MySQL InnoDB Cluster MySQL NDB Cluster High Availability: MySQL Solutions 9 9 . 9 9 9 % 8 Continuous Availability
  • 9. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Slave Server • Session thread updates requests to Storage Engine from application, and changes are written to binlog before apply to storage engine • Dump thread reads event from binlog and propagate them to slave server • I/O thread read replication events, stores them to relay log • SQL thread: reads relay log and applies them to storage engines MySQL Replication – Asynchronized Replication Session Binary Log Master Server Dump I/O Relay Log SQL 9 Transaction Commit Ack
  • 10. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Slave Server • Session thread updates requests to SE from application, and changes are written to binlog before apply to storage engine • Dump thread reads event from binlog and propagate them to slave server • I/O thread read replication events, stores them to relay log • SQL thread: reads relay log and applies them to storage engines MySQL Replication – SEMI-Synchronized Replication Session Binary Log Master Server Dump I/O Relay Log SQL 10 Transaction Commit Ack
  • 11. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL InnoDB Cluster: Architecture M M M MySQL Connector Application MySQL Router MySQL Connector Application MySQL Router MySQL Shell HA Group Replication 11 MySQL Enterprise Monitor
  • 12. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor • Native holistic support for Group Replication / InnoDB clusters Topology views – Detailed metrics and graphs – Best Practice advice 12
  • 13. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Deployment Examples MySQL InnoDB Cluster 13 https://dev.mysql.com/doc/refman/8.0/en/mysql-innodb-cluster-production-deployment.html
  • 14. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Single Data Center 14 Active Data Center ClusterDC1 MySQL Router MySQL Router MySQL Router MySQL InnoDB Cluster MySQL Shell MySQL Enterprise Monitor
  • 15. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Scenario – Geo Locations Asynch Replication across Datacenters 15 Async Replication Active Data Center Backup Data Center ClientsClusterDC1 ClusterDC2 MySQL Router MySQL Router MySQL Router MySQL Router MySQL Router MySQL Router MySQL Router MySQL Enterprise Monitor MySQL Shell
  • 16. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Deep Dive into MySQL InnoDB Cluster Configuration 16
  • 17. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Tasks – MySQL InnoDB Cluster MySQL Server – Persisted Variables group_replication_consistency EVENTUAL BEFORE_ON_PRIMARY_FAILOVER group_replication_ip_whitelist group-replication-local-address AUTOMATIC EMPTY set to be the subnet of the PRIVATE IP group_replication_member_expel_timeout 0 [NETWORK RELIABILITY] set to the value of 30 (seconds) group_replication_autorejoin_tries - [NETWORK RELIABILITY] set to 12 (5 mins interval for each retry) group_replication_unreachable_majority_timeout 0 [NETWORK RELIABILITY] Please set a value - the timeout value that the application will wait in the access minority (when there is network partition happening). e.g. (for 2 minutes wait time  120) group_replication_member_weight 50 (for all nodes) Configured for Node1,Node2,Node3 as 40,50,60 respectively group-replication-exit-state-action ABORT_SERVER / READ_ONLY if 8.0.18 [OFFLINE_MODE] 17
  • 18. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | InnoDB Cluster Network • Internal / Private Network to exchange data group_replication_ip_whitelist group-replication-local-address 18 Database Network : 3306 (subnet : 192.168.10.0/24) InnoDB Cluster Network Network : localAddress IP:13306 (subet : 192.168.20.0/24)
  • 19. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Abort server when it drops out of the group 19 Leaves the group involuntarily (failed to apply changes, network partitioned, etc). Shuts itself down, thus becoming effectively unavailable for both reads and writes. Primary Secondary SET GLOBAL group_replication_exit_state_action = ABORT_SERVER dev.mysql.com/doc/refman/8.0/en/group-replication-options.html#sysvar_group_replication_exit_state_action 19
  • 20. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Consistency on primary fail over 20 Primary Secondary Secondaries have a backlog of transactions to apply. 20
  • 21. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Consistency on primary fail over 21 Primary Secondary Secondaries have a backlog of transactions to apply. Primary fails and group elects new primary. 21
  • 22. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Primary fails and group elects new primary. Consistency on primary fail over 22 Primary Secondary Secondaries have a backlog of transactions to apply. New primary holds incoming operation until it catches up. 22
  • 23. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Primary fails and group elects new primary. Consistency on primary fail over 23 Primary Secondary Secondaries have a backlog of transactions to apply. New primary holds incoming operation until it catches up. Executes transactions held, and replies. 23
  • 24. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Primary fails and group elects new primary. Consistency on primary fail over 24 Primary Secondary Secondaries have a backlog of transactions to apply. New primary holds incoming operation until it catches up. Executes the held operation, and replies. SET SESSION group_replication_consistency = BEFORE_ON_PRIMARY_FAILOVER 24
  • 25. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Primary fails and group elects new primary. Consistency on primary fail over 25 Primary Secondary Secondaries have a backlog of transactions to apply. New primary holds incoming operation until it catches up. Executes the held operation, and replies. GLOBAL Configuration : group_replication_consistency = BEFORE_ON_PRIMARY_FAILOVER MySQL Router can take it as effective session failover with consistency 25
  • 26. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | “EVENTUAL” Read Data from Secondary Getting stale data Consistency : for Read 26 Primary Secondary Secondaries have a backlog of transactions to apply. “BEFORE” Applied and Read SET SESSION group_replication_consistency = BEFORE 26
  • 27. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Network Reliability • group_replication_member_expel_timeout – default : 5 seconds if no response, the member is expelled! – What if the network once a while with interruption or – A large job running but MASTER promotion only happens if expel decision is made! • group_replication_autorejoin_tries – For the failed server (because of network issue as example) can rejoin the Group without manual intervention • group_replication_unreachable_majority_timeout – If Primary is handling a transaction but network is failed – the node will hang FOREVER (default : 0) – E.g. 120 seconds : Hold up for 2 minutes 27
  • 28. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Adding Replicas to the Cluster • The new clone plugin for MySQL is instrumental in this story. Expanding the Cluster 28 mysql> CLONE INSTANCE FROM "user"@donor_host:9999 IDENTIFIED BY "password" … Shipped with MySQL 8.0.17 Adding Replicas to the Cluster Primary SecondaryEmpty Instance Add Replica MySQL Shell > cluster.addInstance( …, {recoveryMethod : “Clone”} )
  • 29. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Adding Replicas to the Cluster (Demo) • Cluster with a single server (3310) • Empty server (3320) is added. • 3310 has purged its binlogs. • 3320 will recover using clone, for the initial snapshot, and then binary logs. • 3310 state is copied to 3320. • 3320 restarts and joins the cluster. 29
  • 30. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Tasks– MySQL replication related MySQL Server – Persisted Variables slave-parallel-type DATABASE LOGICAL_CLOCK slave-parallel-workers not defined say 2 threads or more slave_preserve_commit_order not defined ON binlog-format ROW binlog-checksum NONE gtid-mode enforce-gtid-consistency log-slave-updates Turn ON master-info-repository relay-log-info-repository TABLE transaction-write-set-extraction XXHASH64 30
  • 31. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Router Configuration Examples 31 https://dev.mysql.com/doc/refman/8.0/en/mysql-innodb-cluster-production-deployment.html
  • 32. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Tasks – MySQL Router MySQL Router max_connections max_connect_errors Defaults as max_connections=512 max_connect_errors=100 Changed to Higher Value!!! log Default setting is INFO Do you need initial setting of DEBUG for checking and turn it INFO for normal operation [logger] sinks Not specified sinks=filelog,eventlog use_gr_notifications (New in 8.0.17) Default = 0 1 : Enable notification group_replication/membership/quorum_loss, group_replication/membership/view, group_replication/status/role_change, and group_replication/status/state_change. 32
  • 33. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Router • The File System MUST not be FAT32/FAT/exFAT… • MySQL Router will check for the privilege setting for key files which it must NOT be owned by ‘everyone’ 33 PS E:tempdatamyrouter1> & 'C:Program FilesmysqlMySQL Router 8.0binmysqlrouter.exe' -c .mysqlrouter.conf PID 4260 written to 'e:/tempdata/myrouter1mysqlrouter.pid' Error: Invalid keyring file access rights (Everyone has full access rights). PS E:tempdatamyrouter1>
  • 34. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Router – Log (On Linux) [Not for Windows Platform] • Logrotation via SIGHUP • Sending a SIGHUP signal to the router process will now close and reopen the logfile. – e.g. • # mv mysqlrouter.log mysqlrouter-`date`.log • # kill -SIGHUP <pid of the MySQL Router> • It allows the integration with the logrotate to rotate and compress the Router’s logfiles. 34
  • 35. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL InnoDB Cluster - more • Sharing of using MySQL Shell Usage – Using dbagetCluster().options() – Using dbagetCluster().setOption(option, value) – Using dbagetCluster().setInstanceOption(instance, option, value) – dba.getCluster().status( {extended :true} ) – dba.getCluster().status( {queryMembers:true} ) • The usage of MySQL Shell to get more useful info • The usage of MySQL Shell to operate on the Cluster 35
  • 36. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Backup and Recovery • The MySQL Enterprise Backup with MySQL Enterprise Workbench – auto.cnf and mysqld-auto.cnf (within DataDir) have to be backup separately – The GTID in meta data folder from the Backup Data can be used to restore GTID if needed. • Setup scheduled backup – Backup software can backup the backup folder 36