SlideShare une entreprise Scribd logo
1  sur  80
Télécharger pour lire hors ligne
Frédéric Descamps
Community Manager
MySQL
The Evolution of a MySQL
Database System
from single instance to mutli-region DR
Frédéric Descamps
Community Manager
MySQL
The Evolution of a MySQL
Database System
from single instance to mutli-region DR
The Journey To
MySQL InnoDB
ClusterSet
Copyright @ 2022 Oracle and/or its affiliates.
2
Who am I ?
about.me/lefred
Copyright @ 2022 Oracle and/or its affiliates.
3
@lefred
MySQL Evangelist
using MySQL since version 3.21
devops believer
likes 🏀
living in 🇧🇪
https://lefred.be
Frédéric Descamps
Copyright @ 2022 Oracle and/or its affiliates.
4
Best Practices in 2022
configuration parameters
Copyright @ 2022 Oracle and/or its affiliates.
5
During this presentation I assume that...
your system is MySQL 8.0.28 or more recent
you are using only InnoDB
you have the binary logs enabled
the binary logs format is ROW
you are using GTIDs
Copyright @ 2022 Oracle and/or its affiliates.
6
Evolution to High Availability
MySQL 8.0
Copyright @ 2022 Oracle and/or its affiliates.
7
Copyright @ 2022 Oracle and/or its affiliates.
8
This is where it all begins...
reminder:
we use ONLY InnoDB
we keep the default durability settings
One single MySQL instance
 
Copyright @ 2022 Oracle and/or its affiliates.
9
One single MySQL instance
Copyright @ 2022 Oracle and/or its affiliates.
/
/
RPO ?
?
RTO
10
Next Level (level up)
The database becomes more important, loosing it might be an issue...


Copyright @ 2022 Oracle and/or its affiliates.
11
Next Level (level up)
The database becomes more important, loosing it might be an issue...


RTO → hours
Copyright @ 2022 Oracle and/or its affiliates.
11
Next Level (level up)
The database becomes more important, loosing it might be an issue...


RTO → hours
 
RPO → 1 day
Copyright @ 2022 Oracle and/or its affiliates.
11
Next Level (level up)
The database becomes more important, loosing it might be an issue...


RTO → hours
 
RPO → 1 day


RTO: Recovery Time Objective (how long to recover)



RPO: Recovery Point Objective (how much data can be lost)
Copyright @ 2022 Oracle and/or its affiliates.
11
Physical Backups
Logical Backups
For logical backups, please use MySQL
Shell Dump & Load Utility !
Backups
Copyright @ 2022 Oracle and/or its affiliates.
12
One single MySQL instance with daily backups
Copyright @ 2022 Oracle and/or its affiliates.
hours
1 day
RPO ?
?
RTO
13
Next Level (level up)
1 day RPO ? Really ?? We want to reduce it to minutes at least !


Copyright @ 2022 Oracle and/or its affiliates.
14
Next Level (level up)
1 day RPO ? Really ?? We want to reduce it to minutes at least !


RTO → hours
Copyright @ 2022 Oracle and/or its affiliates.
14
Next Level (level up)
1 day RPO ? Really ?? We want to reduce it to minutes at least !


RTO → hours
 
RPO → minutes
Copyright @ 2022 Oracle and/or its affiliates.
14
These are the defaults in MySQL 8.0:

Durable Binlogs
We enable binary logs allowing to replay the modifications since the last backup:
Copyright @ 2022 Oracle and/or its affiliates.
15
One single MySQL instance with daily backups and
binlogs
Copyright @ 2022 Oracle and/or its affiliates.
hours
minutes
RPO ?
?
RTO
16
Point-in-Time Recovery (PITR)
PITR is the technique by which an administrator can restore or recover a data set to a
certain point in the past.
With MySQL, point-in-time recovery involves restoring a dump of the data and then
replaying the binlogs from and to a specific point.
This technique is used to:
solve an issue
perform a live migration
Copyright @ 2022 Oracle and/or its affiliates.
17
Point-in-Time Recovery : how does it work ?
day 1
BACKUPS
Binlogs
day 2 day 3 day 4
.001
.002
.003 .004 .005 .006 .007 .008 .009 .010
Copyright @ 2022 Oracle and/or its affiliates.
18
Point-in-Time Recovery : how does it work ?
day 1
BACKUPS
Binlogs
day 2
we want to recover
up to this point
day 3 day 4
.001
.002
.003 .004 .005 .006 .007 .008 .009 .010
Copyright @ 2022 Oracle and/or its affiliates.
19
Point-in-Time Recovery : how does it work ?
day 1
BACKUPS
Binlogs
day 2
we want to recover
up to this point
day 3 day 4
.001
.002
.003 .004 .005 .006 .007 .008 .009 .010
1. we restore the dump of day 3
Copyright @ 2022 Oracle and/or its affiliates.
20
Point-in-Time Recovery : how does it work ?
day 1
BACKUPS
Binlogs
day 2 day 3 day 4
.001
.002
.003 .004 .005 .006 .007 .008 .009 .010
2
.
w
e
r
e
p
l
a
y
the
binlog
(.008)
1. we restore the du,p of day 3
Copyright @ 2022 Oracle and/or its affiliates.
21
Point-in-Time Recovery : important concepts
Usually, after a backup (and its verification), the binary log files are purged from the MySQL
server:
Copyright @ 2022 Oracle and/or its affiliates.
22
Point-in-Time Recovery : important concepts
Usually, after a backup (and its verification), the binary log files are purged from the MySQL
server:
Copyright @ 2022 Oracle and/or its affiliates.
day 1
BACKUPS
Binlogs
day 2 day 3 day 4
.001
.002
.003 .004 .005 .006 .007 .008 .009 .010
22
Point-in-Time Recovery : important concepts
Usually, after a backup (and its verification), the binary log files are purged from the MySQL
server:
Copyright @ 2022 Oracle and/or its affiliates.
day 1
BACKUPS
Binlogs
day 2 day 3 day 4
.001
.002
.003 .004 .005 .006 .007 .008 .009 .010
day 1
BACKUPS
pontential recovery
points
Binlogs
day 2 day 3 day 4
.001
.002
.003 .004 .005 .006 .007 .008 .009 .010
}
22
Next Level (level up)
My data is very important and I've a heavy workload... I would like to loose less than a
second in case of a problem !


