(Go: >> BACK << -|- >> HOME <<)

SlideShare a Scribd company logo
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Replication: What's new in MySQL 8
Luís Soares
Software Development Director
MySQL Replication
1
Nuno Carvalho
Principal Software Engineer
MySQL Replication
Vitor Oliveira
Performance Architect
MySQL Replication
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
2
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
3
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Introduction
Use Cases
Enhancements in MySQL 8 (and 5.7)
Roadmap
Conclusion
Program Agenda
1
2
3
4
4
5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Introduction1
5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 6
Boom
Web Explodes
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Today...
– Technology mesh.
– All things distributed.
– Large amounts of data to handle, transform, store.
– Offline periods are horribly expensive, simply unaffordable.
– Go green requires dynamic and adaptative behavior.
– Much more data to store – e.g. social media, “Look at all of my pictures!”;
Monitoring – Keeping logs for N years! ; IoT – and much more.
– Moving, transforming and processing data quicker than anyone else means
having an edge over competitors.
– It is a zoo. Distributed coordination and monitoring is key.
7
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Database Replication
Server
B
Server
A
App
INSERT ...
INSERT ... INSERT ...
Replication
“The process of generating and reproducing
multiple copies of data at one or more sites.”,
Database Systems: A Practical Approach to Design, Implementation, and
Management, Thomas M. Connolly, Carolyn E. Begg, Third Edition, 2002.
8
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
MySQL Database Replication: Overview
INSERT ...
Server
B
binary log
INSERT ...
relay log
INSERT ...
Server
A
binary log
App
Receiver
Meta-data
Update
Applier
Meta-data
Update
INSERT ...
Comm.
Framework
9
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
MySQL Database Replication: Overview
INSERT ...
Server
B
binary log
INSERT ...
relay log
INSERT ...
Server
A
binary log
App
Receiver
Meta-data
Update
Applier
Meta-data
Update
INSERT ...
Persistent
log buffer Threaded
applier
Send, Receive,
ACK, NACK,
Heartbeating,
...
Comm.
Framework
Capture
statements
or data
changes.
Persistent
log buffer
10
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
MySQL Database Replication: Some Notes
• Logical replication log recording master changes (binary log).
• Row or statement based format (may be intermixed).
• Each transaction is split into groups of events.
• Control events: Rotate, Format Description, Gtid, and more.
Binary Log
Layout of the Binary Log.
BEGIN ...E1 E2 COMMIT BEGIN ...E1 E2 COMMITGTID GTID
11
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Coordination Between Servers
MySQL Database Replication: Some Notes
12
A B Since 3.23
A B
semi-synchronous (plugin)
A CB
group replication (plugin)
transactions
transactions
Since 5.5
Since 5.7.17
asynchronous (native)
transactions, membership, coordination
acks
And in MySQL 8 as of 8.0.1
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Use cases2
13
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Clustering Made Practical
R
A
I
S
E
eplicate
utomate
ntegrate
cale
nhance
14
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Replicate
• For highly available infrastructures where:
– the number of servers has to grow or shrink dynamically;
– with as little pain as possible.
Group Replication
A B C D E
15
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Automate
• Single-primary mode
– Automatic PRIMARY/SECONDARY role assignment
– Automatic new PRIMARY election on PRIMARY failures
– Automatic setup of read/write modes on PRIMARY and SECONDARIES
– Automatic global consistent view of which server is the PRIMARY
Group Replication
S S S* S P S
Next Primary
Old Primary
16
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Integrate
Binary Log
• Logical replication log
– Extract, transform and load.
– MySQL fits nicely with other
technologies.
INSERT ...
Server
A
Replication log
App
INSERT ...
Hadoop
Kafka
Solr
Lucene
...
Transform
17
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Scale
• Replicate between clusters
– For disaster recovery
• Read Replicas
– For read-scale out. Deploy
asynchronous read replicas
connected to the cluster
Asynchronous Replication A B C
J K L
D
I
M
Z
.
.
.
.
.
.
18
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
InnoDB Cluster
Enhance
S1 S2 S3 S4 S…
M
M M
MySQL Connector
Application
MySQL Router
MySQL Connector
Application
MySQL Router
MySQL Shell
HA
ReplicaSet1
• InnoDB Cluster Integrated Solution
– Group Replication for high availability.
– Asynchronous Replication for Read Scale-
out.
– One-stop shell to deploy and manage the
cluster.
– Seamlessly and automatically route the
workload to the proper database server in
the cluster.
– Hide failures from the application.
19
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Binary Log Enhancements
Enhancements in MySQL 8 (and 5.7)
3.1
3
20
Operations3.2
Performance3.3
Monitoring3.4
Other3.5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
New Metadata in the Binary Log
Easy to extract, transform and load into other systems.
Gtid_log_event
Transaction length, …
Commit timestamps
Table_map event
Types, primary key, …
Sign, charset, …
Write_rows
Commit
Server
A
Binary log
App
INSERT ...
21
• New Metadata
– Easy to decode what is in the
binary log.
– Further facilitates connecting
MySQL to other systems using the
binary log stream.
– Capturing data changes through
the binary log is simplified.
– Also more stats showing where
the data is/was at a certain point
in time.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Enhancements in MySQL 8 (and 5.7)
Binary Log Enhancements3.1
3
22
Operations3.2
Performance3.3
Monitoring3.4
Other3.5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Replicate, Filter, Aggregate, Query
Multi-Source Replication Filters
23
A
B
C
users
bio
groups
users
posts
comments
users bio groups posts comments
only users
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Automatic protection against involuntarily tainting of offline replicas
Preventing Updates On Replicas that Leave the Cluster
24
B C
A
B CA
A joins a single primary cluster and
it allows update operations prior
to joining.
A becomes a secondary and is
automatically set to read only.
B C
A
A leaves the group and remains
read only until the DBA reverts.
Backported to 5.7.20
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Choose next primary by assigning election weights to the candidates.
Primary Election Weights
25
B CA
w=100 w=90w=50
B
CA
w=100
w=90w=50
CA
w=90w=50
B is the primary.
B is not in the group anymore.
C has higher weight than A.
C is elected the new primary.
Backported to 5.7.20
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Automatically Shutdown When Replica Leaves the Group Involuntarily
Automatically Abort Replicas that Leave the Group
26
B C
A
A shuts itself down, thus becoming
effectively unavailble for both reads
and write operations.
B CA
A is a secondary and was
automatically set to read only.
B C
A
A leaves the group involuntarily
(failed to apply changes, network
partitioned, etc).
New in 8.0.12
@@group_replication_exit_state_action={ READ_ONLY | ABORT_SERVER }
Backported to 5.7.24
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
User tells current primary to give up its role and assign it to another server.
Trigger Primary Election Online
27
B CA B CA
B is the primary.
Now I want A to be the primary, not B.
New in 8.0.13
A CB
A is the primary. B stepped down.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
User can specify on which mode the group operates.
Change Group Mode Online
28
B CA B CA
Single-primary mode,
B is the primary.
Now I want the group operating in
multi-primary mode.
New in 8.0.13
A CB
Return to single-primary mode.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
User controls the amount of time to wait until others decide to evict a member from
the group.
Relaxed Member Eviction
29
B CA B CA
I think A is not around anymore.
Lets kick it out of the group!
New in 8.0.13
C
See… I told you. A is back!
Good thing we waited.
Hold on. Lets wait for sometime!
Maybe it is just too busy to talk to us
right now...
OK. Lets give it some
more time!
UNREACHABLE
A B
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Enhancements in MySQL 8 (and 5.7)
Binary Log Enhancements3.1
3
30
Operations3.2
Performance3.3
Monitoring3.4
Other3.6
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Highly Efficient Replication Applier
• WRITESET dependency tracking allows applying a single threaded
workload in parallel.
– Delivers the best throughput of the three dependency trackers, at any concurrency
level.
• WRITESET_SESSION in addition to writesets tracks sessions dependencies
as well. Two transactions executed on the same session are always
scheduled in execution order on replica servers.
• Fast Group Replication recovery – time to catch up.
Write set parallelization
31
Backported to 5.7.22
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Write set parallelization
Highly Efficient Replication Applier
32
0
5000
10000
15000
20000
25000
30000
35000
40000
45000
50000
1 2 4 8 16 32 64 128 256
Updates/secondAppliesontheReplica
Number of Clients on the Master
Applier Throughput: Sysbench Update Index
COMMIT_ORDER WRITESET WRITESET_SESSION
Backported to 5.7.22
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Replica quickly online by using WRITESET
Fast Group Replication Recovery
33
0
1
2
3
4
5
6
7
8
9
10
Sysbench RW at 33% capacity
(workload: 9K TPS on 64 threads)
Sysbench RW at 66% capacity
(workload: 18K TPS on 64 threads)
Timetocacth-uppertimeofworloadmissing(ratio)
Group Replication Recovery Time: Sysbench
Update Index (durable settings)
MySQL 5.7.20 MySQL 8.0.3
0
1
2
3
4
5
6
7
8
9
10
Sysbench RW at 33% capacity
(workload: 4K TPS on 64 threads)
Sysbench RW at 66% capacity
(workload: 8K TPS on 64 threads)
Timetocacth-uppertimeofworloadmissing(ratio)
Group Replication Recovery Time: Sysbench
RW (durable settings)
MySQL 5.7.20 MySQL 8.0.3
Backported to 5.7.22
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
High Cluster Throughput
– At lower thread count, the throughput of the system doubles in MySQL 8.0 compared
to MySQL 5.7 on durable settings.
– At lower thread count, the throughput of the system more than doubles in MySQL 8.0
compared to MySQL 5.7 on non-durable settings.
More transactions per second while sustaining zero lag on any replica
34
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
More transactions per second while sustaining zero lag on any replica
High Cluster Throughput
35
8 16 32 64
Number of Clients on the Master
Asynchronous Replication Sustained Throughput
(Sysbench Update Index, non-durable settings)
MySQL 5.7 MySQL 8.0.3
0
5000
10000
15000
20000
25000
30000
35000
40000
45000
8 16 32 64
Updatespersecond
Number of Clients on the Master
Asynchronous Replication Sustained Throughput
(Sysbench Update Index, durable settings)
MySQL 5.7 MySQL 8.0.3
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Replicate only changed fields of documents (Partial JSON Updates)
Efficient Replication of JSON Documents
36
0
10000
20000
30000
40000
50000
60000
Entire JSON Partial JSON
Bytespertransaction
Binary Log Space Per Transaction
FULL MINIMAL
• Numbers are from a specially
designed benchmark:
• tables have 10 JSON fields,
• each transaction modifies
around 10% of the data
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
0,0
500,0
1000,0
1500,0
2000,0
2500,0
1 2 3 4
Transactionspersecond
Throughput on the Master:
Partial JSON vs Complete JSON
4 8 16 32 64
Replicate only fields of the document that changed (Partial JSON Updates)
Efficient Replication of JSON Documents
37
0
1000
2000
3000
4000
5000
6000
7000
8000
9000
Throughput on the Slave:
Partial JSON vs Ccomplete JSON
4 8 16 32 64
FULL MINIMAL FULL MINIMAL FULL MINIMAL FULL MINIMAL
COMPLETE JSON PARTIAL JSON COMPLETE JSON PARTIAL JSON
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Enhancements in MySQL 8 (and 5.7)
Binary Log Enhancements3.1
3
38
Operations3.2
Performance3.3
Monitoring3.4
Other3.5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Through the entire asynchronous topology
Monitor Lag With Microsecond Precision
39
A B C D
How much time does my data take to reach
D coming from A?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
From the immediate master
Monitor Lag With Microsecond Precision
40
A B C D
How much time does my data originated in
A takes to flow from B to C?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
For each stage of the replication applier process
Monitor Lag with Microsecond Precision
41
D
Data
Worker ThreadsRelay Log
Coordinator
Thread
Receiver
Thread
• Per Stage Timestamps
– User can monitor how much time
it takes for a specific transaction
to traverse the pipeline.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Version, Role and more
Global Group Stats Available on Every Server
42
A B C
A is primary.
B, C are secondaries.
A: 5.7.20
B, C: 8.0.3
A is primary.
B, C are secondaries.
A: 5.7.20
B, C: 8.0.3
A is primary.
B, C are secondaries.
A: 5.7.20
B, C: 8.0.3
• Query one Replica, Get status
of all
– Every replica reports group-wide
information about roles and
versions of the members of the
group.
– Also available at any replica are
group-wide status.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Group Replication Message Cache Memory Usage
• GCS/XCom’s Paxos message cache is instrumented.
• GCS/XCom’s Paxos message cache memory usage is exposed in
performance schema.
43
-- This is a session open on ServerA and the user is reading stats on GCS_Xcom message cache
ServerA> select * from memory_summary_global_by_event_name where event_name
like "%GCS_XCom%"G
*************************** 1. row ***************************
EVENT_NAME: memory/group_rpl/GCS_XCom::xcom_cache
COUNT_ALLOC: 28890317
COUNT_FREE: 28840318
SUM_NUMBER_OF_BYTES_ALLOC: 24499151783
SUM_NUMBER_OF_BYTES_FREE: 24470424555
LOW_COUNT_USED: 0
CURRENT_COUNT_USED: 49999
HIGH_COUNT_USED: 50000
LOW_NUMBER_OF_BYTES_USED: 0
CURRENT_NUMBER_OF_BYTES_USED: 28727228
HIGH_NUMBER_OF_BYTES_USED: 135676530
1 row in set (0.01 sec)
New in 8.0.12
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Enhancements in MySQL 8 (and 5.7)
Binary Log Enhancements3.1
3
44
Operations3.2
Monitoring3.3
Performance3.4
Other3.5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Changes to defaults in MySQL 8
• Binary log is on by default.
• Logging of slave updates is on by default.
• Replication metadata is stored in InnoDB tables by default instead of files.
• Row-based applier uses hash scans to find rows instead of table scans.
• Transaction write-set extraction is on by default.
• Binary log expiration is set to 30 days by default.
• Server-id is set to 1 by default instead of 0.
High performance replication enabled out-of-the-box
45
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Other MySQL 8 Replication Enhancements
• Monitoring: Monitor replication even when disk full
• Monitoring: Current query being applied, even for row-based replication
• Monitoring: Replication filters statistics in performance schema
• Monitoring: Group Replication threads instrumented and shown in
performance schema
• Monitoring: Group Replication conditional variables and mutexes
instrumented and shown in performance schema
• Monitoring: Replication worker transaction retries counter added to
performance schema applier table.
46
New in 8.0.13
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Other MySQL 8 Replication Enhancements
• Operations: Restore global transaction identifiers metadata on a non-
empty server
• Operations: Specify binary log file number after RESET MASTER
• Operations: Specify when binary log files are automatically purged (with
second precision)
• Operations: SAVEPOINT support when write sets are being extracted
• Operations: P_S table for consistent log positions (replacing potentially
expensive FLUSH TABLE WITH READ LOCKS)
• Operations: Support hostnames in Group Replication whitelist
• Operations: New options to fine tune the cluster automatic flow control.
47
Backported to 5.7.19
Backported to 5.7.21
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Other MySQL 8 Replication Enhancements
• Troubleshooting: Dynamic and high performance debugging of group
replication inter-node messaging
• Recoverability: Recover DDL and binary log together after a crash
48
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Roadmap4
49
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
The Road to MySQL 8 Group Replication and InnoDB Clusters
MySQL 5.7.9
5.7 is GA
lifecycle interfaces
P_S tables for GR
server side changes
GR 0.2.0 labs
Hello world!
MySQL 5.7.17
GR is GA
MySQL 8.0.1 DMR
GR is released with 8
InnoDB Cluster is GA
Lots of replication
enhancements
MySQL 8.0.3 RC1
bug fixes
partial json updates
monitoring enhancements
50
MySQL 8.0.4 RC2
bug fixes
monitoring
MySQL 8.0.11 GA
bug fixesMySQL 8.0.0 DMR
MySQL 8.0.2 DMR
More replication
enhancements
MySQL 8.0.12 GA
Member auto-shutdown
Instrumentation
MySQL 8.0.13 GA
Select Primary
Monitoring
Performance
Relax Eviction
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
MySQL InnoDB Cluster: The End Goal
S1 S2 S3 S4 S…
M
M M
MySQL Connector
Application
MySQL Router
MySQL Connector
Application
MySQL Router
MySQL Shell
HA
ReplicaSet1
S1 S2 S3 S4 S…
M
M M
MySQL Connector
Application
MySQL Router
HA
ReplicaSetN
51
...
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Conclusion5
52
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Conclusion
Latest MySQL 8 GA is out:
• Performance/efficiency improvements
– Group Replication copes better with high latency networks.
• Replication instrumentation
– More memory and replication stats instrumentation.
• Improved Dev-Ops and DBA experience
– Options to relax automatic member eviction
– Trigger primary election and select new primary online.
– Automatically shutdown the server if member gets out of the group involuntarily.
53
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Where to go from here?
• Packages
– http://www.mysql.com/downloads/
• Documentation
– https://dev.mysql.com/doc/refman/8.0/en/
• Blogs from the Engineers (news, technical information, and much more)
– http://mysqlhighavailability.com
54
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

