SlideShare a Scribd company logo
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL High Availability
InnoDB Cluster and NDB Cluster
Ted Wennmark
ted.wennmark@oracle.com
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved.
Copyright © 2016, Oracleand/orits affiliates. Allrights 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
commitmentto 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
functionalitydescribed for Oracle’s products remains at the sole discretion of Oracle.
2
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
Almost all organizations require their most
critical systems to be highly available
3
100%
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
InnoDB Cluster
4
or
NDB Cluster
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
• MySQL InnoDB Cluster
– Easy HA built into MySQL 5.7+
– Write consistency
– Read Scalability
– App failover using MySQL Router
– Management via mysqlsh
– InnoDB storage engine
• MySQL NDB Cluster
– In memory database
– Automatic sharding
– Native access via several API
– Read/write consistency
– Read/write scalability
– NDB storage engine
How Do The Two Compare I
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
How Do The Two Compare II
MySQLInnoDBCluster MySQLNDBCluster
StorageEngine InnoDB NDBCLUSTER
DistributedArchitecture Sharednothing Sharednothing
ConsistencyModel Weak Consistency StrongConsistency
Sharding No Yes
Arbitration No Yes
LoadBalancing No Yes
NoSQLAPIs MySQLDocumentStore NativeNDB API
OperationalComplexity Medium High
Administration Standard(MySQL) Custom(MySQL+ NDB)
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
InnoDB Cluster
7
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
InnoDB Cluster
8
App Servers with
MySQLRouter
MySQLGroupReplication
MySQLShell
Setup,Manage,
Orchestrate
“High Availability becomes a core
first class feature of MySQL!”
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | 9
MySQL InnoDB Cluster: 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.”
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
• One Product: MySQL
– All componentscreated together
– Tested together
– Packaged together
• Easy to Use
– One client: MySQL Shell
– Easy packaging
– Integrated orchestration
– Homogenousservers
• Flexible and Modern
– SQL and NoSQL together
– ProtocolBuffers
– Developer friendly
• Support Read/Write Scale Out
– Sharded clusters
– Federated system of N replica sets
– Each replica set manages a shard
10
MySQL InnoDB Cluster: Goals
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQLConnector
Application
MySQL Router
MySQL Connector
Application
MySQL Router
MySQL Shell
MySQLConnector
Application
MySQL Router
MySQLConnector
Application
MySQL Router
MySQL InnoDB Cluster: High Level Architecture
MySQL
InnoDB
cluster
MySQL Enterprise Monitor
…
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL
Group Replication
Natively distributed and highly available replica sets
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Group Replication: What Is It?
• Group Replication library
– Implementationof Replicated Database State Machine
theory
• MySQL GCS is based on Paxos (variant of Mencius)
– Providesvirtually synchronous replication for MySQL 5.7+
– Supported on all MySQL platforms
• Linux,Windows, Solaris, OSX, FreeBSD
“Multi-master update anywhere replication plugin for MySQL with
built-in conflict detection and resolution, automatic distributed
recovery, and group membership.”
13
App Servers with
MySQLRouter
MySQLGroupReplication
MySQLShell
Setup,Manage,
Orchestrate
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Group Replication: What Does It Provide?
• A highly available distributed MySQL database service
– Removes the need for manually handling server fail-over
– Providesdistributed fault tolerance
– Enables Active/Active update anywhere setups
– Automates reconfiguration (adding/removing nodes, crashes, failures)
– Automaticallydetects and handles conflicts
14
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Group Replication: Architecture
Node Types
R: Trafficrouters/proxies:mysqlrouter,haproxy,sqlproxy,...
M:mysqld nodes participatingin Group Replication
15
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | 16
MySQL Server: Full Stack
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Router
Transparent application connection routing
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Router: 2.1
• Nativesupport for InnoDB clusters
– Understands Group Replication topology
– Utilizes metadata schema stored on each member
• Bootstraps itself and sets up client routing for the InnoDB cluster
• Allows for intelligent client routing into the InnoDB cluster
• Supports multi-master and single primary modes
• Core improvements
– Logging
– Monitoring
– Performance
– Security
18
App Servers with
MySQLRouter
MySQLGroupReplication
MySQLShell
Setup,Manage,
Orchestrate
labs.mysql.com
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Shell
Single tool for development, setup,
management, orchestration, and monitoring
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Shell
20
A single unified client for all administrative and operations tasks
App Servers with
MySQLRouter
MySQLGroupReplication
MySQLShell
Setup,Manage,
Orchestrate
• Multi-Language: JavaScript, Python, and SQL
– Naturally scriptable
• Supports both Document and Relational models
• Exposes full Development and Admin API
”MySQL Shell provides the developer and DBA with a single intuitive,
flexible, and powerfull interface for all MySQL related tasks!”
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Shell: Admin API
• mysql-js> dba.help()
• The global variable 'dba' is used to access the
MySQL AdminAPI
• Perform DBA operations
– Manage MySQL InnoDB clusters
• Create clusters
• Deploy MySQL instances
• Get cluster info
• Start/Stop MySQL Instances
• Validate MySQL instances …
Database Administration Interface
labs.mysql.com
App Servers with
MySQLRouter
MySQLGroupReplication
MySQLShell
Setup,Manage,
Orchestrate
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Shell – Deploy MySQL Instances
shell> mysqlsh
mysql-js> dba.deployLocalInstance(3306)
mysql-js> dba.deployInstance(‘hanode2:3306’)
mysql-js> dba.deployInstance(‘hanode3:3306’)
22
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Shell – Create an InnoDB Cluster
mysql-js> connect root@hanode1:3306
mysql-js> cluster = dba.createCluster(‘NewAppCluster')
mysql-js> cluster.addInstance('root@hanode2:3306')
mysql-js> cluster.addInstance('root@hanode3:3306')
23
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Shell – Add a MySQL Router
shell> mysqlrouter --bootstrap hanode1:3306
shell> mysqlrouter &
shell> mysqlsh --uri root@localhost:6446
24
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | 25
MySQLDocumentStore
Relational & Document Models
MySQLHA
Out-Of-BoxHA
Read Scale-Out
Async Replication+ Auto Failover
Write Scale-Out
Sharding
S1
S2
S3
S4
* Download InnoDB Cluster Preview Release from labs.mysql.com
What’s Next
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Enterprise Monitor
• Nativeholistic support for InnoDB clusters
– Topologyviews
– Detailed metrics and graphs
– Best Practice advice
• Monitoring of MySQL Routers
• Monitoring of Group Replication
26
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
NDB Cluster
27
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
Driving Database Requirements
9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 28
RockSolid
Availability
In-Memory
Real-Time
Performance
Extreme
Read & Write
Scalability
Elasticity
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
HLR/ HSS
Billing,AuC,VLR
AuC, Call
Routing,Billing
Location
Updates
Pre& PostPaid
• Massive volumes of write traffic
• < 3ms database response
• Downtime & lost transactions = lost $
• Extremly cost sensitive market
MySQL Cluster in Action: http://bit.ly/oRI5tF
No Trade-Offs: Cellular Network
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
UserSession
Session
management
Session
management
LocationUpdates,
Charactermovements,...
• Massive volumes of write traffic
• < 3ms database response
• Downtime & lost transactions = lost $
• Extremly sensitive crowd
No Trade-Offs: Massive Parallel Online Games
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Confidential –OracleInternal/Restricted/Highly Restricted 31
No Trade-offs: Hadoop
NameNodes
Leader
HDFS Client
DataNodes
Hops.io
MySQLNDB ClusterData Nodes
ClusterJ
NDB Cluster powering the
world‘s fastest and most
scalable Hadoop
filesystem.
Scaling Hadoop 20x!
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Cluster Overview
• Memoryoptimizedtables with durability
• PredictableLow-Latency,BoundedAccessTime
REAL-TIME
• Auto-Sharding,Active-Active
• ACIDCompliant,OLTP+ Real-TimeAnalyticsHIGH SCALE, READS + WRITES
FULLYELASTIC
• Active-Active, Shared nothing, no Single Point of Failure
• Self Healing + On-Line Operations
99.999% AVAILABILITY
• Key/Value + Complex, Relational Queries
• SQL + Memcached + JavaScript + Java + HTTP/REST & C++
SQL + NoSQL
• Open Source + Commercial Editions, Easy to use and deploy
• Commodity hardware + Management, Monitoring Tools
LOW TCO
9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 32
• Add and remove storage and performance capacity in seconds
• Fully cloud enabled
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
NoSQL Access to MySQL Cluster data
Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps
JPA
Cluster JPA
PHP Perl Python Ruby JDBC Cluster J JS Apache Memcached
MySQL JNI Node.JS mod_ndb ndb_eng
NDB API (C++)
MySQLCluster Data Nodes
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Cluster Architecture
MySQLCluster DataNodes
Clients
ApplicationLayer
Data Layer
9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 34
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
Data Partitioning / Auto-sharding
28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 35
User-id(PK) Service(PK) Data
1773467253 chat xxx
6257346892 chat xxx
1773467253 photos xxx
7234782739 photos xxx
8235602099 reminders xxx
8437829249 location xxx
MySQLClusterDataNodes
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
Data Partitioning / Auto-sharding
28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 36
User-id(PK) Service(PK) Data
1773467253 chat xxx
6257346892 chat xxx
1773467253 photos xxx
7234782739 photos xxx
8235602099 reminders xxx
8437829249 location xxx
MySQLClusterDataNodes
Shard Key
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
Data Partitioning / Auto-sharding
28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 37
User-id(PK) Service(PK) Data
1773467253 chat xxx
6257346892 chat xxx
1773467253 photos xxx
7234782739 photos xxx
8235602099 reminders xxx
8437829249 location xxx
MySQLClusterDataNodes
Shard Key
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
NodeGroup
DataNode 1
• Datatransparently sharded between Node Groups
• Each fragment active in one Data Node with synchronous replication to
2nd Data Node in same Node Group
28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 38
DataNode 2
NodeGroup
DataNode 3 DataNode 4
Data Partitioning / Auto-sharding
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
Data Partitioning / Auto-sharding
• DBA chooses which part of
Primary Key to use as shard
key
• Fragment for each row
decided by hashing the
sharding key
28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 39
User-id(PK) Service(PK) Data
1773467253 chat xxx
6257346892 chat xxx
1773467253 photos xxx
7234782739 photos xxx
8235602099 reminders xxx
8437829249 location xxx
Shard Key
NodeGroup
DataNode 1 DataNode 2
NodeGroup
DataNode 3 DataNode 4
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
• Dataautomatically rearranged to use new capacity
• Designed to be a slow background process not impacting real-time
performance.
28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 40
NodeGroup
Data Node 1 Data Node 2
NodeGroup
Data Node 3 Data Node 4
NodeGroup
Data Node 5 Data Node 6
On-line Scaling and Elasticity
Re-partioning
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL Cluster 7.2: 1.2 Billion UPDATEs per Minute
• NoSQL C++ API,
flexaSynch benchmark
• 30 x Intel E5-2600 Intel
Servers, 2 socket, 64GB
• ACID Transactions, with
Synchronous Replication
http://www.mysql.com/why-
mysql/white-papers/mysql-cluster-
benchmarks-1-billion-writes-per-minute/0
5
10
15
20
25
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
MillionsofUPDATEsperSecond
MySQL Cluster Data Nodes
9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 41
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
• Memory optimized tables
– Durable
– Mix with disk-based tables
• Massively concurrent OLTP
• Distributed Joins for analytics
• Parallel table scans for non-indexed
searches
• MySQL Cluster 7.4 FlexAsych
– 200M NoSQL Reads/Second
28/09/2016 42
MySQL Cluster 7.4 NoSQL Performance
200 Million NoSQL Reads/Second
Copyright 2015,oracle and/or its affiliates. Allrights reserved
-
50,000,000
100,000,000
150,000,000
200,000,000
250,000,000
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32
Readspersecond
Data Nodes
FlexAsync Reads
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
• Memory optimized tables
– Durable
– Mix with disk-based tables
• Massively concurrent OLTP
• Distributed Joins for analytics
• Parallel table scans for non-indexed
searches
• MySQL Cluster 7.4 DBT2 BM
– 2.5M SQL Statements/Second
28/09/2016 43
MySQL Cluster 7.4 SQL Performance
2.5M SQL Statements/Second
Copyright 2015,oracle and/or its affiliates. Allrights reserved
-
500,000
1,000,000
1,500,000
2,000,000
2,500,000
3,000,000
2 4 6 8 10 12 14 16
SQLStatements/sec
Data Nodes
DBT2 SQL Statements per Second
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | 44
MySQL NDB Cluster 7.5
• Read Optimized
Tables
• Fully Replicated
Capacity and
Scale Out
• MySQL 5.7
• JSONData Type
• Generated Columns
• Records-Per-Key
Optimization
Improved
SQL
• Improved Reporting
• Improved Logging
• Improved Visibility
• Improved Restore
Management
RC
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
• Reading from backup allows to read
from any copy
• Previously all reads were directed
towards the primary fragment only
Confidential –OracleInternal/Restricted/Highly Restricted 45
MySQL NDB 7.5: Reading from backup
NodeGroup
DataNode 1 DataNode 2
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
MySQL NDB Cluster 7.5: Fully replicated
• Fully replicated allows a table to be read/written locally on any node
• Ideal for staticdata, faster join performance
Confidential –OracleInternal/Restricted/Highly Restricted 46
NodeGroup
DataNode 1 DataNode 2
NodeGroup
DataNode 3 DataNode 4
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
Next Steps
Learn More
• www.mysql.com/cluster
• https://dev.mysql.com/doc/mysql-innodb-cluster/en/
• Authentic MySQL Curriculum: http://oracle.com/education/mysql
Try it Out
• dev.mysql.com/downloads/cluster/
7.4 GA and 7.5 DMR 1
• https://labs.mysql.com/
Let us know what you think
• http://mysqlhighavailability.com/
• forums.mysql.com/list.php?25
9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 47
Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. |
Thank you!

More Related Content

What's hot

Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document StoreConnector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Filipe Silva
 
MySQL Document Store
MySQL Document StoreMySQL Document Store
MySQL Document Store
Mario Beck
 
MySQL as a Document Store
MySQL as a Document StoreMySQL as a Document Store
MySQL as a Document Store
Ted Wennmark
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
Ted Wennmark
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
Ted Wennmark
 
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 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 FeaturesTarique Saleem
 
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
 
My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015
Sanjay Manwani
 
MySQL Fabric Tutorial, October 2014
MySQL Fabric Tutorial, October 2014MySQL Fabric Tutorial, October 2014
MySQL Fabric Tutorial, October 2014
Lars Thalmann
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016Geir Høydalsvik
 
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
 
Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtime
Olivier DASINI
 
MySQL 5.7 Replication News
MySQL 5.7 Replication News MySQL 5.7 Replication News
MySQL 5.7 Replication News
Ted Wennmark
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
Mario Beck
 
MySQL 5.7: Focus on InnoDB
MySQL 5.7: Focus on InnoDBMySQL 5.7: Focus on InnoDB
MySQL 5.7: Focus on InnoDB
Mario Beck
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
Geir Høydalsvik
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
Mario Beck
 
Case Study: MySQL migration from latin1 to UTF-8
Case Study: MySQL migration from latin1 to UTF-8Case Study: MySQL migration from latin1 to UTF-8
Case Study: MySQL migration from latin1 to UTF-8
Olivier DASINI
 
Scaling MySQL using Fabric
Scaling MySQL using FabricScaling MySQL using Fabric
Scaling MySQL using Fabric
Karthik .P.R
 

What's hot (20)

Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document StoreConnector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
 
MySQL Document Store
MySQL Document StoreMySQL Document Store
MySQL Document Store
 
MySQL as a Document Store
MySQL as a Document StoreMySQL as a Document Store
MySQL as a Document Store
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
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 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 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
 
My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015
 
MySQL Fabric Tutorial, October 2014
MySQL Fabric Tutorial, October 2014MySQL Fabric Tutorial, October 2014
MySQL Fabric Tutorial, October 2014
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
 
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)
 
Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtime
 