Copyright @ 2022 Oracle and/or its affiliates.
23
Next Level (level up)
My data is very important and I've a heavy workload... I would like to loose less than a
second in case of a problem !


RTO → hours
Copyright @ 2022 Oracle and/or its affiliates.
23
Next Level (level up)
My data is very important and I've a heavy workload... I would like to loose less than a
second in case of a problem !


RTO → hours
 
RPO → less than a second
Copyright @ 2022 Oracle and/or its affiliates.
23
Enable GTIDs (they should be already !)
Save in realtime the binary logs to a
different system (OCI Object Storage, S3,
...)
VCN
10.0.0.0/16
Public Subnet
10.0.0.0/24
Private Subnet
10.0.1.0/24
MySQL Shell
MySQL
Database Service
Internet
Gateway
Oracle Cloud Infrastructure
Availability Domain 1
Fault Domain 1
mysql-dump-bucket
mysql-binlogs-bucket
Object Storage
dump instance
streambinlogs
Improved Point-in-Time Recovery (PITR)
Copyright @ 2022 Oracle and/or its affiliates.
24
with MySQL restart
Enabling GTIDs
Copyright @ 2022 Oracle and/or its affiliates.
25
with MySQL restart without MySQL restart
Enabling GTIDs
Copyright @ 2022 Oracle and/or its affiliates.
25
Saving Binlogs
 
Copyright @ 2022 Oracle and/or its affiliates.
26
Saving Binlogs
 


On another system:
mysqlbinlog --raw --read-from-remote-server --stop-never --host 10.0.0.2 
--port 3306 -u getbinlog -ppassword 
--ssl-mode='REQUIRED' binlog.xxxxxx
Copyright @ 2022 Oracle and/or its affiliates.
26
Point-in-Time Recovery : important conceptes (2)
As you may have noticed, we can only recover at the exact time of the backups and we can
only do a one-off recovery from the last one!
This is why it is recommended to relocate/offload the binlogs (to another server, a NAS, the
cloud, ...).
This will allow for a point-in-time recovery at any moment in time:
Copyright @ 2022 Oracle and/or its affiliates.
27
Point-in-Time Recovery : important conceptes (2)
As you may have noticed, we can only recover at the exact time of the backups and we can
only do a one-off recovery from the last one!
This is why it is recommended to relocate/offload the binlogs (to another server, a NAS, the
cloud, ...).
This will allow for a point-in-time recovery at any moment in time:
Copyright @ 2022 Oracle and/or its affiliates.
}
day 1
BACKUPS
Binlogs
day 2 day 3 day 4
.001
.002
.003 .004 .005
.001
.002
.003
.004
.005
.006 .007 .008 .009 .010
.006
.007
.008
.009
.010
b
i
n
l
o
g
s
t
r
e
a
m
i
n
g
possible recovery
points
27
One single MySQL instance with daily backups and
external binlogs archiving
Copyright @ 2022 Oracle and/or its affiliates.
hours
< 1 second
RPO ?
?
RTO
28
Next Level (level up)
My service is now very important, I would like my database to be available again within
minutes in case of an incident.


Copyright @ 2022 Oracle and/or its affiliates.
29
Next Level (level up)
My service is now very important, I would like my database to be available again within
minutes in case of an incident.


RTO → minutes
Copyright @ 2022 Oracle and/or its affiliates.
29
Next Level (level up)
My service is now very important, I would like my database to be available again within
minutes in case of an incident.


RTO → minutes
 
RPO → less than a second
Copyright @ 2022 Oracle and/or its affiliates.
29
Based on the well known Asynchronous
Replication
But easier... easier is always better !
Data provisioning included (clone)
2 or more nodes
Manual Failover
Transparent/Automatic query routing
with MySQL Router
MySQL InnoDB ReplicaSet
Copyright @ 2022 Oracle and/or its affiliates.
30
MySQL InnoDB ReplicaSet
Copyright @ 2022 Oracle and/or its affiliates.
31
MySQL InnoDB ReplicaSet
Connected to the actual server (our single instance):
JS > dba.configureReplicaSetInstance()
JS > rs=dba.createReplicaSet('myreplicaset')
On the new extra server where only MySQL is installed (server and shell):
JS > dba.configureReplicaSetInstance()
And again on the main instance (our single instance):
Et de nouveau sur l'instance
principale:
JS > rs.addInstance('mysql-2')
Copyright @ 2022 Oracle and/or its affiliates.
32
MySQL InnoDB ReplicaSet - examples
Copyright @ 2022 Oracle and/or its affiliates.
33
MySQL InnoDB ReplicaSet - examples
Copyright @ 2022 Oracle and/or its affiliates.
34
MySQL InnoDB ReplicaSet - examples
Copyright @ 2022 Oracle and/or its affiliates.
35
MySQL Router
MySQL Router is very easy to configure, you only need to use the bootstrap command !
Copyright @ 2022 Oracle and/or its affiliates.
36
MySQL Router
As usual, this is also visible in MySQL Shell
Copyright @ 2022 Oracle and/or its affiliates.
37
MySQL InnoDB ReplicaSet - Manual Failover
Copyright @ 2022 Oracle and/or its affiliates.
MySQL Shell is connected to MySQL InnoDB ReplicaSet via MySQL Router.
38
MySQL InnoDB ReplicaSet - Manual Failover
Copyright @ 2022 Oracle and/or its affiliates.
39
MySQL RelicaSet
Copyright @ 2022 Oracle and/or its affiliates.
minutes
< 1 second
RPO ?
?
RTO
rto >
40
Next Level (level up)
Now my service is very important, I would like to be almost always up (automatic failover)
and never loose data !