More Related Content

What's hot

Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
Markus Michalewicz
 
Java Library for High Speed Streaming Data
Java Library for High Speed Streaming Data Java Library for High Speed Streaming Data
Java Library for High Speed Streaming Data
Oracle Developers
 
Perth APAC Groundbreakers tour - 18c features
Perth APAC Groundbreakers tour - 18c featuresPerth APAC Groundbreakers tour - 18c features
Perth APAC Groundbreakers tour - 18c features
Connor McDonald
 
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
Sandesh Rao
 
The Oracle Autonomous Database
The Oracle Autonomous DatabaseThe Oracle Autonomous Database
The Oracle Autonomous Database
Connor McDonald
 
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
Sandesh Rao
 
Step by Step instructions to install Cluster Domain deployment model
Step by Step instructions to install Cluster Domain deployment modelStep by Step instructions to install Cluster Domain deployment model
Step by Step instructions to install Cluster Domain deployment model
Anil Nair
 
Oracle RAC 12c Rel. 2 & Cluster Architecture Internals OOW17 by Anil Nair
Oracle RAC 12c Rel. 2 & Cluster Architecture Internals OOW17 by Anil NairOracle RAC 12c Rel. 2 & Cluster Architecture Internals OOW17 by Anil Nair
Oracle RAC 12c Rel. 2 & Cluster Architecture Internals OOW17 by Anil Nair
Markus Michalewicz
 