MySQL 5.7 Replication News
MySQL 5.7 Replication News MySQL 5.7 Replication News
MySQL 5.7 Replication News
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
MySQL 5.7: Focus on InnoDB
MySQL 5.7: Focus on InnoDBMySQL 5.7: Focus on InnoDB
MySQL 5.7: Focus on InnoDB
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
 
Case Study: MySQL migration from latin1 to UTF-8
Case Study: MySQL migration from latin1 to UTF-8Case Study: MySQL migration from latin1 to UTF-8
Case Study: MySQL migration from latin1 to UTF-8
 
Scaling MySQL using Fabric
Scaling MySQL using FabricScaling MySQL using Fabric
Scaling MySQL using Fabric
 

Similar to MySQL HA

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
 
InnoDb Vs NDB Cluster
InnoDb Vs NDB ClusterInnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
Mark Swarbrick
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB Clusters
Matt Lord
 
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
 
My sql8 innodb_cluster
My sql8 innodb_clusterMy sql8 innodb_cluster
My sql8 innodb_cluster
Mysql User Camp
 
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014Manuel Contreras
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014
Sanjay Manwani
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
Ivan Ma
 
MySQL Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
Keith Hollman
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
Mario Beck
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA options
Ted Wennmark
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloud
Mandy Ang
 
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL DaysMySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
Mark Swarbrick
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
Ryusuke Kajiyama
 
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
 
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
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloud
OracleMySQL
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of Choice
Mark Swarbrick
 