Copyright @ 2022 Oracle and/or its affiliates.
41
Next Level (level up)
Now my service is very important, I would like to be almost always up (automatic failover)
and never loose data !


RTO → seconds
Copyright @ 2022 Oracle and/or its affiliates.
41
Next Level (level up)
Now my service is very important, I would like to be almost always up (automatic failover)
and never loose data !


RTO → seconds
 
RPO → 0
Copyright @ 2022 Oracle and/or its affiliates.
41
Based on native Group Replication
But easier.... easier is always better !
Data provisioning included (clone)
3 or more nodes (odd number)
Automatic Failover
Uses MySQL Router
Configurable Consistency Levels
MySQL InnoDB Cluster
Copyright @ 2022 Oracle and/or its affiliates.
42
MySQL InnoDB Cluster
Copyright @ 2022 Oracle and/or its affiliates.
43
On the ReplicaSet's Primary Instance:
JS > dba.dropMetadataSchema()
JS > cluster=dba.createCluster('mycluster')
On the Secondary one:
SQL > STOP REPLICA;
SQL > RESET ALL REPLICA;
And back on the Primary:
JS > cluster.addInstance('mysql-2')
MySQL InnoDB Cluster
We can now add a third instance to benefit
from the automatic failover:
Copyright @ 2022 Oracle and/or its affiliates.
44
On the ReplicaSet's Primary Instance:
JS > dba.dropMetadataSchema()
JS > cluster=dba.createCluster('mycluster')
On the Secondary one:
SQL > STOP REPLICA;
SQL > RESET ALL REPLICA;
And back on the Primary:
JS > cluster.addInstance('mysql-2')
JS > dba.configureInstance()
From any member of the cluster:
JS > cluster=dba.getCluster()
JS > cluster.addInstance('mysql-3')
Finally, we can configure MySQL Router
again:
# mysqlrouter --bootstrap 
clusteradmin@single-mysql:3306 
--conf-use-gr-notifications 
--user mysqlrouter --force
# systemctl restart mysqlrouter
MySQL InnoDB Cluster
We can now add a third instance to benefit
from the automatic failover:
Copyright @ 2022 Oracle and/or its affiliates.
44
MySQL InnoDB Cluster
Copyright @ 2022 Oracle and/or its affiliates.
45
MySQL InnoDB Cluster
Copyright @ 2022 Oracle and/or its affiliates.
seconds
0
RPO ?
?
RTO
rto >
46
Next Level (level up)
And if something happens to our data center ??
Copyright @ 2022 Oracle and/or its affiliates.
47
Next Level (level up)
And if something happens to our data center ??
How can we deploy a Disaster Recovery solution ?


Copyright @ 2022 Oracle and/or its affiliates.
47
Next Level (level up)
And if something happens to our data center ??
How can we deploy a Disaster Recovery solution ?


Copyright @ 2022 Oracle and/or its affiliates.
MySQL InnoDB ClusterSet !!
47
The Ultimate Evolution !
available since MySQL 8.0.27
fencing support since 8.0.28
MySQL InnoDB ClusterSet
Copyright @ 2022 Oracle and/or its affiliates.
48
The result of several transformations during previous releases:
8.0.22: Automatic Connection Failover (Async Replication Channels)
8.0.23: Automatic Connection Failover (Async Replication Channels using Group
Replication)
8.0.24: transformation of skip-replica-start en global, persistent and read-only
variable
8.0.26: Actions added for Group Replication's members (ex: super_read_only
configurable)
8.0.26: Specific UUID added for structural events change of the Group
(View_change_log_event)
8.0.27: Asynchronous Replication Channel automatically follows the Primary.
Copyright @ 2022 Oracle and/or its affiliates.
49
MySQL InnoDB ClusterSet
Copyright @ 2022 Oracle and/or its affiliates.
50
MySQL InnoDB ClusterSet
Copyright @ 2022 Oracle and/or its affiliates.










More complex architectures can be deployed !
50
MySQL InnoDB ClusterSet
Copyright @ 2022 Oracle and/or its affiliates.










More complex architectures can be deployed !
50
MySQL InnoDB ClusterSet
Copyright @ 2022 Oracle and/or its affiliates.
seconds
0
RPO ?
?
RTO
possible rpo>0
rto >
51
Extra
Since MySQL 8.0.19, the connectors also support dns-srv which, together with a discovery
service such as Consul, can replace MySQL Router when it is impossible to install it on the
application servers:
Copyright @ 2022 Oracle and/or its affiliates.
52
Extra
Since MySQL 8.0.19, the connectors also support dns-srv which, together with a discovery
service such as Consul, can replace MySQL Router when it is impossible to install it on the
application servers:
Copyright @ 2022 Oracle and/or its affiliates.
52
MySQL Shell is now included in Visual Studio Code:
Copyright @ 2022 Oracle and/or its affiliates.
53
Copyright @ 2022 Oracle and/or its affiliates.
54
Try MySQL HeatWave for Free:
https://www.oracle.com/mysql/heatwave/
Copyright @ 2022 Oracle and/or its affiliates.
55
Share your ❤️to MySQL
#mysql