Harvard University database
Harvard University databaseHarvard University database
Harvard University database
Md.Mojibul Hoque
 
A Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle CloudA Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle Cloud
Markus Michalewicz
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
Satishbabu Gunukula
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Markus Michalewicz
 
Oracle RAC on Engineered Systems
Oracle RAC on Engineered SystemsOracle RAC on Engineered Systems
Oracle RAC on Engineered Systems
Markus Michalewicz
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission Critical
Markus Michalewicz
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
Anil Nair
 
TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new
Sandesh Rao
 
MAA - Best Practices for the Cloud
MAA - Best Practices for the CloudMAA - Best Practices for the Cloud
MAA - Best Practices for the Cloud
Markus Michalewicz
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
Markus Michalewicz
 
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
The Machine Learning behind the Autonomous Database   ILOUG Feb 2020 The Machine Learning behind the Autonomous Database   ILOUG Feb 2020
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
Sandesh Rao
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
Anil Nair
 

What's hot (20)

Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
 
Java Library for High Speed Streaming Data
Java Library for High Speed Streaming Data Java Library for High Speed Streaming Data
Java Library for High Speed Streaming Data
 
Perth APAC Groundbreakers tour - 18c features
Perth APAC Groundbreakers tour - 18c featuresPerth APAC Groundbreakers tour - 18c features
Perth APAC Groundbreakers tour - 18c features
 
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
 