My sql en la nube conoce las mejores prácticas en administración y operación_...
My sql en la nube conoce las mejores prácticas en administración y operación_...My sql en la nube conoce las mejores prácticas en administración y operación_...
My sql en la nube conoce las mejores prácticas en administración y operación_...
GeneXus
 
MySQL User Camp : MySQL-Router
MySQL User Camp : MySQL-RouterMySQL User Camp : MySQL-Router
MySQL User Camp : MySQL-Router
Prasad Vasudevan
 

Similar to MySQL HA (20)

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
 
InnoDb Vs NDB Cluster
InnoDb Vs NDB ClusterInnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB Clusters
 
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
 
My sql8 innodb_cluster
My sql8 innodb_clusterMy sql8 innodb_cluster
My sql8 innodb_cluster
 
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
 
MySQL Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA options
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloud
 
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL DaysMySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
 
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 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...
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloud
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of Choice
 
My sql en la nube conoce las mejores prácticas en administración y operación_...
My sql en la nube conoce las mejores prácticas en administración y operación_...My sql en la nube conoce las mejores prácticas en administración y operación_...
My sql en la nube conoce las mejores prácticas en administración y operación_...
 
MySQL User Camp : MySQL-Router
MySQL User Camp : MySQL-RouterMySQL User Camp : MySQL-Router
MySQL User Camp : MySQL-Router
 