Join our slack channel!
bit.ly/mysql-slack
Copyright @ 2022 Oracle and/or its affiliates.
56
Questions ?
Copyright @ 2022 Oracle and/or its affiliates.
57

Contenu connexe

Tendances

MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!Miguel Araújo
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11Kenny Gryp
 
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...Frederic Descamps
 
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 MySQLOlivier DASINI
 
MySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best PracticesMySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best PracticesFrederic Descamps
 
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorialFrederic Descamps
 
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdfDeep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdfMiguel Araújo
 
MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)Kenny Gryp
 
High Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB ClusterHigh Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB ClusterSven Sandberg
 
MySQL Database Architectures - High Availability and Disaster Recovery Solution
MySQL Database Architectures - High Availability and Disaster Recovery SolutionMySQL Database Architectures - High Availability and Disaster Recovery Solution
MySQL Database Architectures - High Availability and Disaster Recovery SolutionMiguel Araújo
 
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterMySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterKenny Gryp
 
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialMySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialFrederic Descamps
 
Intro ProxySQL
Intro ProxySQLIntro ProxySQL
Intro ProxySQLI Goo Lee
 
Percona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database SystemPercona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database SystemFrederic 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 ShellMiguel Araújo
 
MariaDB Galera Cluster presentation
MariaDB Galera Cluster presentationMariaDB Galera Cluster presentation
MariaDB Galera Cluster presentationFrancisco Gonçalves
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...Frederic Descamps
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Olivier DASINI
 
State of the Dolphin - May 2022
State of the Dolphin - May 2022State of the Dolphin - May 2022
State of the Dolphin - May 2022Frederic Descamps
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group ReplicationUlf Wendel
 

Tendances (20)

MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
 
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
 
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 Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best PracticesMySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best Practices
 
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
 
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdfDeep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
 
MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)
 
High Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB ClusterHigh Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB Cluster
 
MySQL Database Architectures - High Availability and Disaster Recovery Solution
MySQL Database Architectures - High Availability and Disaster Recovery SolutionMySQL Database Architectures - High Availability and Disaster Recovery Solution
MySQL Database Architectures - High Availability and Disaster Recovery Solution
 
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterMySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
 
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialMySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
 
Intro ProxySQL
Intro ProxySQLIntro ProxySQL
Intro ProxySQL
 
Percona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database SystemPercona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database System
 
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
 
MariaDB Galera Cluster presentation
MariaDB Galera Cluster presentationMariaDB Galera Cluster presentation
MariaDB Galera Cluster presentation
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
 
State of the Dolphin - May 2022
State of the Dolphin - May 2022State of the Dolphin - May 2022
State of the Dolphin - May 2022
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 

Similaire à LinuxFest Northwest 2022 - The Evolution of a MySQL Database System

From single MySQL instance to High Availability: the journey to MySQL InnoDB ...
From single MySQL instance to High Availability: the journey to MySQL InnoDB ...From single MySQL instance to High Availability: the journey to MySQL InnoDB ...
From single MySQL instance to High Availability: the journey to MySQL InnoDB ...Frederic Descamps
 
MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8Frederic Descamps
 
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...Frederic Descamps
 
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
 
Manual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLManual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLErick Vidbaz
 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsFrederic Descamps
 
State of The Dolphin - May 2021
State of The Dolphin - May 2021State of The Dolphin - May 2021
State of The Dolphin - May 2021Frederic Descamps
 
20618782218718364253 emea12 vldb
20618782218718364253 emea12 vldb20618782218718364253 emea12 vldb
20618782218718364253 emea12 vldbLocuto Riorama
 
InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)Mydbops
 
MySQL Database Architectures - 2020-10
MySQL Database Architectures -  2020-10MySQL Database Architectures -  2020-10
MySQL Database Architectures - 2020-10Kenny Gryp
 
the State of the Dolphin - October 2020
the State of the Dolphin - October 2020the State of the Dolphin - October 2020
the State of the Dolphin - October 2020Frederic Descamps
 
6212883126866262792 performance testing_cloud
6212883126866262792 performance testing_cloud6212883126866262792 performance testing_cloud
6212883126866262792 performance testing_cloudLocuto Riorama
 
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikCustomer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikMysql 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
 
MySQL Database Service Webinar: Installing Drupal in oci with mds
MySQL Database Service Webinar: Installing Drupal in oci with mdsMySQL Database Service Webinar: Installing Drupal in oci with mds
MySQL Database Service Webinar: Installing Drupal in oci with mdsFrederic Descamps
 
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Pi Day 2022 -  from IoT to MySQL HeatWave Database ServicePi Day 2022 -  from IoT to MySQL HeatWave Database Service
Pi Day 2022 - from IoT to MySQL HeatWave Database ServiceFrederic Descamps
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Ivan Ma
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantPini Dibask
 

Similaire à LinuxFest Northwest 2022 - The Evolution of a MySQL Database System (20)

From single MySQL instance to High Availability: the journey to MySQL InnoDB ...
From single MySQL instance to High Availability: the journey to MySQL InnoDB ...From single MySQL instance to High Availability: the journey to MySQL InnoDB ...
From single MySQL instance to High Availability: the journey to MySQL InnoDB ...
 
MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8
 
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
 
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?
 
Manual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLManual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQL
 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & Operations
 
State of The Dolphin - May 2021
State of The Dolphin - May 2021State of The Dolphin - May 2021
State of The Dolphin - May 2021
 
20618782218718364253 emea12 vldb
20618782218718364253 emea12 vldb20618782218718364253 emea12 vldb
20618782218718364253 emea12 vldb
 
InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)
 