The Oracle Autonomous Database
The Oracle Autonomous DatabaseThe Oracle Autonomous Database
The Oracle Autonomous Database
 
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
 
Step by Step instructions to install Cluster Domain deployment model
Step by Step instructions to install Cluster Domain deployment modelStep by Step instructions to install Cluster Domain deployment model
Step by Step instructions to install Cluster Domain deployment model
 
Oracle RAC 12c Rel. 2 & Cluster Architecture Internals OOW17 by Anil Nair
Oracle RAC 12c Rel. 2 & Cluster Architecture Internals OOW17 by Anil NairOracle RAC 12c Rel. 2 & Cluster Architecture Internals OOW17 by Anil Nair
Oracle RAC 12c Rel. 2 & Cluster Architecture Internals OOW17 by Anil Nair
 
Harvard University database
Harvard University databaseHarvard University database
Harvard University database
 
A Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle CloudA Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle Cloud
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
 
Oracle RAC on Engineered Systems
Oracle RAC on Engineered SystemsOracle RAC on Engineered Systems
Oracle RAC on Engineered Systems
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission Critical
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new
 
MAA - Best Practices for the Cloud
MAA - Best Practices for the CloudMAA - Best Practices for the Cloud
MAA - Best Practices for the Cloud
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
The Machine Learning behind the Autonomous Database   ILOUG Feb 2020 The Machine Learning behind the Autonomous Database   ILOUG Feb 2020
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 

Similar to Replication Whats New in Mysql 8

Using The Mysql Binary Log As A Change Stream
Using The Mysql Binary Log As A Change StreamUsing The Mysql Binary Log As A Change Stream
Using The Mysql Binary Log As A Change Stream
Luís Soares
 
MySQL 8 High Availability with InnoDB Clusters
MySQL 8 High Availability with InnoDB ClustersMySQL 8 High Availability with InnoDB Clusters
MySQL 8 High Availability with InnoDB Clusters
Miguel Araújo
 
MySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and ScalabilityMySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and Scalability
Shivji Kumar Jha
 
Hyderabad Mar 2019 - Autonomous Database
Hyderabad Mar 2019 - Autonomous DatabaseHyderabad Mar 2019 - Autonomous Database
Hyderabad Mar 2019 - Autonomous Database
Connor McDonald
 
MySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationMySQL High Availability with Group Replication
MySQL High Availability with Group Replication
Nuno Carvalho
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
Bobby Curtis
 
How to add stuff to MySQL
How to add stuff to MySQLHow to add stuff to MySQL
How to add stuff to MySQL
Georgi Kodinov
 
My sql8 innodb_cluster
My sql8 innodb_clusterMy sql8 innodb_cluster
My sql8 innodb_cluster
Mysql User Camp
 
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
Frederic Descamps
 
Implementing MySQL Database-as-a-Service using open source tools
Implementing MySQL Database-as-a-Service using open source toolsImplementing MySQL Database-as-a-Service using open source tools
Implementing MySQL Database-as-a-Service using open source tools
All Things Open
 
MySQL Group Replication - an Overview
MySQL Group Replication - an OverviewMySQL Group Replication - an Overview
MySQL Group Replication - an Overview
Matt Lord
 
Everything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group ReplicationEverything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group Replication
Nuno Carvalho
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07
Ivan Ma
 
Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2
Kathy Forte (Hassard)
 
“Quantum” Performance Effects: beyond the Core
“Quantum” Performance Effects: beyond the Core“Quantum” Performance Effects: beyond the Core
“Quantum” Performance Effects: beyond the Core
C4Media
 
Upgrading to my sql 8.0
Upgrading to my sql 8.0Upgrading to my sql 8.0
Upgrading to my sql 8.0
Ståle Deraas
 
Backup and Recovery in MySQL Cluster
Backup and Recovery in MySQL ClusterBackup and Recovery in MySQL Cluster
Backup and Recovery in MySQL Cluster
priyanka_sangam
 
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 InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
Miguel Araújo
 
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Miguel Araújo
 

Similar to Replication Whats New in Mysql 8 (20)

Using The Mysql Binary Log As A Change Stream
Using The Mysql Binary Log As A Change StreamUsing The Mysql Binary Log As A Change Stream
Using The Mysql Binary Log As A Change Stream
 
MySQL 8 High Availability with InnoDB Clusters
MySQL 8 High Availability with InnoDB ClustersMySQL 8 High Availability with InnoDB Clusters
MySQL 8 High Availability with InnoDB Clusters
 
MySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and ScalabilityMySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and Scalability
 
Hyderabad Mar 2019 - Autonomous Database
Hyderabad Mar 2019 - Autonomous DatabaseHyderabad Mar 2019 - Autonomous Database
Hyderabad Mar 2019 - Autonomous Database
 
MySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationMySQL High Availability with Group Replication
MySQL High Availability with Group Replication
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
 
How to add stuff to MySQL
How to add stuff to MySQLHow to add stuff to MySQL
How to add stuff to MySQL
 
My sql8 innodb_cluster
My sql8 innodb_clusterMy sql8 innodb_cluster
My sql8 innodb_cluster
 
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
 
Implementing MySQL Database-as-a-Service using open source tools
Implementing MySQL Database-as-a-Service using open source toolsImplementing MySQL Database-as-a-Service using open source tools
Implementing MySQL Database-as-a-Service using open source tools
 
MySQL Group Replication - an Overview
MySQL Group Replication - an OverviewMySQL Group Replication - an Overview
MySQL Group Replication - an Overview
 
Everything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group ReplicationEverything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group Replication
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07
 
Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2
 
“Quantum” Performance Effects: beyond the Core
“Quantum” Performance Effects: beyond the Core“Quantum” Performance Effects: beyond the Core
“Quantum” Performance Effects: beyond the Core
 
Upgrading to my sql 8.0
Upgrading to my sql 8.0Upgrading to my sql 8.0
Upgrading to my sql 8.0
 
Backup and Recovery in MySQL Cluster
Backup and Recovery in MySQL ClusterBackup and Recovery in MySQL Cluster
Backup and Recovery in MySQL Cluster
 
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 InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
 
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
 

Recently uploaded

Kolkata @ℂall @Girls ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Kolkata @ℂall @Girls ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model SafeKolkata @ℂall @Girls ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Kolkata @ℂall @Girls ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Misti Soneji
 
How to debug ColdFusion Applications using “ColdFusion Builder extension for ...
How to debug ColdFusion Applications using “ColdFusion Builder extension for ...How to debug ColdFusion Applications using “ColdFusion Builder extension for ...
How to debug ColdFusion Applications using “ColdFusion Builder extension for ...
Ortus Solutions, Corp
 