More from Ted Wennmark

Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!
Ted Wennmark
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016
Ted Wennmark
 
MySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQLMySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQL
Ted Wennmark
 
The MySQL Performance Schema & New SYS Schema
The MySQL Performance Schema & New SYS SchemaThe MySQL Performance Schema & New SYS Schema
The MySQL Performance Schema & New SYS Schema
Ted Wennmark
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
Ted Wennmark
 
MySQL@king
MySQL@kingMySQL@king
MySQL@king
Ted Wennmark
 
NoSQL and MySQL
NoSQL and MySQLNoSQL and MySQL
NoSQL and MySQL
Ted Wennmark
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smugTed Wennmark
 

More from Ted Wennmark (8)

Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016
 
MySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQLMySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQL
 
The MySQL Performance Schema & New SYS Schema
The MySQL Performance Schema & New SYS SchemaThe MySQL Performance Schema & New SYS Schema
The MySQL Performance Schema & New SYS Schema
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
MySQL@king
MySQL@kingMySQL@king
MySQL@king
 
NoSQL and MySQL
NoSQL and MySQLNoSQL and MySQL
NoSQL and MySQL
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smug
 

Recently uploaded

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 

Recently uploaded (20)

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 

MySQL HA

  • 1. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL High Availability InnoDB Cluster and NDB Cluster Ted Wennmark ted.wennmark@oracle.com Copyright © 2016, Oracleand/orits affiliates. Allrights reserved.
  • 2. Copyright © 2016, Oracleand/orits affiliates. Allrights 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 commitmentto 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 functionalitydescribed for Oracle’s products remains at the sole discretion of Oracle. 2
  • 3. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Almost all organizations require their most critical systems to be highly available 3 100%
  • 4. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | InnoDB Cluster 4 or NDB Cluster
  • 5. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | • MySQL InnoDB Cluster – Easy HA built into MySQL 5.7+ – Write consistency – Read Scalability – App failover using MySQL Router – Management via mysqlsh – InnoDB storage engine • MySQL NDB Cluster – In memory database – Automatic sharding – Native access via several API – Read/write consistency – Read/write scalability – NDB storage engine How Do The Two Compare I
  • 6. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | How Do The Two Compare II MySQLInnoDBCluster MySQLNDBCluster StorageEngine InnoDB NDBCLUSTER DistributedArchitecture Sharednothing Sharednothing ConsistencyModel Weak Consistency StrongConsistency Sharding No Yes Arbitration No Yes LoadBalancing No Yes NoSQLAPIs MySQLDocumentStore NativeNDB API OperationalComplexity Medium High Administration Standard(MySQL) Custom(MySQL+ NDB)
  • 7. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | InnoDB Cluster 7
  • 8. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | InnoDB Cluster 8 App Servers with MySQLRouter MySQLGroupReplication MySQLShell Setup,Manage, Orchestrate “High Availability becomes a core first class feature of MySQL!”
  • 9. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | 9 MySQL InnoDB Cluster: 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.”
  • 10. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | • One Product: MySQL – All componentscreated together – Tested together – Packaged together • Easy to Use – One client: MySQL Shell – Easy packaging – Integrated orchestration – Homogenousservers • Flexible and Modern – SQL and NoSQL together – ProtocolBuffers – Developer friendly • Support Read/Write Scale Out – Sharded clusters – Federated system of N replica sets – Each replica set manages a shard 10 MySQL InnoDB Cluster: Goals
  • 11. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQLConnector Application MySQL Router MySQL Connector Application MySQL Router MySQL Shell MySQLConnector Application MySQL Router MySQLConnector Application MySQL Router MySQL InnoDB Cluster: High Level Architecture MySQL InnoDB cluster MySQL Enterprise Monitor …
  • 12. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Group Replication Natively distributed and highly available replica sets
  • 13. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Group Replication: What Is It? • Group Replication library – Implementationof Replicated Database State Machine theory • MySQL GCS is based on Paxos (variant of Mencius) – Providesvirtually synchronous replication for MySQL 5.7+ – Supported on all MySQL platforms • Linux,Windows, Solaris, OSX, FreeBSD “Multi-master update anywhere replication plugin for MySQL with built-in conflict detection and resolution, automatic distributed recovery, and group membership.” 13 App Servers with MySQLRouter MySQLGroupReplication MySQLShell Setup,Manage, Orchestrate
  • 14. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Group Replication: What Does It Provide? • A highly available distributed MySQL database service – Removes the need for manually handling server fail-over – Providesdistributed fault tolerance – Enables Active/Active update anywhere setups – Automates reconfiguration (adding/removing nodes, crashes, failures) – Automaticallydetects and handles conflicts 14
  • 15. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Group Replication: Architecture Node Types R: Trafficrouters/proxies:mysqlrouter,haproxy,sqlproxy,... M:mysqld nodes participatingin Group Replication 15
  • 16. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | 16 MySQL Server: Full Stack
  • 17. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Router Transparent application connection routing
  • 18. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Router: 2.1 • Nativesupport for InnoDB clusters – Understands Group Replication topology – Utilizes metadata schema stored on each member • Bootstraps itself and sets up client routing for the InnoDB cluster • Allows for intelligent client routing into the InnoDB cluster • Supports multi-master and single primary modes • Core improvements – Logging – Monitoring – Performance – Security 18 App Servers with MySQLRouter MySQLGroupReplication MySQLShell Setup,Manage, Orchestrate labs.mysql.com
  • 19. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Shell Single tool for development, setup, management, orchestration, and monitoring
  • 20. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Shell 20 A single unified client for all administrative and operations tasks App Servers with MySQLRouter MySQLGroupReplication MySQLShell Setup,Manage, Orchestrate • Multi-Language: JavaScript, Python, and SQL – Naturally scriptable • Supports both Document and Relational models • Exposes full Development and Admin API ”MySQL Shell provides the developer and DBA with a single intuitive, flexible, and powerfull interface for all MySQL related tasks!”
  • 21. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Shell: Admin API • mysql-js> dba.help() • The global variable 'dba' is used to access the MySQL AdminAPI • Perform DBA operations – Manage MySQL InnoDB clusters • Create clusters • Deploy MySQL instances • Get cluster info • Start/Stop MySQL Instances • Validate MySQL instances … Database Administration Interface labs.mysql.com App Servers with MySQLRouter MySQLGroupReplication MySQLShell Setup,Manage, Orchestrate
  • 22. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Shell – Deploy MySQL Instances shell> mysqlsh mysql-js> dba.deployLocalInstance(3306) mysql-js> dba.deployInstance(‘hanode2:3306’) mysql-js> dba.deployInstance(‘hanode3:3306’) 22
  • 23. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Shell – Create an InnoDB Cluster mysql-js> connect root@hanode1:3306 mysql-js> cluster = dba.createCluster(‘NewAppCluster') mysql-js> cluster.addInstance('root@hanode2:3306') mysql-js> cluster.addInstance('root@hanode3:3306') 23
  • 24. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Shell – Add a MySQL Router shell> mysqlrouter --bootstrap hanode1:3306 shell> mysqlrouter & shell> mysqlsh --uri root@localhost:6446 24
  • 25. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | 25 MySQLDocumentStore Relational & Document Models MySQLHA Out-Of-BoxHA Read Scale-Out Async Replication+ Auto Failover Write Scale-Out Sharding S1 S2 S3 S4 * Download InnoDB Cluster Preview Release from labs.mysql.com What’s Next
  • 26. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Enterprise Monitor • Nativeholistic support for InnoDB clusters – Topologyviews – Detailed metrics and graphs – Best Practice advice • Monitoring of MySQL Routers • Monitoring of Group Replication 26
  • 27. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | NDB Cluster 27
  • 28. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Driving Database Requirements 9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 28 RockSolid Availability In-Memory Real-Time Performance Extreme Read & Write Scalability Elasticity
  • 29. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | HLR/ HSS Billing,AuC,VLR AuC, Call Routing,Billing Location Updates Pre& PostPaid • Massive volumes of write traffic • < 3ms database response • Downtime & lost transactions = lost $ • Extremly cost sensitive market MySQL Cluster in Action: http://bit.ly/oRI5tF No Trade-Offs: Cellular Network
  • 30. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | UserSession Session management Session management LocationUpdates, Charactermovements,... • Massive volumes of write traffic • < 3ms database response • Downtime & lost transactions = lost $ • Extremly sensitive crowd No Trade-Offs: Massive Parallel Online Games
  • 31. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Confidential –OracleInternal/Restricted/Highly Restricted 31 No Trade-offs: Hadoop NameNodes Leader HDFS Client DataNodes Hops.io MySQLNDB ClusterData Nodes ClusterJ NDB Cluster powering the world‘s fastest and most scalable Hadoop filesystem. Scaling Hadoop 20x!
  • 32. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Cluster Overview • Memoryoptimizedtables with durability • PredictableLow-Latency,BoundedAccessTime REAL-TIME • Auto-Sharding,Active-Active • ACIDCompliant,OLTP+ Real-TimeAnalyticsHIGH SCALE, READS + WRITES FULLYELASTIC • Active-Active, Shared nothing, no Single Point of Failure • Self Healing + On-Line Operations 99.999% AVAILABILITY • Key/Value + Complex, Relational Queries • SQL + Memcached + JavaScript + Java + HTTP/REST & C++ SQL + NoSQL • Open Source + Commercial Editions, Easy to use and deploy • Commodity hardware + Management, Monitoring Tools LOW TCO 9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 32 • Add and remove storage and performance capacity in seconds • Fully cloud enabled
  • 33. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | NoSQL Access to MySQL Cluster data Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps JPA Cluster JPA PHP Perl Python Ruby JDBC Cluster J JS Apache Memcached MySQL JNI Node.JS mod_ndb ndb_eng NDB API (C++) MySQLCluster Data Nodes
  • 34. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Cluster Architecture MySQLCluster DataNodes Clients ApplicationLayer Data Layer 9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 34
  • 35. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Data Partitioning / Auto-sharding 28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 35 User-id(PK) Service(PK) Data 1773467253 chat xxx 6257346892 chat xxx 1773467253 photos xxx 7234782739 photos xxx 8235602099 reminders xxx 8437829249 location xxx MySQLClusterDataNodes
  • 36. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Data Partitioning / Auto-sharding 28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 36 User-id(PK) Service(PK) Data 1773467253 chat xxx 6257346892 chat xxx 1773467253 photos xxx 7234782739 photos xxx 8235602099 reminders xxx 8437829249 location xxx MySQLClusterDataNodes Shard Key
  • 37. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Data Partitioning / Auto-sharding 28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 37 User-id(PK) Service(PK) Data 1773467253 chat xxx 6257346892 chat xxx 1773467253 photos xxx 7234782739 photos xxx 8235602099 reminders xxx 8437829249 location xxx MySQLClusterDataNodes Shard Key
  • 38. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | NodeGroup DataNode 1 • Datatransparently sharded between Node Groups • Each fragment active in one Data Node with synchronous replication to 2nd Data Node in same Node Group 28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 38 DataNode 2 NodeGroup DataNode 3 DataNode 4 Data Partitioning / Auto-sharding
  • 39. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Data Partitioning / Auto-sharding • DBA chooses which part of Primary Key to use as shard key • Fragment for each row decided by hashing the sharding key 28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 39 User-id(PK) Service(PK) Data 1773467253 chat xxx 6257346892 chat xxx 1773467253 photos xxx 7234782739 photos xxx 8235602099 reminders xxx 8437829249 location xxx Shard Key NodeGroup DataNode 1 DataNode 2 NodeGroup DataNode 3 DataNode 4
  • 40. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | • Dataautomatically rearranged to use new capacity • Designed to be a slow background process not impacting real-time performance. 28/09/2016 Copyright 2015,oracle and/or its affiliates. Allrights reserved 40 NodeGroup Data Node 1 Data Node 2 NodeGroup Data Node 3 Data Node 4 NodeGroup Data Node 5 Data Node 6 On-line Scaling and Elasticity Re-partioning
  • 41. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL Cluster 7.2: 1.2 Billion UPDATEs per Minute • NoSQL C++ API, flexaSynch benchmark • 30 x Intel E5-2600 Intel Servers, 2 socket, 64GB • ACID Transactions, with Synchronous Replication http://www.mysql.com/why- mysql/white-papers/mysql-cluster- benchmarks-1-billion-writes-per-minute/0 5 10 15 20 25 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 MillionsofUPDATEsperSecond MySQL Cluster Data Nodes 9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 41
  • 42. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | • Memory optimized tables – Durable – Mix with disk-based tables • Massively concurrent OLTP • Distributed Joins for analytics • Parallel table scans for non-indexed searches • MySQL Cluster 7.4 FlexAsych – 200M NoSQL Reads/Second 28/09/2016 42 MySQL Cluster 7.4 NoSQL Performance 200 Million NoSQL Reads/Second Copyright 2015,oracle and/or its affiliates. Allrights reserved - 50,000,000 100,000,000 150,000,000 200,000,000 250,000,000 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 Readspersecond Data Nodes FlexAsync Reads
  • 43. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | • Memory optimized tables – Durable – Mix with disk-based tables • Massively concurrent OLTP • Distributed Joins for analytics • Parallel table scans for non-indexed searches • MySQL Cluster 7.4 DBT2 BM – 2.5M SQL Statements/Second 28/09/2016 43 MySQL Cluster 7.4 SQL Performance 2.5M SQL Statements/Second Copyright 2015,oracle and/or its affiliates. Allrights reserved - 500,000 1,000,000 1,500,000 2,000,000 2,500,000 3,000,000 2 4 6 8 10 12 14 16 SQLStatements/sec Data Nodes DBT2 SQL Statements per Second
  • 44. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | 44 MySQL NDB Cluster 7.5 • Read Optimized Tables • Fully Replicated Capacity and Scale Out • MySQL 5.7 • JSONData Type • Generated Columns • Records-Per-Key Optimization Improved SQL • Improved Reporting • Improved Logging • Improved Visibility • Improved Restore Management RC
  • 45. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | • Reading from backup allows to read from any copy • Previously all reads were directed towards the primary fragment only Confidential –OracleInternal/Restricted/Highly Restricted 45 MySQL NDB 7.5: Reading from backup NodeGroup DataNode 1 DataNode 2
  • 46. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | MySQL NDB Cluster 7.5: Fully replicated • Fully replicated allows a table to be read/written locally on any node • Ideal for staticdata, faster join performance Confidential –OracleInternal/Restricted/Highly Restricted 46 NodeGroup DataNode 1 DataNode 2 NodeGroup DataNode 3 DataNode 4
  • 47. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Next Steps Learn More • www.mysql.com/cluster • https://dev.mysql.com/doc/mysql-innodb-cluster/en/ • Authentic MySQL Curriculum: http://oracle.com/education/mysql Try it Out • dev.mysql.com/downloads/cluster/ 7.4 GA and 7.5 DMR 1 • https://labs.mysql.com/ Let us know what you think • http://mysqlhighavailability.com/ • forums.mysql.com/list.php?25 9th April 2015 Copyright 2015,oracle and/or its affiliates. Allrights reserved 47
  • 48. Copyright © 2016, Oracleand/orits affiliates. Allrights reserved. | Thank you!