MySQL Database Architectures - 2020-10
MySQL Database Architectures -  2020-10MySQL Database Architectures -  2020-10
MySQL Database Architectures - 2020-10
 
MySQL Replication
MySQL ReplicationMySQL Replication
MySQL Replication
 
the State of the Dolphin - October 2020
the State of the Dolphin - October 2020the State of the Dolphin - October 2020
the State of the Dolphin - October 2020
 
6212883126866262792 performance testing_cloud
6212883126866262792 performance testing_cloud6212883126866262792 performance testing_cloud
6212883126866262792 performance testing_cloud
 
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikCustomer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR Karthik
 
MySQL 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 !!
 
MySQL Database Service Webinar: Installing Drupal in oci with mds
MySQL Database Service Webinar: Installing Drupal in oci with mdsMySQL Database Service Webinar: Installing Drupal in oci with mds
MySQL Database Service Webinar: Installing Drupal in oci with mds
 
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Pi Day 2022 -  from IoT to MySQL HeatWave Database ServicePi Day 2022 -  from IoT to MySQL HeatWave Database Service
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
 

Plus de Frederic Descamps

MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...Frederic Descamps
 
RivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and HistogramsRivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and HistogramsFrederic Descamps
 
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdfRivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdfFrederic Descamps
 
Percona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio CodePercona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio CodeFrederic Descamps
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsFrederic Descamps
 
Confoo 2022 - le cycle d'une instance MySQL
Confoo 2022  - le cycle d'une instance MySQLConfoo 2022  - le cycle d'une instance MySQL
Confoo 2022 - le cycle d'une instance MySQLFrederic Descamps
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Frederic Descamps
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Frederic Descamps
 
Deploying Magento on OCI with MDS
Deploying Magento on OCI with MDSDeploying Magento on OCI with MDS
Deploying Magento on OCI with MDSFrederic Descamps
 
Cloud native - Why to use MySQL 8.0 and how to use it on oci with MDS
Cloud native -  Why to use MySQL 8.0 and how to use it on oci with MDSCloud native -  Why to use MySQL 8.0 and how to use it on oci with MDS
Cloud native - Why to use MySQL 8.0 and how to use it on oci with MDSFrederic Descamps
 
MySQL 8.0 Document Store - Discovery of a New World
MySQL 8.0 Document Store - Discovery of a New WorldMySQL 8.0 Document Store - Discovery of a New World
MySQL 8.0 Document Store - Discovery of a New WorldFrederic Descamps
 
Oracle Developer Live: Deploying MySQL InnoDB Cluster on OCI with Terraform
Oracle Developer Live: Deploying MySQL InnoDB Cluster on OCI with TerraformOracle Developer Live: Deploying MySQL InnoDB Cluster on OCI with Terraform
Oracle Developer Live: Deploying MySQL InnoDB Cluster on OCI with TerraformFrederic Descamps
 
MySQL Database Service Webinar: Upgrading from on-premise MySQL to MDS
MySQL Database Service Webinar: Upgrading from on-premise MySQL to MDSMySQL Database Service Webinar: Upgrading from on-premise MySQL to MDS
MySQL Database Service Webinar: Upgrading from on-premise MySQL to MDSFrederic Descamps
 
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDSMySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDSFrederic Descamps
 
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0Frederic Descamps
 
MySQL Tech Café #8: MySQL 8.0 for Python Developers
MySQL Tech Café #8: MySQL 8.0 for Python DevelopersMySQL Tech Café #8: MySQL 8.0 for Python Developers
MySQL Tech Café #8: MySQL 8.0 for Python DevelopersFrederic Descamps
 
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...Frederic Descamps
 

Plus de Frederic Descamps (17)

MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
 
RivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and HistogramsRivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and Histograms
 
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdfRivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
 
Percona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio CodePercona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio Code
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and Histograms
 
Confoo 2022 - le cycle d'une instance MySQL
Confoo 2022  - le cycle d'une instance MySQLConfoo 2022  - le cycle d'une instance MySQL
Confoo 2022 - le cycle d'une instance MySQL
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
 
Deploying Magento on OCI with MDS
Deploying Magento on OCI with MDSDeploying Magento on OCI with MDS
Deploying Magento on OCI with MDS
 
Cloud native - Why to use MySQL 8.0 and how to use it on oci with MDS
Cloud native -  Why to use MySQL 8.0 and how to use it on oci with MDSCloud native -  Why to use MySQL 8.0 and how to use it on oci with MDS
Cloud native - Why to use MySQL 8.0 and how to use it on oci with MDS
 
MySQL 8.0 Document Store - Discovery of a New World
MySQL 8.0 Document Store - Discovery of a New WorldMySQL 8.0 Document Store - Discovery of a New World
MySQL 8.0 Document Store - Discovery of a New World
 
Oracle Developer Live: Deploying MySQL InnoDB Cluster on OCI with Terraform
Oracle Developer Live: Deploying MySQL InnoDB Cluster on OCI with TerraformOracle Developer Live: Deploying MySQL InnoDB Cluster on OCI with Terraform
Oracle Developer Live: Deploying MySQL InnoDB Cluster on OCI with Terraform
 
MySQL Database Service Webinar: Upgrading from on-premise MySQL to MDS
MySQL Database Service Webinar: Upgrading from on-premise MySQL to MDSMySQL Database Service Webinar: Upgrading from on-premise MySQL to MDS
MySQL Database Service Webinar: Upgrading from on-premise MySQL to MDS
 
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDSMySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
 
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
 
MySQL Tech Café #8: MySQL 8.0 for Python Developers
MySQL Tech Café #8: MySQL 8.0 for Python DevelopersMySQL Tech Café #8: MySQL 8.0 for Python Developers
MySQL Tech Café #8: MySQL 8.0 for Python Developers
 
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
 

Dernier

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 

Dernier (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

LinuxFest Northwest 2022 - The Evolution of a MySQL Database System

  • 1. Frédéric Descamps Community Manager MySQL The Evolution of a MySQL Database System from single instance to mutli-region DR
  • 2. Frédéric Descamps Community Manager MySQL The Evolution of a MySQL Database System from single instance to mutli-region DR
  • 3. The Journey To MySQL InnoDB ClusterSet Copyright @ 2022 Oracle and/or its affiliates. 2
  • 4. Who am I ? about.me/lefred Copyright @ 2022 Oracle and/or its affiliates. 3
  • 5. @lefred MySQL Evangelist using MySQL since version 3.21 devops believer likes 🏀 living in 🇧🇪 https://lefred.be Frédéric Descamps Copyright @ 2022 Oracle and/or its affiliates. 4
  • 6. Best Practices in 2022 configuration parameters Copyright @ 2022 Oracle and/or its affiliates. 5
  • 7. During this presentation I assume that... your system is MySQL 8.0.28 or more recent you are using only InnoDB you have the binary logs enabled the binary logs format is ROW you are using GTIDs Copyright @ 2022 Oracle and/or its affiliates. 6
  • 8. Evolution to High Availability MySQL 8.0 Copyright @ 2022 Oracle and/or its affiliates. 7
  • 9. Copyright @ 2022 Oracle and/or its affiliates. 8
  • 10. This is where it all begins... reminder: we use ONLY InnoDB we keep the default durability settings One single MySQL instance   Copyright @ 2022 Oracle and/or its affiliates. 9
  • 11. One single MySQL instance Copyright @ 2022 Oracle and/or its affiliates. / / RPO ? ? RTO 10
  • 12. Next Level (level up) The database becomes more important, loosing it might be an issue... Copyright @ 2022 Oracle and/or its affiliates. 11
  • 13. Next Level (level up) The database becomes more important, loosing it might be an issue... RTO → hours Copyright @ 2022 Oracle and/or its affiliates. 11
  • 14. Next Level (level up) The database becomes more important, loosing it might be an issue... RTO → hours   RPO → 1 day Copyright @ 2022 Oracle and/or its affiliates. 11
  • 15. Next Level (level up) The database becomes more important, loosing it might be an issue... RTO → hours   RPO → 1 day RTO: Recovery Time Objective (how long to recover) RPO: Recovery Point Objective (how much data can be lost) Copyright @ 2022 Oracle and/or its affiliates. 11
  • 16. Physical Backups Logical Backups For logical backups, please use MySQL Shell Dump & Load Utility ! Backups Copyright @ 2022 Oracle and/or its affiliates. 12
  • 17. One single MySQL instance with daily backups Copyright @ 2022 Oracle and/or its affiliates. hours 1 day RPO ? ? RTO 13
  • 18. Next Level (level up) 1 day RPO ? Really ?? We want to reduce it to minutes at least ! Copyright @ 2022 Oracle and/or its affiliates. 14
  • 19. Next Level (level up) 1 day RPO ? Really ?? We want to reduce it to minutes at least ! RTO → hours Copyright @ 2022 Oracle and/or its affiliates. 14
  • 20. Next Level (level up) 1 day RPO ? Really ?? We want to reduce it to minutes at least ! RTO → hours   RPO → minutes Copyright @ 2022 Oracle and/or its affiliates. 14
  • 21. These are the defaults in MySQL 8.0: Durable Binlogs We enable binary logs allowing to replay the modifications since the last backup: Copyright @ 2022 Oracle and/or its affiliates. 15
  • 22. One single MySQL instance with daily backups and binlogs Copyright @ 2022 Oracle and/or its affiliates. hours minutes RPO ? ? RTO 16
  • 23. Point-in-Time Recovery (PITR) PITR is the technique by which an administrator can restore or recover a data set to a certain point in the past. With MySQL, point-in-time recovery involves restoring a dump of the data and then replaying the binlogs from and to a specific point. This technique is used to: solve an issue perform a live migration Copyright @ 2022 Oracle and/or its affiliates. 17
  • 24. Point-in-Time Recovery : how does it work ? day 1 BACKUPS Binlogs day 2 day 3 day 4 .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 Copyright @ 2022 Oracle and/or its affiliates. 18
  • 25. Point-in-Time Recovery : how does it work ? day 1 BACKUPS Binlogs day 2 we want to recover up to this point day 3 day 4 .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 Copyright @ 2022 Oracle and/or its affiliates. 19
  • 26. Point-in-Time Recovery : how does it work ? day 1 BACKUPS Binlogs day 2 we want to recover up to this point day 3 day 4 .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 1. we restore the dump of day 3 Copyright @ 2022 Oracle and/or its affiliates. 20
  • 27. Point-in-Time Recovery : how does it work ? day 1 BACKUPS Binlogs day 2 day 3 day 4 .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 2 . w e r e p l a y the binlog (.008) 1. we restore the du,p of day 3 Copyright @ 2022 Oracle and/or its affiliates. 21
  • 28. Point-in-Time Recovery : important concepts Usually, after a backup (and its verification), the binary log files are purged from the MySQL server: Copyright @ 2022 Oracle and/or its affiliates. 22
  • 29. Point-in-Time Recovery : important concepts Usually, after a backup (and its verification), the binary log files are purged from the MySQL server: Copyright @ 2022 Oracle and/or its affiliates. day 1 BACKUPS Binlogs day 2 day 3 day 4 .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 22
  • 30. Point-in-Time Recovery : important concepts Usually, after a backup (and its verification), the binary log files are purged from the MySQL server: Copyright @ 2022 Oracle and/or its affiliates. day 1 BACKUPS Binlogs day 2 day 3 day 4 .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 day 1 BACKUPS pontential recovery points Binlogs day 2 day 3 day 4 .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 } 22
  • 31. Next Level (level up) My data is very important and I've a heavy workload... I would like to loose less than a second in case of a problem ! Copyright @ 2022 Oracle and/or its affiliates. 23
  • 32. Next Level (level up) My data is very important and I've a heavy workload... I would like to loose less than a second in case of a problem ! RTO → hours Copyright @ 2022 Oracle and/or its affiliates. 23
  • 33. Next Level (level up) My data is very important and I've a heavy workload... I would like to loose less than a second in case of a problem ! RTO → hours   RPO → less than a second Copyright @ 2022 Oracle and/or its affiliates. 23
  • 34. Enable GTIDs (they should be already !) Save in realtime the binary logs to a different system (OCI Object Storage, S3, ...) VCN 10.0.0.0/16 Public Subnet 10.0.0.0/24 Private Subnet 10.0.1.0/24 MySQL Shell MySQL Database Service Internet Gateway Oracle Cloud Infrastructure Availability Domain 1 Fault Domain 1 mysql-dump-bucket mysql-binlogs-bucket Object Storage dump instance streambinlogs Improved Point-in-Time Recovery (PITR) Copyright @ 2022 Oracle and/or its affiliates. 24
  • 35. with MySQL restart Enabling GTIDs Copyright @ 2022 Oracle and/or its affiliates. 25
  • 36. with MySQL restart without MySQL restart Enabling GTIDs Copyright @ 2022 Oracle and/or its affiliates. 25
  • 37. Saving Binlogs   Copyright @ 2022 Oracle and/or its affiliates. 26
  • 38. Saving Binlogs   On another system: mysqlbinlog --raw --read-from-remote-server --stop-never --host 10.0.0.2 --port 3306 -u getbinlog -ppassword --ssl-mode='REQUIRED' binlog.xxxxxx Copyright @ 2022 Oracle and/or its affiliates. 26
  • 39. Point-in-Time Recovery : important conceptes (2) As you may have noticed, we can only recover at the exact time of the backups and we can only do a one-off recovery from the last one! This is why it is recommended to relocate/offload the binlogs (to another server, a NAS, the cloud, ...). This will allow for a point-in-time recovery at any moment in time: Copyright @ 2022 Oracle and/or its affiliates. 27
  • 40. Point-in-Time Recovery : important conceptes (2) As you may have noticed, we can only recover at the exact time of the backups and we can only do a one-off recovery from the last one! This is why it is recommended to relocate/offload the binlogs (to another server, a NAS, the cloud, ...). This will allow for a point-in-time recovery at any moment in time: Copyright @ 2022 Oracle and/or its affiliates. } day 1 BACKUPS Binlogs day 2 day 3 day 4 .001 .002 .003 .004 .005 .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 .006 .007 .008 .009 .010 b i n l o g s t r e a m i n g possible recovery points 27
  • 41. One single MySQL instance with daily backups and external binlogs archiving Copyright @ 2022 Oracle and/or its affiliates. hours < 1 second RPO ? ? RTO 28
  • 42. Next Level (level up) My service is now very important, I would like my database to be available again within minutes in case of an incident. Copyright @ 2022 Oracle and/or its affiliates. 29
  • 43. Next Level (level up) My service is now very important, I would like my database to be available again within minutes in case of an incident. RTO → minutes Copyright @ 2022 Oracle and/or its affiliates. 29
  • 44. Next Level (level up) My service is now very important, I would like my database to be available again within minutes in case of an incident. RTO → minutes   RPO → less than a second Copyright @ 2022 Oracle and/or its affiliates. 29
  • 45. Based on the well known Asynchronous Replication But easier... easier is always better ! Data provisioning included (clone) 2 or more nodes Manual Failover Transparent/Automatic query routing with MySQL Router MySQL InnoDB ReplicaSet Copyright @ 2022 Oracle and/or its affiliates. 30
  • 46. MySQL InnoDB ReplicaSet Copyright @ 2022 Oracle and/or its affiliates. 31
  • 47. MySQL InnoDB ReplicaSet Connected to the actual server (our single instance): JS > dba.configureReplicaSetInstance() JS > rs=dba.createReplicaSet('myreplicaset') On the new extra server where only MySQL is installed (server and shell): JS > dba.configureReplicaSetInstance() And again on the main instance (our single instance): Et de nouveau sur l'instance principale: JS > rs.addInstance('mysql-2') Copyright @ 2022 Oracle and/or its affiliates. 32
  • 48. MySQL InnoDB ReplicaSet - examples Copyright @ 2022 Oracle and/or its affiliates. 33
  • 49. MySQL InnoDB ReplicaSet - examples Copyright @ 2022 Oracle and/or its affiliates. 34
  • 50. MySQL InnoDB ReplicaSet - examples Copyright @ 2022 Oracle and/or its affiliates. 35
  • 51. MySQL Router MySQL Router is very easy to configure, you only need to use the bootstrap command ! Copyright @ 2022 Oracle and/or its affiliates. 36
  • 52. MySQL Router As usual, this is also visible in MySQL Shell Copyright @ 2022 Oracle and/or its affiliates. 37
  • 53. MySQL InnoDB ReplicaSet - Manual Failover Copyright @ 2022 Oracle and/or its affiliates. MySQL Shell is connected to MySQL InnoDB ReplicaSet via MySQL Router. 38
  • 54. MySQL InnoDB ReplicaSet - Manual Failover Copyright @ 2022 Oracle and/or its affiliates. 39
  • 55. MySQL RelicaSet Copyright @ 2022 Oracle and/or its affiliates. minutes < 1 second RPO ? ? RTO rto > 40
  • 56. Next Level (level up) Now my service is very important, I would like to be almost always up (automatic failover) and never loose data ! Copyright @ 2022 Oracle and/or its affiliates. 41
  • 57. Next Level (level up) Now my service is very important, I would like to be almost always up (automatic failover) and never loose data ! RTO → seconds Copyright @ 2022 Oracle and/or its affiliates. 41
  • 58. Next Level (level up) Now my service is very important, I would like to be almost always up (automatic failover) and never loose data ! RTO → seconds   RPO → 0 Copyright @ 2022 Oracle and/or its affiliates. 41
  • 59. Based on native Group Replication But easier.... easier is always better ! Data provisioning included (clone) 3 or more nodes (odd number) Automatic Failover Uses MySQL Router Configurable Consistency Levels MySQL InnoDB Cluster Copyright @ 2022 Oracle and/or its affiliates. 42
  • 60. MySQL InnoDB Cluster Copyright @ 2022 Oracle and/or its affiliates. 43
  • 61. On the ReplicaSet's Primary Instance: JS > dba.dropMetadataSchema() JS > cluster=dba.createCluster('mycluster') On the Secondary one: SQL > STOP REPLICA; SQL > RESET ALL REPLICA; And back on the Primary: JS > cluster.addInstance('mysql-2') MySQL InnoDB Cluster We can now add a third instance to benefit from the automatic failover: Copyright @ 2022 Oracle and/or its affiliates. 44
  • 62. On the ReplicaSet's Primary Instance: JS > dba.dropMetadataSchema() JS > cluster=dba.createCluster('mycluster') On the Secondary one: SQL > STOP REPLICA; SQL > RESET ALL REPLICA; And back on the Primary: JS > cluster.addInstance('mysql-2') JS > dba.configureInstance() From any member of the cluster: JS > cluster=dba.getCluster() JS > cluster.addInstance('mysql-3') Finally, we can configure MySQL Router again: # mysqlrouter --bootstrap clusteradmin@single-mysql:3306 --conf-use-gr-notifications --user mysqlrouter --force # systemctl restart mysqlrouter MySQL InnoDB Cluster We can now add a third instance to benefit from the automatic failover: Copyright @ 2022 Oracle and/or its affiliates. 44
  • 63. MySQL InnoDB Cluster Copyright @ 2022 Oracle and/or its affiliates. 45
  • 64. MySQL InnoDB Cluster Copyright @ 2022 Oracle and/or its affiliates. seconds 0 RPO ? ? RTO rto > 46
  • 65. Next Level (level up) And if something happens to our data center ?? Copyright @ 2022 Oracle and/or its affiliates. 47
  • 66. Next Level (level up) And if something happens to our data center ?? How can we deploy a Disaster Recovery solution ? Copyright @ 2022 Oracle and/or its affiliates. 47
  • 67. Next Level (level up) And if something happens to our data center ?? How can we deploy a Disaster Recovery solution ? Copyright @ 2022 Oracle and/or its affiliates. MySQL InnoDB ClusterSet !! 47
  • 68. The Ultimate Evolution ! available since MySQL 8.0.27 fencing support since 8.0.28 MySQL InnoDB ClusterSet Copyright @ 2022 Oracle and/or its affiliates. 48
  • 69. The result of several transformations during previous releases: 8.0.22: Automatic Connection Failover (Async Replication Channels) 8.0.23: Automatic Connection Failover (Async Replication Channels using Group Replication) 8.0.24: transformation of skip-replica-start en global, persistent and read-only variable 8.0.26: Actions added for Group Replication's members (ex: super_read_only configurable) 8.0.26: Specific UUID added for structural events change of the Group (View_change_log_event) 8.0.27: Asynchronous Replication Channel automatically follows the Primary. Copyright @ 2022 Oracle and/or its affiliates. 49
  • 70. MySQL InnoDB ClusterSet Copyright @ 2022 Oracle and/or its affiliates. 50
  • 71. MySQL InnoDB ClusterSet Copyright @ 2022 Oracle and/or its affiliates. More complex architectures can be deployed ! 50
  • 72. MySQL InnoDB ClusterSet Copyright @ 2022 Oracle and/or its affiliates. More complex architectures can be deployed ! 50
  • 73. MySQL InnoDB ClusterSet Copyright @ 2022 Oracle and/or its affiliates. seconds 0 RPO ? ? RTO possible rpo>0 rto > 51
  • 74. Extra Since MySQL 8.0.19, the connectors also support dns-srv which, together with a discovery service such as Consul, can replace MySQL Router when it is impossible to install it on the application servers: Copyright @ 2022 Oracle and/or its affiliates. 52
  • 75. Extra Since MySQL 8.0.19, the connectors also support dns-srv which, together with a discovery service such as Consul, can replace MySQL Router when it is impossible to install it on the application servers: Copyright @ 2022 Oracle and/or its affiliates. 52
  • 76. MySQL Shell is now included in Visual Studio Code: Copyright @ 2022 Oracle and/or its affiliates. 53
  • 77. Copyright @ 2022 Oracle and/or its affiliates. 54
  • 78. Try MySQL HeatWave for Free: https://www.oracle.com/mysql/heatwave/ Copyright @ 2022 Oracle and/or its affiliates. 55
  • 79. Share your ❤️to MySQL #mysql Join our slack channel! bit.ly/mysql-slack Copyright @ 2022 Oracle and/or its affiliates. 56
  • 80. Questions ? Copyright @ 2022 Oracle and/or its affiliates. 57