@ℂall @Girls Kolkata ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
@ℂall @Girls Kolkata  ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe@ℂall @Girls Kolkata  ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
@ℂall @Girls Kolkata ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Misti Soneji
 
dachnug51 - HCLs evolution of the employee experience platform.pdf
dachnug51 - HCLs evolution of the employee experience platform.pdfdachnug51 - HCLs evolution of the employee experience platform.pdf
dachnug51 - HCLs evolution of the employee experience platform.pdf
DNUG e.V.
 
@Call @Girls in Solapur 🤷‍♂️ XXXXXXXX 🤷‍♂️ Tanisha Sharma Best High Class S...
 @Call @Girls in Solapur 🤷‍♂️  XXXXXXXX 🤷‍♂️ Tanisha Sharma Best High Class S... @Call @Girls in Solapur 🤷‍♂️  XXXXXXXX 🤷‍♂️ Tanisha Sharma Best High Class S...
@Call @Girls in Solapur 🤷‍♂️ XXXXXXXX 🤷‍♂️ Tanisha Sharma Best High Class S...
Mona Rathore
 
Bhiwandi @Call @Girls Whatsapp 000000000 With Best And No 1
Bhiwandi @Call @Girls Whatsapp 000000000 With Best And No 1Bhiwandi @Call @Girls Whatsapp 000000000 With Best And No 1
Bhiwandi @Call @Girls Whatsapp 000000000 With Best And No 1
arvindkumarji156
 
WhatsApp Tracker - Tracking WhatsApp to Boost Online Safety.pdf
WhatsApp Tracker -  Tracking WhatsApp to Boost Online Safety.pdfWhatsApp Tracker -  Tracking WhatsApp to Boost Online Safety.pdf
WhatsApp Tracker - Tracking WhatsApp to Boost Online Safety.pdf
onemonitarsoftware
 
BoxLang Developer Tooling: VSCode Extension and Debugger
BoxLang Developer Tooling: VSCode Extension and DebuggerBoxLang Developer Tooling: VSCode Extension and Debugger
BoxLang Developer Tooling: VSCode Extension and Debugger
Ortus Solutions, Corp
 
mobile-app-development-company-in-noida.pdf
mobile-app-development-company-in-noida.pdfmobile-app-development-company-in-noida.pdf
mobile-app-development-company-in-noida.pdf
Mobile App Development Company in Noida - Drona Infotech
 
Java SE 17 Study Guide for Certification - Chapter 02
Java SE 17 Study Guide for Certification - Chapter 02Java SE 17 Study Guide for Certification - Chapter 02
Java SE 17 Study Guide for Certification - Chapter 02
williamrobertherman
 
Migrate your Infrastructure to the AWS Cloud
Migrate your Infrastructure to the AWS CloudMigrate your Infrastructure to the AWS Cloud
Migrate your Infrastructure to the AWS Cloud
Ortus Solutions, Corp
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio, Inc.
 
Intro to Amazon Web Services (AWS) and Gen AI
Intro to Amazon Web Services (AWS) and Gen AIIntro to Amazon Web Services (AWS) and Gen AI
Intro to Amazon Web Services (AWS) and Gen AI
Ortus Solutions, Corp
 
Schrodinger’s Backup: Is Your Backup Really a Backup?
Schrodinger’s Backup: Is Your Backup Really a Backup?Schrodinger’s Backup: Is Your Backup Really a Backup?
Schrodinger’s Backup: Is Your Backup Really a Backup?
Ortus Solutions, Corp
 
Design system: The basis for a consistent design
Design system: The basis for a consistent designDesign system: The basis for a consistent design
Design system: The basis for a consistent design
Ortus Solutions, Corp
 
Revolutionizing Task Scheduling in ColdBox
Revolutionizing Task Scheduling in ColdBoxRevolutionizing Task Scheduling in ColdBox
Revolutionizing Task Scheduling in ColdBox
Ortus Solutions, Corp
 
Addressing the Top 9 User Pain Points with Visual Design Elements.pptx
Addressing the Top 9 User Pain Points with Visual Design Elements.pptxAddressing the Top 9 User Pain Points with Visual Design Elements.pptx
Addressing the Top 9 User Pain Points with Visual Design Elements.pptx
Sparity1
 
Development of Chatbot Using AI\ML Technologies
Development of Chatbot Using AI\ML TechnologiesDevelopment of Chatbot Using AI\ML Technologies
Development of Chatbot Using AI\ML Technologies
MaisnamLuwangPibarel
 
Disk to Cloud: Abstract your File Operations with CBFS
Disk to Cloud: Abstract your File Operations with CBFSDisk to Cloud: Abstract your File Operations with CBFS
Disk to Cloud: Abstract your File Operations with CBFS
Ortus Solutions, Corp
 
Splunk_Remote_Work_Insights_Overview.pptx
Splunk_Remote_Work_Insights_Overview.pptxSplunk_Remote_Work_Insights_Overview.pptx
Splunk_Remote_Work_Insights_Overview.pptx
sudsdeep
 

Recently uploaded (20)

Kolkata @ℂall @Girls ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Kolkata @ℂall @Girls ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model SafeKolkata @ℂall @Girls ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Kolkata @ℂall @Girls ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
 
How to debug ColdFusion Applications using “ColdFusion Builder extension for ...
How to debug ColdFusion Applications using “ColdFusion Builder extension for ...How to debug ColdFusion Applications using “ColdFusion Builder extension for ...
How to debug ColdFusion Applications using “ColdFusion Builder extension for ...
 
@ℂall @Girls Kolkata ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
@ℂall @Girls Kolkata  ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe@ℂall @Girls Kolkata  ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
@ℂall @Girls Kolkata ꧁❤ 000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
 
dachnug51 - HCLs evolution of the employee experience platform.pdf
dachnug51 - HCLs evolution of the employee experience platform.pdfdachnug51 - HCLs evolution of the employee experience platform.pdf
dachnug51 - HCLs evolution of the employee experience platform.pdf
 
@Call @Girls in Solapur 🤷‍♂️ XXXXXXXX 🤷‍♂️ Tanisha Sharma Best High Class S...
 @Call @Girls in Solapur 🤷‍♂️  XXXXXXXX 🤷‍♂️ Tanisha Sharma Best High Class S... @Call @Girls in Solapur 🤷‍♂️  XXXXXXXX 🤷‍♂️ Tanisha Sharma Best High Class S...
@Call @Girls in Solapur 🤷‍♂️ XXXXXXXX 🤷‍♂️ Tanisha Sharma Best High Class S...
 
Bhiwandi @Call @Girls Whatsapp 000000000 With Best And No 1
Bhiwandi @Call @Girls Whatsapp 000000000 With Best And No 1Bhiwandi @Call @Girls Whatsapp 000000000 With Best And No 1
Bhiwandi @Call @Girls Whatsapp 000000000 With Best And No 1
 
WhatsApp Tracker - Tracking WhatsApp to Boost Online Safety.pdf
WhatsApp Tracker -  Tracking WhatsApp to Boost Online Safety.pdfWhatsApp Tracker -  Tracking WhatsApp to Boost Online Safety.pdf
WhatsApp Tracker - Tracking WhatsApp to Boost Online Safety.pdf
 
BoxLang Developer Tooling: VSCode Extension and Debugger
BoxLang Developer Tooling: VSCode Extension and DebuggerBoxLang Developer Tooling: VSCode Extension and Debugger
BoxLang Developer Tooling: VSCode Extension and Debugger
 
mobile-app-development-company-in-noida.pdf
mobile-app-development-company-in-noida.pdfmobile-app-development-company-in-noida.pdf
mobile-app-development-company-in-noida.pdf
 
Java SE 17 Study Guide for Certification - Chapter 02
Java SE 17 Study Guide for Certification - Chapter 02Java SE 17 Study Guide for Certification - Chapter 02
Java SE 17 Study Guide for Certification - Chapter 02
 
Migrate your Infrastructure to the AWS Cloud
Migrate your Infrastructure to the AWS CloudMigrate your Infrastructure to the AWS Cloud
Migrate your Infrastructure to the AWS Cloud
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
 
Intro to Amazon Web Services (AWS) and Gen AI
Intro to Amazon Web Services (AWS) and Gen AIIntro to Amazon Web Services (AWS) and Gen AI
Intro to Amazon Web Services (AWS) and Gen AI
 
Schrodinger’s Backup: Is Your Backup Really a Backup?
Schrodinger’s Backup: Is Your Backup Really a Backup?Schrodinger’s Backup: Is Your Backup Really a Backup?
Schrodinger’s Backup: Is Your Backup Really a Backup?
 
Design system: The basis for a consistent design
Design system: The basis for a consistent designDesign system: The basis for a consistent design
Design system: The basis for a consistent design
 
Revolutionizing Task Scheduling in ColdBox
Revolutionizing Task Scheduling in ColdBoxRevolutionizing Task Scheduling in ColdBox
Revolutionizing Task Scheduling in ColdBox
 
Addressing the Top 9 User Pain Points with Visual Design Elements.pptx
Addressing the Top 9 User Pain Points with Visual Design Elements.pptxAddressing the Top 9 User Pain Points with Visual Design Elements.pptx
Addressing the Top 9 User Pain Points with Visual Design Elements.pptx
 
Development of Chatbot Using AI\ML Technologies
Development of Chatbot Using AI\ML TechnologiesDevelopment of Chatbot Using AI\ML Technologies
Development of Chatbot Using AI\ML Technologies
 
Disk to Cloud: Abstract your File Operations with CBFS
Disk to Cloud: Abstract your File Operations with CBFSDisk to Cloud: Abstract your File Operations with CBFS
Disk to Cloud: Abstract your File Operations with CBFS
 
Splunk_Remote_Work_Insights_Overview.pptx
Splunk_Remote_Work_Insights_Overview.pptxSplunk_Remote_Work_Insights_Overview.pptx
Splunk_Remote_Work_Insights_Overview.pptx
 

Replication Whats New in Mysql 8

  • 1. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Replication: What's new in MySQL 8 Luís Soares Software Development Director MySQL Replication 1 Nuno Carvalho Principal Software Engineer MySQL Replication Vitor Oliveira Performance Architect MySQL Replication
  • 2. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2
  • 3. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Program Agenda 3
  • 4. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Introduction Use Cases Enhancements in MySQL 8 (and 5.7) Roadmap Conclusion Program Agenda 1 2 3 4 4 5
  • 5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Introduction1 5
  • 6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 6 Boom Web Explodes
  • 7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Today... – Technology mesh. – All things distributed. – Large amounts of data to handle, transform, store. – Offline periods are horribly expensive, simply unaffordable. – Go green requires dynamic and adaptative behavior. – Much more data to store – e.g. social media, “Look at all of my pictures!”; Monitoring – Keeping logs for N years! ; IoT – and much more. – Moving, transforming and processing data quicker than anyone else means having an edge over competitors. – It is a zoo. Distributed coordination and monitoring is key. 7
  • 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Database Replication Server B Server A App INSERT ... INSERT ... INSERT ... Replication “The process of generating and reproducing multiple copies of data at one or more sites.”, Database Systems: A Practical Approach to Design, Implementation, and Management, Thomas M. Connolly, Carolyn E. Begg, Third Edition, 2002. 8
  • 9. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | MySQL Database Replication: Overview INSERT ... Server B binary log INSERT ... relay log INSERT ... Server A binary log App Receiver Meta-data Update Applier Meta-data Update INSERT ... Comm. Framework 9
  • 10. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | MySQL Database Replication: Overview INSERT ... Server B binary log INSERT ... relay log INSERT ... Server A binary log App Receiver Meta-data Update Applier Meta-data Update INSERT ... Persistent log buffer Threaded applier Send, Receive, ACK, NACK, Heartbeating, ... Comm. Framework Capture statements or data changes. Persistent log buffer 10
  • 11. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | MySQL Database Replication: Some Notes • Logical replication log recording master changes (binary log). • Row or statement based format (may be intermixed). • Each transaction is split into groups of events. • Control events: Rotate, Format Description, Gtid, and more. Binary Log Layout of the Binary Log. BEGIN ...E1 E2 COMMIT BEGIN ...E1 E2 COMMITGTID GTID 11
  • 12. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Coordination Between Servers MySQL Database Replication: Some Notes 12 A B Since 3.23 A B semi-synchronous (plugin) A CB group replication (plugin) transactions transactions Since 5.5 Since 5.7.17 asynchronous (native) transactions, membership, coordination acks And in MySQL 8 as of 8.0.1
  • 13. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Use cases2 13
  • 14. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Clustering Made Practical R A I S E eplicate utomate ntegrate cale nhance 14
  • 15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Replicate • For highly available infrastructures where: – the number of servers has to grow or shrink dynamically; – with as little pain as possible. Group Replication A B C D E 15
  • 16. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Automate • Single-primary mode – Automatic PRIMARY/SECONDARY role assignment – Automatic new PRIMARY election on PRIMARY failures – Automatic setup of read/write modes on PRIMARY and SECONDARIES – Automatic global consistent view of which server is the PRIMARY Group Replication S S S* S P S Next Primary Old Primary 16
  • 17. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Integrate Binary Log • Logical replication log – Extract, transform and load. – MySQL fits nicely with other technologies. INSERT ... Server A Replication log App INSERT ... Hadoop Kafka Solr Lucene ... Transform 17
  • 18. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Scale • Replicate between clusters – For disaster recovery • Read Replicas – For read-scale out. Deploy asynchronous read replicas connected to the cluster Asynchronous Replication A B C J K L D I M Z . . . . . . 18
  • 19. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | InnoDB Cluster Enhance S1 S2 S3 S4 S… M M M MySQL Connector Application MySQL Router MySQL Connector Application MySQL Router MySQL Shell HA ReplicaSet1 • InnoDB Cluster Integrated Solution – Group Replication for high availability. – Asynchronous Replication for Read Scale- out. – One-stop shell to deploy and manage the cluster. – Seamlessly and automatically route the workload to the proper database server in the cluster. – Hide failures from the application. 19
  • 20. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Binary Log Enhancements Enhancements in MySQL 8 (and 5.7) 3.1 3 20 Operations3.2 Performance3.3 Monitoring3.4 Other3.5
  • 21. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | New Metadata in the Binary Log Easy to extract, transform and load into other systems. Gtid_log_event Transaction length, … Commit timestamps Table_map event Types, primary key, … Sign, charset, … Write_rows Commit Server A Binary log App INSERT ... 21 • New Metadata – Easy to decode what is in the binary log. – Further facilitates connecting MySQL to other systems using the binary log stream. – Capturing data changes through the binary log is simplified. – Also more stats showing where the data is/was at a certain point in time.
  • 22. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Enhancements in MySQL 8 (and 5.7) Binary Log Enhancements3.1 3 22 Operations3.2 Performance3.3 Monitoring3.4 Other3.5
  • 23. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Replicate, Filter, Aggregate, Query Multi-Source Replication Filters 23 A B C users bio groups users posts comments users bio groups posts comments only users
  • 24. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Automatic protection against involuntarily tainting of offline replicas Preventing Updates On Replicas that Leave the Cluster 24 B C A B CA A joins a single primary cluster and it allows update operations prior to joining. A becomes a secondary and is automatically set to read only. B C A A leaves the group and remains read only until the DBA reverts. Backported to 5.7.20
  • 25. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Choose next primary by assigning election weights to the candidates. Primary Election Weights 25 B CA w=100 w=90w=50 B CA w=100 w=90w=50 CA w=90w=50 B is the primary. B is not in the group anymore. C has higher weight than A. C is elected the new primary. Backported to 5.7.20
  • 26. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Automatically Shutdown When Replica Leaves the Group Involuntarily Automatically Abort Replicas that Leave the Group 26 B C A A shuts itself down, thus becoming effectively unavailble for both reads and write operations. B CA A is a secondary and was automatically set to read only. B C A A leaves the group involuntarily (failed to apply changes, network partitioned, etc). New in 8.0.12 @@group_replication_exit_state_action={ READ_ONLY | ABORT_SERVER } Backported to 5.7.24
  • 27. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | User tells current primary to give up its role and assign it to another server. Trigger Primary Election Online 27 B CA B CA B is the primary. Now I want A to be the primary, not B. New in 8.0.13 A CB A is the primary. B stepped down.
  • 28. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | User can specify on which mode the group operates. Change Group Mode Online 28 B CA B CA Single-primary mode, B is the primary. Now I want the group operating in multi-primary mode. New in 8.0.13 A CB Return to single-primary mode.
  • 29. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | User controls the amount of time to wait until others decide to evict a member from the group. Relaxed Member Eviction 29 B CA B CA I think A is not around anymore. Lets kick it out of the group! New in 8.0.13 C See… I told you. A is back! Good thing we waited. Hold on. Lets wait for sometime! Maybe it is just too busy to talk to us right now... OK. Lets give it some more time! UNREACHABLE A B
  • 30. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Enhancements in MySQL 8 (and 5.7) Binary Log Enhancements3.1 3 30 Operations3.2 Performance3.3 Monitoring3.4 Other3.6
  • 31. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Highly Efficient Replication Applier • WRITESET dependency tracking allows applying a single threaded workload in parallel. – Delivers the best throughput of the three dependency trackers, at any concurrency level. • WRITESET_SESSION in addition to writesets tracks sessions dependencies as well. Two transactions executed on the same session are always scheduled in execution order on replica servers. • Fast Group Replication recovery – time to catch up. Write set parallelization 31 Backported to 5.7.22
  • 32. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Write set parallelization Highly Efficient Replication Applier 32 0 5000 10000 15000 20000 25000 30000 35000 40000 45000 50000 1 2 4 8 16 32 64 128 256 Updates/secondAppliesontheReplica Number of Clients on the Master Applier Throughput: Sysbench Update Index COMMIT_ORDER WRITESET WRITESET_SESSION Backported to 5.7.22
  • 33. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Replica quickly online by using WRITESET Fast Group Replication Recovery 33 0 1 2 3 4 5 6 7 8 9 10 Sysbench RW at 33% capacity (workload: 9K TPS on 64 threads) Sysbench RW at 66% capacity (workload: 18K TPS on 64 threads) Timetocacth-uppertimeofworloadmissing(ratio) Group Replication Recovery Time: Sysbench Update Index (durable settings) MySQL 5.7.20 MySQL 8.0.3 0 1 2 3 4 5 6 7 8 9 10 Sysbench RW at 33% capacity (workload: 4K TPS on 64 threads) Sysbench RW at 66% capacity (workload: 8K TPS on 64 threads) Timetocacth-uppertimeofworloadmissing(ratio) Group Replication Recovery Time: Sysbench RW (durable settings) MySQL 5.7.20 MySQL 8.0.3 Backported to 5.7.22
  • 34. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | High Cluster Throughput – At lower thread count, the throughput of the system doubles in MySQL 8.0 compared to MySQL 5.7 on durable settings. – At lower thread count, the throughput of the system more than doubles in MySQL 8.0 compared to MySQL 5.7 on non-durable settings. More transactions per second while sustaining zero lag on any replica 34
  • 35. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | More transactions per second while sustaining zero lag on any replica High Cluster Throughput 35 8 16 32 64 Number of Clients on the Master Asynchronous Replication Sustained Throughput (Sysbench Update Index, non-durable settings) MySQL 5.7 MySQL 8.0.3 0 5000 10000 15000 20000 25000 30000 35000 40000 45000 8 16 32 64 Updatespersecond Number of Clients on the Master Asynchronous Replication Sustained Throughput (Sysbench Update Index, durable settings) MySQL 5.7 MySQL 8.0.3
  • 36. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Replicate only changed fields of documents (Partial JSON Updates) Efficient Replication of JSON Documents 36 0 10000 20000 30000 40000 50000 60000 Entire JSON Partial JSON Bytespertransaction Binary Log Space Per Transaction FULL MINIMAL • Numbers are from a specially designed benchmark: • tables have 10 JSON fields, • each transaction modifies around 10% of the data
  • 37. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 0,0 500,0 1000,0 1500,0 2000,0 2500,0 1 2 3 4 Transactionspersecond Throughput on the Master: Partial JSON vs Complete JSON 4 8 16 32 64 Replicate only fields of the document that changed (Partial JSON Updates) Efficient Replication of JSON Documents 37 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 Throughput on the Slave: Partial JSON vs Ccomplete JSON 4 8 16 32 64 FULL MINIMAL FULL MINIMAL FULL MINIMAL FULL MINIMAL COMPLETE JSON PARTIAL JSON COMPLETE JSON PARTIAL JSON
  • 38. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Enhancements in MySQL 8 (and 5.7) Binary Log Enhancements3.1 3 38 Operations3.2 Performance3.3 Monitoring3.4 Other3.5
  • 39. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Through the entire asynchronous topology Monitor Lag With Microsecond Precision 39 A B C D How much time does my data take to reach D coming from A?
  • 40. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | From the immediate master Monitor Lag With Microsecond Precision 40 A B C D How much time does my data originated in A takes to flow from B to C?
  • 41. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | For each stage of the replication applier process Monitor Lag with Microsecond Precision 41 D Data Worker ThreadsRelay Log Coordinator Thread Receiver Thread • Per Stage Timestamps – User can monitor how much time it takes for a specific transaction to traverse the pipeline.
  • 42. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Version, Role and more Global Group Stats Available on Every Server 42 A B C A is primary. B, C are secondaries. A: 5.7.20 B, C: 8.0.3 A is primary. B, C are secondaries. A: 5.7.20 B, C: 8.0.3 A is primary. B, C are secondaries. A: 5.7.20 B, C: 8.0.3 • Query one Replica, Get status of all – Every replica reports group-wide information about roles and versions of the members of the group. – Also available at any replica are group-wide status.
  • 43. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Group Replication Message Cache Memory Usage • GCS/XCom’s Paxos message cache is instrumented. • GCS/XCom’s Paxos message cache memory usage is exposed in performance schema. 43 -- This is a session open on ServerA and the user is reading stats on GCS_Xcom message cache ServerA> select * from memory_summary_global_by_event_name where event_name like "%GCS_XCom%"G *************************** 1. row *************************** EVENT_NAME: memory/group_rpl/GCS_XCom::xcom_cache COUNT_ALLOC: 28890317 COUNT_FREE: 28840318 SUM_NUMBER_OF_BYTES_ALLOC: 24499151783 SUM_NUMBER_OF_BYTES_FREE: 24470424555 LOW_COUNT_USED: 0 CURRENT_COUNT_USED: 49999 HIGH_COUNT_USED: 50000 LOW_NUMBER_OF_BYTES_USED: 0 CURRENT_NUMBER_OF_BYTES_USED: 28727228 HIGH_NUMBER_OF_BYTES_USED: 135676530 1 row in set (0.01 sec) New in 8.0.12
  • 44. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Enhancements in MySQL 8 (and 5.7) Binary Log Enhancements3.1 3 44 Operations3.2 Monitoring3.3 Performance3.4 Other3.5
  • 45. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Changes to defaults in MySQL 8 • Binary log is on by default. • Logging of slave updates is on by default. • Replication metadata is stored in InnoDB tables by default instead of files. • Row-based applier uses hash scans to find rows instead of table scans. • Transaction write-set extraction is on by default. • Binary log expiration is set to 30 days by default. • Server-id is set to 1 by default instead of 0. High performance replication enabled out-of-the-box 45
  • 46. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Other MySQL 8 Replication Enhancements • Monitoring: Monitor replication even when disk full • Monitoring: Current query being applied, even for row-based replication • Monitoring: Replication filters statistics in performance schema • Monitoring: Group Replication threads instrumented and shown in performance schema • Monitoring: Group Replication conditional variables and mutexes instrumented and shown in performance schema • Monitoring: Replication worker transaction retries counter added to performance schema applier table. 46 New in 8.0.13
  • 47. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Other MySQL 8 Replication Enhancements • Operations: Restore global transaction identifiers metadata on a non- empty server • Operations: Specify binary log file number after RESET MASTER • Operations: Specify when binary log files are automatically purged (with second precision) • Operations: SAVEPOINT support when write sets are being extracted • Operations: P_S table for consistent log positions (replacing potentially expensive FLUSH TABLE WITH READ LOCKS) • Operations: Support hostnames in Group Replication whitelist • Operations: New options to fine tune the cluster automatic flow control. 47 Backported to 5.7.19 Backported to 5.7.21
  • 48. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Other MySQL 8 Replication Enhancements • Troubleshooting: Dynamic and high performance debugging of group replication inter-node messaging • Recoverability: Recover DDL and binary log together after a crash 48
  • 49. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Roadmap4 49
  • 50. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | The Road to MySQL 8 Group Replication and InnoDB Clusters MySQL 5.7.9 5.7 is GA lifecycle interfaces P_S tables for GR server side changes GR 0.2.0 labs Hello world! MySQL 5.7.17 GR is GA MySQL 8.0.1 DMR GR is released with 8 InnoDB Cluster is GA Lots of replication enhancements MySQL 8.0.3 RC1 bug fixes partial json updates monitoring enhancements 50 MySQL 8.0.4 RC2 bug fixes monitoring MySQL 8.0.11 GA bug fixesMySQL 8.0.0 DMR MySQL 8.0.2 DMR More replication enhancements MySQL 8.0.12 GA Member auto-shutdown Instrumentation MySQL 8.0.13 GA Select Primary Monitoring Performance Relax Eviction
  • 51. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | MySQL InnoDB Cluster: The End Goal S1 S2 S3 S4 S… M M M MySQL Connector Application MySQL Router MySQL Connector Application MySQL Router MySQL Shell HA ReplicaSet1 S1 S2 S3 S4 S… M M M MySQL Connector Application MySQL Router HA ReplicaSetN 51 ...
  • 52. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Conclusion5 52
  • 53. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Conclusion Latest MySQL 8 GA is out: • Performance/efficiency improvements – Group Replication copes better with high latency networks. • Replication instrumentation – More memory and replication stats instrumentation. • Improved Dev-Ops and DBA experience – Options to relax automatic member eviction – Trigger primary election and select new primary online. – Automatically shutdown the server if member gets out of the group involuntarily. 53
  • 54. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Where to go from here? • Packages – http://www.mysql.com/downloads/ • Documentation – https://dev.mysql.com/doc/refman/8.0/en/ • Blogs from the Engineers (news, technical information, and much more) – http://mysqlhighavailability.com 54
  • 55. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |