SlideShare a Scribd company logo
 
MySQL Group Replication
 
 
 
 
 
 
 
 
Kenny Gryp (@gryp)
1 / 65
Table of Contents
1. Overview 5. Backups
2. Provisioning Nodes 6. Load Balancers
3. Configuration 7. Improvements
4. Monitoring
2 / 65
Apologies upfront. I was able to spend limited time researching
Group Replication, my knowledge is a lot more limited compared
to many MySQL (Group Replication) developers in this room. I
may have made wrong assumptions or discuss problems, missing
features which are likely known and on the roadmap to be
fixed/developed in reasonable time. Group Replication is a quite
new feature and only recently became GA. Hereby I give full
responsibility to the MySQL Developers to respond whenever I
made a wrong statement :-), but please keep in mind that my talk is
only 25 minutes long. Even though MySQL Group Replication is
marked GA, it is still a new feature and database software adoption
usually takes a long time, bugs mentioned (some of which are not
verified yet) in these slides are not here to try to tell you the feature
is not good, I believe it is my duty as member of the community to
provide feedback and getting the opportunity to talk in this room
with a lot of Oracle employees clearly demonstrates this is their
desire as well, even though it does scare me quite a lot! This talk
describes the status of Group Replication on 31/01/2017.
3 / 65
MySQL Group Replication
Overview
4 / 65
MySQL Asynchronous Replication
5 / 65
MySQL Group Replication
6 / 65
Quick Overview
Writes in entire Group Replication executed in
'Global Total Order'
Majority consensus (Paxos Mencius)
Writes will be received/accepted by majority of the nodes
No guarantee all nodes have received a trx before
application gets OK back
Optimistic Locking: Conflict Detection after replicating trx:
'Certification'
First Committer Wins
Every node has all data, cluster is 'as fast as slowest node'.
Nodes can join/leave cluster
7 / 65
Properties
No concept of master/slave, only 'members'
Durability:
No data loss, when failure of nodes happen. Does not accept
writes if there is no Quorum.
Active:Active Master:
All nodes can be configured to accept writes at same time *
No (time consuming) failover is necessary, every member can
become a writer member at any time
Added latency to every transaction COMMIT.
8 / 65
MySQL InnoDB Cluster
9 / 65
MySQL InnoDB Cluster
10 / 65
MySQL Group Replication
Main focus: Design & Usability
Performance & Stability was not yet analyzed
11 / 65
Use Cases for Group Replication
Environments with strict durability requirements
(no data loss if master member is lost)
Write to multiple nodes
('scalability' by splitting write/read workloads)
Improve failover time
...
12 / 65
MySQL Group Replication
Provisioning Nodes
13 / 65
GTID
Please note that Group Replication uses GTID
14 / 65
GTID
Please note that Group Replication uses GTID
Keep into Account:
Creating a cluster and provisioning nodes requires 'compatible'
GTID-sets
Errant Transactions!
15 / 65
Errant Transactions
Ensure there are no errant transactions before starting group
replication:
[ERROR] Plugin group_replication reported:
'This member has more executed transactions than those present
in the group.
Local transactions: 74dc6ab2-e1cc-11e6-92aa-08002789cd2e:1
>
Group transactions: 72149827-e1cc-11e6-9daf-08002789cd2e:1,
da7aba5e-dead-da7a-ba55-da7aba5e57ab:1-5'
[ERROR] Plugin group_replication reported:
'The member contains transactions not present in the group.
The member will now exit the group.'
[Note] Plugin group_replication reported:
'To force this member into the group you can use
the group_replication_allow_local_disjoint_gtids_join option'
16 / 65
Best Practice
Please never use
group_replication_allow_local_disjoint_gtids_join
once you use it, you always have to keep it on.
they might have been writes to the individual node (GR not
active)
data consistency/split brain/data loss/...
#84728: GR failure at start still starts MySQL
#84733: not possible to start with super_read_only=1
17 / 65
Starting Cluster
First Choose the right node to bootstrap:
mysql> select @@global.gtid_executedG
************************** 1. row ***************************
@@global.gtid_executed: 72149827-e1cc-11e6-9daf-08002789cd2e:1,
740e1fd2-e1cc-11e6-a8ec-08002789cd2e:1-2,
74dc6ab2-e1cc-11e6-92aa-08002789cd2e:1-2,
da7aba5e-dead-da7a-ba55-da7aba5e57ab:1-399
1 row in set (0.00 sec)
ensure compatible GTID sets or forget about it!
choose node with all GTIDs
18 / 65
Cluster Membership Operations
Start a new cluster:
SET GLOBAL group_replication_bootstrap_group=on;
START GROUP_REPLICATION;
SET GLOBAL group_replication_bootstrap_group=off;
19 / 65
Cluster Membership Operations
Start a new cluster:
SET GLOBAL group_replication_bootstrap_group=on;
START GROUP_REPLICATION;
SET GLOBAL group_replication_bootstrap_group=off;
Restore (GTID-enabled) Backup
SET GLOBAL group_replication_group_seeds='node1,node2,node3';
START GROUP_REPLICATION;
#84674: unresolved hostnames block GR from starting
20 / 65
MySQL Group Replication
Configuration
21 / 65
Configuration Requirements
[mysqld]
log-bin
binlog-format=row
binlog-checksum=NONE
gtid-mode=ON
log-slave-updates
master-info-repository=TABLE
relay-log-info-repository=TABLE
transaction-write-set-extraction=XXHASH64
Group Replication Configuration:
group_replication_group_name="da7aba5e-dead-da7a-ba55-da7aba5e57ab"
group_replication_local_address= "gr-2:24901"
group_replication_group_seeds= "gr-1:24901,gr-2:24901,gr-3:24901"
22 / 65
MySQL InnoDB Cluster
No Security/Authentication is described in these slides
Possible to create a cluster in the MySQL Shell w. AdminAPI
Also performs configuration checks
23 / 65
Other Requirements/Limitations
Required:
InnoDB Required
PK on every table
24 / 65
Other Requirements/Limitations
Required:
InnoDB Required
PK on every table
Not supported:
Transaction Savepoints
#84799: mysqldump --single-transaction uses
savepoints, does not work with GR
In multi-writer/active:active
Concurrent DDL vs DML/DDL operations
25 / 65
Oracle's (Valid) Recommendations
Only use
group_replication_single_primary_mode=ON
write to a single node only
Not recommended for WAN
(Probably because of Majority Consensus in Paxos Mencius)
Requires uneven amount of nodes for proper Quorum
26 / 65
My Recommendations - my.cnf
27 / 65
My Recommendations - my.cnf
Do not use loose- even though it is mentioned in the manual
#84631: installation documentation issues
28 / 65
My Recommendations - my.cnf
Do not use loose- even though it is mentioned in the manual
#84631: installation documentation issues
._allow_local_disjoint_gtids_join=OFF
29 / 65
My Recommendations - my.cnf
Do not use loose- even though it is mentioned in the manual
#84631: installation documentation issues
._allow_local_disjoint_gtids_join=OFF
Single writer mode?
group_replication_auto_increment_increment=7
default is too high. Set to 1.
30 / 65
My Recommendations - my.cnf
Do not use loose- even though it is mentioned in the manual
#84631: installation documentation issues
._allow_local_disjoint_gtids_join=OFF
Single writer mode?
group_replication_auto_increment_increment=7
default is too high. Set to 1.
group_replication_bootstrap_group=OFF
31 / 65
My Recommendations - my.cnf
Do not use loose- even though it is mentioned in the manual
#84631: installation documentation issues
._allow_local_disjoint_gtids_join=OFF
Single writer mode?
group_replication_auto_increment_increment=7
default is too high. Set to 1.
group_replication_bootstrap_group=OFF
group_replication_start_on_boot=ON
#84728: GR failure at start still starts MySQL 32 / 65
My Recommendations
33 / 65
My Recommendations
Ensure all FQDN hostnames are resolvable.
#84674: unresolved hostnames block GR from starting
@@global.hostname is used by other
members
34 / 65
My Recommendations
Ensure all FQDN hostnames are resolvable.
#84674: unresolved hostnames block GR from starting
@@global.hostname is used by other
members
Dangerous to issue:
SET GLOBAL read_only=OFF;
SET GLOBAL super_read_only=OFF;
STOP GROUP_REPLICATION;
#84795: STOP GROUP_REPLICATION sets
super_read_only=off
35 / 65
My Failed Recommendation
In an attempt to prevent split brain and because of:
#84728: GR failure at start still starts MySQL
I tried to enforce super_read_only=1 at boot, but that
failed too:
#84733: not possible to start with super_read_only=1
I did not find a way to prevent a MySQL node from starting as a
individual r/w MySQL server when Group Replication failed to
start.
36 / 65
MySQL Group Replication
Monitoring
(Profiling, Trending, Alerting, Status, Troubleshooting)
37 / 65
Performance Schema
SELECT TABLE_NAME FROM information_schema.TABLES
WHERE TABLE_SCHEMA='performance_schema'
AND TABLE_NAME LIKE '%replication%';
+-------------------------------------------+
| TABLE_NAME |
+-------------------------------------------+
| replication_applier_configuration |
| replication_applier_status |
| replication_applier_status_by_coordinator |
| replication_applier_status_by_worker |
| replication_connection_configuration |
| replication_connection_status |
| replication_group_member_stats |
| replication_group_members |
+-------------------------------------------+
2 replication appliers:
group_replication_applier <- group replication
38 / 65
Trending - SHOW GLOBAL
STATUS
Limited Status Information (which are usually easy to gather):
mysql> show global status like '%group%';
+----------------------------------+--------------------------------------+
| Variable_name | Value |
+----------------------------------+--------------------------------------+
| Com_group_replication_start | 0 |
| Com_group_replication_stop | 0 |
| group_replication_primary_member | 72149827-e1cc-11e6-9daf-08002789cd2e |
+----------------------------------+--------------------------------------+
39 / 65
Trending - PFS
mysql> select * from replication_group_member_statsG
*************************** 1. row ***************************
CHANNEL_NAME: group_replication_applier
VIEW_ID: 14860449946972589:2
MEMBER_ID: 74dc6ab2-e1cc-11e6-92aa-08002789cd2e
COUNT_TRANSACTIONS_IN_QUEUE: 0 # Certification queue
COUNT_TRANSACTIONS_CHECKED: 4
COUNT_CONFLICTS_DETECTED: 0
COUNT_TRANSACTIONS_ROWS_VALIDATING: 0
TRANSACTIONS_COMMITTED_ALL_MEMBERS:
72149827-e1cc-11e6-9daf-08002789cd2e:1,
740e1fd2-e1cc-11e6-a8ec-08002789cd2e:1-2,
74dc6ab2-e1cc-11e6-92aa-08002789cd2e:1-2,
da7aba5e-dead-da7a-ba55-da7aba5e57ab:1-444:1000041-1000503:2000041-
LAST_CONFLICT_FREE_TRANSACTION:
da7aba5e-dead-da7a-ba55-da7aba5e57ab:444
1 row in set (0.00 sec)
40 / 65
Group Replication Status
mysql> select * from replication_connection_statusG
*************************** 1. row ***************************
CHANNEL_NAME: group_replication_applier
GROUP_NAME: da7aba5e-dead-da7a-ba55-da7aba5e57ab
SOURCE_UUID: da7aba5e-dead-da7a-ba55-da7aba5e57ab
THREAD_ID: NULL
SERVICE_STATE: ON
COUNT_RECEIVED_HEARTBEATS: 0
LAST_HEARTBEAT_TIMESTAMP: 0000-00-00 00:00:00
RECEIVED_TRANSACTION_SET:
72149827-e1cc-11e6-9daf-08002789cd2e:1,
740e1fd2-e1cc-11e6-a8ec-08002789cd2e:1-2,
74dc6ab2-e1cc-11e6-92aa-08002789cd2e:1-2,
da7aba5e-dead-da7a-ba55-da7aba5e57ab:1-444:1000041-1000503:2000041-2000648
LAST_ERROR_NUMBER: 0
LAST_ERROR_MESSAGE:
LAST_ERROR_TIMESTAMP: 0000-00-00 00:00:00
41 / 65
Group Replication Members
mysql> select * from replication_group_members;
+--------------------------------------+------+------+--------+
| ID | HOST | PORT | STATE |
+--------------------------------------+------+------+--------+
| 72149827-e1cc-11e6-9daf-08002789cd2e | gr-1 | 3306 | ONLINE |
| 74dc6ab2-e1cc-11e6-92aa-08002789cd2e | gr-3 | 3306 | ONLINE |
+--------------------------------------+------+------+--------+
2 rows in set (0.00 sec)
# slightly modified output
#84796: GR Member status is wrong
42 / 65
Group Replication Read or Write.
mysql> select @@global.super_read_only;
+--------------------------+
| @@global.super_read_only |
+--------------------------+
| 1 |
+--------------------------+
1 row in set (0.05 sec)
43 / 65
Group Replication Lag
SELECT sys.gtid_count(
GTID_SUBTRACT(
(
SELECT
Received_transaction_set
FROM performance_schema.replication_connection_status
WHERE
Channel_name = 'group_replication_applier'
),
(SELECT
@@global.GTID_EXECUTED)
)
)
)
Thanks to @lefred:
https://github.com/lefred/mysql_gr_routing_check/
44 / 65
Commands
mysql> SHOW SLAVE STATUS FOR CHANNEL 'group_replication_recovery'G
mysql> SHOW SLAVE STATUS FOR CHANNEL 'group_replication_applier'G
ERROR 3139 (HY000): SHOW SLAVE STATUS cannot be performed on channel 'group_re
45 / 65
Member State Changes
Can use improvements:
#84796: GR Member status is wrong
#84798: Group Replication can use some verbosity in the error
log
46 / 65
Multi Node Conflicts
Optimistic Locking
First committer wins
#84730: ability to troubleshoot transaction rollbacks
ERROR 3101 (HY000) at line 1: Plugin instructed the server
to rollback the current transaction.
47 / 65
MySQL Group Replication
Backups
48 / 65
Backups
It's just InnoDB, use your favorite GTID supported backup tool:
Percona XtraBackup
MySQL Enterprise Backup
mysqldump
mysqlpump
mydumper
but...
49 / 65
Backups
It's just InnoDB, use your favorite GTID supported backup tool:
Percona XtraBackup
MySQL Enterprise Backup
mysqldump
mysqlpump
mydumper
but...
#84799: mysqldump --single-transaction uses savepoints, does
not work with GR
mydumper --use-savepoints is also affected
50 / 65
MySQL Group Replication
Load Balancers
51 / 65
MySQL Router (Beta)
MySQL Router is part of MySQL InnoDB Cluster
52 / 65
MySQL Router (Beta)
MySQL Router is part of MySQL InnoDB Cluster
I briefly evaluated, but quickly ran into serious problems:
missing a lot of features
pretty unknown in the community
...:
#83237: mysqlrouter connects to wrong metadata server (a
partitioned node)
Visibility:
#83236: How to see mysqlrouter membership status?
53 / 65
MySQL Router (Beta)
MySQL Router is part of MySQL InnoDB Cluster
I briefly evaluated, but quickly ran into serious problems:
missing a lot of features
pretty unknown in the community
...:
#83237: mysqlrouter connects to wrong metadata server (a
partitioned node)
Visibility:
#83236: How to see mysqlrouter membership status?
I might consider to re-evaluate, but first ^^
54 / 65
ProxySQL
Really Open Source!
Becoming very popular
Example Implementation http://lefred.be/content/ha-with-
mysql-group-replication-and-proxysql/
Careful: #2: using multiple hostgroups/schedulers with
proxysql_groupreplication_checker.sh can
cause unwanted state changes
55 / 65
MySQL Group Replication
Improvements
56 / 65
#84784 - Nodes Do Not Reconnect
Nodes do not reconnect to the group replication once they got
disconnected, causing nodes to drop from the cluster and can
lead to losing the whole cluster availability
57 / 65
Improvements
58 / 65
Improvements
Reduce impact on applications:
#84731: mysql client connections get stuck during GR start
59 / 65
Improvements
Reduce impact on applications:
#84731: mysql client connections get stuck during GR start
Partition Tolerance issues, split brain cannot be prevented:
#84727: partitioned nodes still accept writes: queries hang
#84728: GR failure at start still starts MySQL
#84729: block reads on partitioned nodes *
#84733: not possible to start with super_read_only=1
#84784: Nodes Do Not Reconnect
#84795: STOP GROUP_REPLICATION sets
super_read_only=off
60 / 65
Improvements
Stability:
#84785: Prevent Large Transactions in Group Replication
#84792: Member using 100% CPU in idle cluster
#84796: GR Member status is wrong
61 / 65
Improvements
Stability:
#84785: Prevent Large Transactions in Group Replication
#84792: Member using 100% CPU in idle cluster
#84796: GR Member status is wrong
Usability:
#84674: unresolved hostnames block GR from starting
#84794: cannot kill query that is stuck inside GR
#84799: mysqldump --single-transaction uses
savepoints, does not work with GR
#84798: Group Replication can use some
verbosity in the error log
62 / 65
For Every Bug Fixed: 1 Beer
63 / 65
MySQL Group Replication
Summary
64 / 65
Summary
Use Cases for Group Replication
Environments with strict durability requirements
Ensure split-brain can be completely avoided
Write to multiple nodes
('scalability' by splitting write/read workloads)
Not recommended (yet)
Improve failover time
Reducing impact on applications can be improved
...
65 / 65
Ad

More Related Content

What's hot (20)

MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
Olivier DASINI
 
MySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationMySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group Replication
Frederic Descamps
 
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바
NeoClova
 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & Operations
Frederic Descamps
 
Percona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL ArchitecturesPercona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL Architectures
Frederic Descamps
 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0
Mydbops
 
DataOpsbarcelona 2019: Deep dive into MySQL Group Replication... the magic e...
DataOpsbarcelona 2019:  Deep dive into MySQL Group Replication... the magic e...DataOpsbarcelona 2019:  Deep dive into MySQL Group Replication... the magic e...
DataOpsbarcelona 2019: Deep dive into MySQL Group Replication... the magic e...
Frederic Descamps
 
binary log と 2PC と Group Commit
binary log と 2PC と Group Commitbinary log と 2PC と Group Commit
binary log と 2PC と Group Commit
Takanori Sejima
 
Mysql data replication
Mysql data replicationMysql data replication
Mysql data replication
Tuấn Ngô
 
My sql failover test using orchestrator
My sql failover test  using orchestratorMy sql failover test  using orchestrator
My sql failover test using orchestrator
YoungHeon (Roy) Kim
 
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 - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesMySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
Kenny Gryp
 
Parallel Replication in MySQL and MariaDB
Parallel Replication in MySQL and MariaDBParallel Replication in MySQL and MariaDB
Parallel Replication in MySQL and MariaDB
Mydbops
 
ProxySQL High Avalability and Configuration Management Overview
ProxySQL High Avalability and Configuration Management OverviewProxySQL High Avalability and Configuration Management Overview
ProxySQL High Avalability and Configuration Management Overview
René Cannaò
 
InnoDb Vs NDB Cluster
InnoDb Vs NDB ClusterInnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
Mark Swarbrick
 
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 InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster
Mario Beck
 
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docxKeepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
NeoClova
 
ProxySQL and the Tricks Up Its Sleeve - Percona Live 2022.pdf
ProxySQL and the Tricks Up Its Sleeve - Percona Live 2022.pdfProxySQL and the Tricks Up Its Sleeve - Percona Live 2022.pdf
ProxySQL and the Tricks Up Its Sleeve - Percona Live 2022.pdf
Jesmar Cannao'
 
MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바
NeoClova
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
Olivier DASINI
 
MySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationMySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group Replication
Frederic Descamps
 
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바
NeoClova
 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & Operations
Frederic Descamps
 
Percona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL ArchitecturesPercona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL Architectures
Frederic Descamps
 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0
Mydbops
 
DataOpsbarcelona 2019: Deep dive into MySQL Group Replication... the magic e...
DataOpsbarcelona 2019:  Deep dive into MySQL Group Replication... the magic e...DataOpsbarcelona 2019:  Deep dive into MySQL Group Replication... the magic e...
DataOpsbarcelona 2019: Deep dive into MySQL Group Replication... the magic e...
Frederic Descamps
 
binary log と 2PC と Group Commit
binary log と 2PC と Group Commitbinary log と 2PC と Group Commit
binary log と 2PC と Group Commit
Takanori Sejima
 
Mysql data replication
Mysql data replicationMysql data replication
Mysql data replication
Tuấn Ngô
 
My sql failover test using orchestrator
My sql failover test  using orchestratorMy sql failover test  using orchestrator
My sql failover test using orchestrator
YoungHeon (Roy) Kim
 
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 - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesMySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
Kenny Gryp
 
Parallel Replication in MySQL and MariaDB
Parallel Replication in MySQL and MariaDBParallel Replication in MySQL and MariaDB
Parallel Replication in MySQL and MariaDB
Mydbops
 
ProxySQL High Avalability and Configuration Management Overview
ProxySQL High Avalability and Configuration Management OverviewProxySQL High Avalability and Configuration Management Overview
ProxySQL High Avalability and Configuration Management Overview
René Cannaò
 
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 InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster
Mario Beck
 
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docxKeepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
NeoClova
 
ProxySQL and the Tricks Up Its Sleeve - Percona Live 2022.pdf
ProxySQL and the Tricks Up Its Sleeve - Percona Live 2022.pdfProxySQL and the Tricks Up Its Sleeve - Percona Live 2022.pdf
ProxySQL and the Tricks Up Its Sleeve - Percona Live 2022.pdf
Jesmar Cannao'
 
MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바
NeoClova
 

Viewers also liked (20)

Extensible Data Modeling
Extensible Data ModelingExtensible Data Modeling
Extensible Data Modeling
Karwin Software Solutions LLC
 
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group ReplicationPercona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Kenny Gryp
 
MySQL Replication Performance Tuning for Fun and Profit!
MySQL Replication Performance Tuning for Fun and Profit!MySQL Replication Performance Tuning for Fun and Profit!
MySQL Replication Performance Tuning for Fun and Profit!
Vitor Oliveira
 
淘宝数据库架构演进历程
淘宝数据库架构演进历程淘宝数据库架构演进历程
淘宝数据库架构演进历程
zhaolinjnu
 
Mysql high availability and scalability
Mysql high availability and scalabilityMysql high availability and scalability
Mysql high availability and scalability
yin gong
 
Group Replication: A Journey to the Group Communication Core
Group Replication: A Journey to the Group Communication CoreGroup Replication: A Journey to the Group Communication Core
Group Replication: A Journey to the Group Communication Core
Alfranio Júnior
 
MySQL Best Practices - OTN LAD Tour
MySQL Best Practices - OTN LAD TourMySQL Best Practices - OTN LAD Tour
MySQL Best Practices - OTN LAD Tour
Ronald Bradford
 
Мониторинг и отладка MySQL: максимум информации при минимальных потерях
Мониторинг и отладка MySQL: максимум информации при минимальных потеряхМониторинг и отладка MySQL: максимум информации при минимальных потерях
Мониторинг и отладка MySQL: максимум информации при минимальных потерях
Sveta Smirnova
 
Using Apache Spark and MySQL for Data Analysis
Using Apache Spark and MySQL for Data AnalysisUsing Apache Spark and MySQL for Data Analysis
Using Apache Spark and MySQL for Data Analysis
Sveta Smirnova
 
MySQL High Availability and Disaster Recovery with Continuent, a VMware company
MySQL High Availability and Disaster Recovery with Continuent, a VMware companyMySQL High Availability and Disaster Recovery with Continuent, a VMware company
MySQL High Availability and Disaster Recovery with Continuent, a VMware company
Continuent
 
Mysql For Developers
Mysql For DevelopersMysql For Developers
Mysql For Developers
Carol McDonald
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
Lenz Grimmer
 
MySQL InnoDB 源码实现分析(一)
MySQL InnoDB 源码实现分析(一)MySQL InnoDB 源码实现分析(一)
MySQL InnoDB 源码实现分析(一)
frogd
 
MySQL Group Replication - HandsOn Tutorial
MySQL Group Replication - HandsOn TutorialMySQL Group Replication - HandsOn Tutorial
MySQL Group Replication - HandsOn Tutorial
Kenny Gryp
 
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
 
MySQL - checklist для новичка в Highload
MySQL - checklist для новичка в HighloadMySQL - checklist для новичка в Highload
MySQL - checklist для новичка в Highload
Sveta Smirnova
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
Manish Kumar
 
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
Sveta Smirnova
 
Capturing, Analyzing and Optimizing MySQL
Capturing, Analyzing and Optimizing MySQLCapturing, Analyzing and Optimizing MySQL
Capturing, Analyzing and Optimizing MySQL
Ronald Bradford
 
Mastering InnoDB Diagnostics
Mastering InnoDB DiagnosticsMastering InnoDB Diagnostics
Mastering InnoDB Diagnostics
guest8212a5
 
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group ReplicationPercona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Kenny Gryp
 
MySQL Replication Performance Tuning for Fun and Profit!
MySQL Replication Performance Tuning for Fun and Profit!MySQL Replication Performance Tuning for Fun and Profit!
MySQL Replication Performance Tuning for Fun and Profit!
Vitor Oliveira
 
淘宝数据库架构演进历程
淘宝数据库架构演进历程淘宝数据库架构演进历程
淘宝数据库架构演进历程
zhaolinjnu
 
Mysql high availability and scalability
Mysql high availability and scalabilityMysql high availability and scalability
Mysql high availability and scalability
yin gong
 
Group Replication: A Journey to the Group Communication Core
Group Replication: A Journey to the Group Communication CoreGroup Replication: A Journey to the Group Communication Core
Group Replication: A Journey to the Group Communication Core
Alfranio Júnior
 
MySQL Best Practices - OTN LAD Tour
MySQL Best Practices - OTN LAD TourMySQL Best Practices - OTN LAD Tour
MySQL Best Practices - OTN LAD Tour
Ronald Bradford
 
Мониторинг и отладка MySQL: максимум информации при минимальных потерях
Мониторинг и отладка MySQL: максимум информации при минимальных потеряхМониторинг и отладка MySQL: максимум информации при минимальных потерях
Мониторинг и отладка MySQL: максимум информации при минимальных потерях
Sveta Smirnova
 
Using Apache Spark and MySQL for Data Analysis
Using Apache Spark and MySQL for Data AnalysisUsing Apache Spark and MySQL for Data Analysis
Using Apache Spark and MySQL for Data Analysis
Sveta Smirnova
 
MySQL High Availability and Disaster Recovery with Continuent, a VMware company
MySQL High Availability and Disaster Recovery with Continuent, a VMware companyMySQL High Availability and Disaster Recovery with Continuent, a VMware company
MySQL High Availability and Disaster Recovery with Continuent, a VMware company
Continuent
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
Lenz Grimmer
 
MySQL InnoDB 源码实现分析(一)
MySQL InnoDB 源码实现分析(一)MySQL InnoDB 源码实现分析(一)
MySQL InnoDB 源码实现分析(一)
frogd
 
MySQL Group Replication - HandsOn Tutorial
MySQL Group Replication - HandsOn TutorialMySQL Group Replication - HandsOn Tutorial
MySQL Group Replication - HandsOn Tutorial
Kenny Gryp
 
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
 
MySQL - checklist для новичка в Highload
MySQL - checklist для новичка в HighloadMySQL - checklist для новичка в Highload
MySQL - checklist для новичка в Highload
Sveta Smirnova
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
Manish Kumar
 
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
Sveta Smirnova
 
Capturing, Analyzing and Optimizing MySQL
Capturing, Analyzing and Optimizing MySQLCapturing, Analyzing and Optimizing MySQL
Capturing, Analyzing and Optimizing MySQL
Ronald Bradford
 
Mastering InnoDB Diagnostics
Mastering InnoDB DiagnosticsMastering InnoDB Diagnostics
Mastering InnoDB Diagnostics
guest8212a5
 
Ad

Similar to MySQL Group Replication (20)

Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtime
Olivier DASINI
 
Meb Backup & Recovery Performance
Meb Backup & Recovery PerformanceMeb Backup & Recovery Performance
Meb Backup & Recovery Performance
Keith Hollman
 
MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017
Dave Stokes
 
Advanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suiteAdvanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suite
Kenny Gryp
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
Jean-François Gagné
 
MySQL NoSQL APIs
MySQL NoSQL APIsMySQL NoSQL APIs
MySQL NoSQL APIs
Morgan Tocker
 
Reducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQLReducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQL
Kenny Gryp
 
PoC: Using a Group Communication System to improve MySQL Replication HA
PoC: Using a Group Communication System to improve MySQL Replication HAPoC: Using a Group Communication System to improve MySQL Replication HA
PoC: Using a Group Communication System to improve MySQL Replication HA
Ulf Wendel
 
Oracle OpenWorld - Getting started with MySQL Cluster
Oracle OpenWorld - Getting started with MySQL ClusterOracle OpenWorld - Getting started with MySQL Cluster
Oracle OpenWorld - Getting started with MySQL Cluster
Benedita Paúl Vasconcelos
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
Jean-François Gagné
 
Mysql 57-upcoming-changes
Mysql 57-upcoming-changesMysql 57-upcoming-changes
Mysql 57-upcoming-changes
Morgan Tocker
 
Multi Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ VerisureMulti Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ Verisure
Kenny Gryp
 
Memcachedb: The Complete Guide
Memcachedb: The Complete GuideMemcachedb: The Complete Guide
Memcachedb: The Complete Guide
elliando dias
 
Mysql
Mysql Mysql
Mysql
Mindtree
 
Percona XtraDB 集群文档
Percona XtraDB 集群文档Percona XtraDB 集群文档
Percona XtraDB 集群文档
YUCHENG HU
 
Advanced percona xtra db cluster in a nutshell... la suite plsc2016
Advanced percona xtra db cluster in a nutshell... la suite plsc2016Advanced percona xtra db cluster in a nutshell... la suite plsc2016
Advanced percona xtra db cluster in a nutshell... la suite plsc2016
Frederic Descamps
 
Memcachedb Guide 1.0
Memcachedb Guide 1.0Memcachedb Guide 1.0
Memcachedb Guide 1.0
Kamol Mavlonov
 
Galera webinar migration to galera cluster from my sql async replication
Galera webinar migration to galera cluster from my sql async replicationGalera webinar migration to galera cluster from my sql async replication
Galera webinar migration to galera cluster from my sql async replication
Codership Oy - Creators of Galera Cluster
 
Caching and tuning fun for high scalability @ FrOSCon 2011
Caching and tuning fun for high scalability @ FrOSCon 2011Caching and tuning fun for high scalability @ FrOSCon 2011
Caching and tuning fun for high scalability @ FrOSCon 2011
Wim Godden
 
Mysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windowsMysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windows
Rogério Rocha
 
Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtime
Olivier DASINI
 
Meb Backup & Recovery Performance
Meb Backup & Recovery PerformanceMeb Backup & Recovery Performance
Meb Backup & Recovery Performance
Keith Hollman
 
MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017
Dave Stokes
 
Advanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suiteAdvanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suite
Kenny Gryp
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
Jean-François Gagné
 
Reducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQLReducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQL
Kenny Gryp
 
PoC: Using a Group Communication System to improve MySQL Replication HA
PoC: Using a Group Communication System to improve MySQL Replication HAPoC: Using a Group Communication System to improve MySQL Replication HA
PoC: Using a Group Communication System to improve MySQL Replication HA
Ulf Wendel
 
Oracle OpenWorld - Getting started with MySQL Cluster
Oracle OpenWorld - Getting started with MySQL ClusterOracle OpenWorld - Getting started with MySQL Cluster
Oracle OpenWorld - Getting started with MySQL Cluster
Benedita Paúl Vasconcelos
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
Jean-François Gagné
 
Mysql 57-upcoming-changes
Mysql 57-upcoming-changesMysql 57-upcoming-changes
Mysql 57-upcoming-changes
Morgan Tocker
 
Multi Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ VerisureMulti Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ Verisure
Kenny Gryp
 
Memcachedb: The Complete Guide
Memcachedb: The Complete GuideMemcachedb: The Complete Guide
Memcachedb: The Complete Guide
elliando dias
 
Percona XtraDB 集群文档
Percona XtraDB 集群文档Percona XtraDB 集群文档
Percona XtraDB 集群文档
YUCHENG HU
 
Advanced percona xtra db cluster in a nutshell... la suite plsc2016
Advanced percona xtra db cluster in a nutshell... la suite plsc2016Advanced percona xtra db cluster in a nutshell... la suite plsc2016
Advanced percona xtra db cluster in a nutshell... la suite plsc2016
Frederic Descamps
 
Caching and tuning fun for high scalability @ FrOSCon 2011
Caching and tuning fun for high scalability @ FrOSCon 2011Caching and tuning fun for high scalability @ FrOSCon 2011
Caching and tuning fun for high scalability @ FrOSCon 2011
Wim Godden
 
Mysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windowsMysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windows
Rogério Rocha
 
Ad

More from Kenny Gryp (10)

MySQL Database Architectures - 2022-08
MySQL Database Architectures - 2022-08MySQL Database Architectures - 2022-08
MySQL Database Architectures - 2022-08
Kenny Gryp
 
MySQL Operator for Kubernetes
MySQL Operator for KubernetesMySQL Operator for Kubernetes
MySQL Operator for Kubernetes
Kenny Gryp
 
MySQL Database Architectures - 2020-10
MySQL Database Architectures -  2020-10MySQL Database Architectures -  2020-10
MySQL Database Architectures - 2020-10
Kenny Gryp
 
MySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - TutorialMySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - Tutorial
Kenny Gryp
 
MySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRVMySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRV
Kenny Gryp
 
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterMySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
Kenny Gryp
 
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
 
Online MySQL Backups with Percona XtraBackup
Online MySQL Backups with Percona XtraBackupOnline MySQL Backups with Percona XtraBackup
Online MySQL Backups with Percona XtraBackup
Kenny Gryp
 
Java MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & OptimizationJava MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & Optimization
Kenny Gryp
 
Percona XtraDB Cluster
Percona XtraDB ClusterPercona XtraDB Cluster
Percona XtraDB Cluster
Kenny Gryp
 
MySQL Database Architectures - 2022-08
MySQL Database Architectures - 2022-08MySQL Database Architectures - 2022-08
MySQL Database Architectures - 2022-08
Kenny Gryp
 
MySQL Operator for Kubernetes
MySQL Operator for KubernetesMySQL Operator for Kubernetes
MySQL Operator for Kubernetes
Kenny Gryp
 
MySQL Database Architectures - 2020-10
MySQL Database Architectures -  2020-10MySQL Database Architectures -  2020-10
MySQL Database Architectures - 2020-10
Kenny Gryp
 
MySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - TutorialMySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - Tutorial
Kenny Gryp
 
MySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRVMySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRV
Kenny Gryp
 
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterMySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
Kenny Gryp
 
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
 
Online MySQL Backups with Percona XtraBackup
Online MySQL Backups with Percona XtraBackupOnline MySQL Backups with Percona XtraBackup
Online MySQL Backups with Percona XtraBackup
Kenny Gryp
 
Java MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & OptimizationJava MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & Optimization
Kenny Gryp
 
Percona XtraDB Cluster
Percona XtraDB ClusterPercona XtraDB Cluster
Percona XtraDB Cluster
Kenny Gryp
 

Recently uploaded (20)

Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 

MySQL Group Replication

  • 2. Table of Contents 1. Overview 5. Backups 2. Provisioning Nodes 6. Load Balancers 3. Configuration 7. Improvements 4. Monitoring 2 / 65
  • 3. Apologies upfront. I was able to spend limited time researching Group Replication, my knowledge is a lot more limited compared to many MySQL (Group Replication) developers in this room. I may have made wrong assumptions or discuss problems, missing features which are likely known and on the roadmap to be fixed/developed in reasonable time. Group Replication is a quite new feature and only recently became GA. Hereby I give full responsibility to the MySQL Developers to respond whenever I made a wrong statement :-), but please keep in mind that my talk is only 25 minutes long. Even though MySQL Group Replication is marked GA, it is still a new feature and database software adoption usually takes a long time, bugs mentioned (some of which are not verified yet) in these slides are not here to try to tell you the feature is not good, I believe it is my duty as member of the community to provide feedback and getting the opportunity to talk in this room with a lot of Oracle employees clearly demonstrates this is their desire as well, even though it does scare me quite a lot! This talk describes the status of Group Replication on 31/01/2017. 3 / 65
  • 7. Quick Overview Writes in entire Group Replication executed in 'Global Total Order' Majority consensus (Paxos Mencius) Writes will be received/accepted by majority of the nodes No guarantee all nodes have received a trx before application gets OK back Optimistic Locking: Conflict Detection after replicating trx: 'Certification' First Committer Wins Every node has all data, cluster is 'as fast as slowest node'. Nodes can join/leave cluster 7 / 65
  • 8. Properties No concept of master/slave, only 'members' Durability: No data loss, when failure of nodes happen. Does not accept writes if there is no Quorum. Active:Active Master: All nodes can be configured to accept writes at same time * No (time consuming) failover is necessary, every member can become a writer member at any time Added latency to every transaction COMMIT. 8 / 65
  • 11. MySQL Group Replication Main focus: Design & Usability Performance & Stability was not yet analyzed 11 / 65
  • 12. Use Cases for Group Replication Environments with strict durability requirements (no data loss if master member is lost) Write to multiple nodes ('scalability' by splitting write/read workloads) Improve failover time ... 12 / 65
  • 14. GTID Please note that Group Replication uses GTID 14 / 65
  • 15. GTID Please note that Group Replication uses GTID Keep into Account: Creating a cluster and provisioning nodes requires 'compatible' GTID-sets Errant Transactions! 15 / 65
  • 16. Errant Transactions Ensure there are no errant transactions before starting group replication: [ERROR] Plugin group_replication reported: 'This member has more executed transactions than those present in the group. Local transactions: 74dc6ab2-e1cc-11e6-92aa-08002789cd2e:1 > Group transactions: 72149827-e1cc-11e6-9daf-08002789cd2e:1, da7aba5e-dead-da7a-ba55-da7aba5e57ab:1-5' [ERROR] Plugin group_replication reported: 'The member contains transactions not present in the group. The member will now exit the group.' [Note] Plugin group_replication reported: 'To force this member into the group you can use the group_replication_allow_local_disjoint_gtids_join option' 16 / 65
  • 17. Best Practice Please never use group_replication_allow_local_disjoint_gtids_join once you use it, you always have to keep it on. they might have been writes to the individual node (GR not active) data consistency/split brain/data loss/... #84728: GR failure at start still starts MySQL #84733: not possible to start with super_read_only=1 17 / 65
  • 18. Starting Cluster First Choose the right node to bootstrap: mysql> select @@global.gtid_executedG ************************** 1. row *************************** @@global.gtid_executed: 72149827-e1cc-11e6-9daf-08002789cd2e:1, 740e1fd2-e1cc-11e6-a8ec-08002789cd2e:1-2, 74dc6ab2-e1cc-11e6-92aa-08002789cd2e:1-2, da7aba5e-dead-da7a-ba55-da7aba5e57ab:1-399 1 row in set (0.00 sec) ensure compatible GTID sets or forget about it! choose node with all GTIDs 18 / 65
  • 19. Cluster Membership Operations Start a new cluster: SET GLOBAL group_replication_bootstrap_group=on; START GROUP_REPLICATION; SET GLOBAL group_replication_bootstrap_group=off; 19 / 65
  • 20. Cluster Membership Operations Start a new cluster: SET GLOBAL group_replication_bootstrap_group=on; START GROUP_REPLICATION; SET GLOBAL group_replication_bootstrap_group=off; Restore (GTID-enabled) Backup SET GLOBAL group_replication_group_seeds='node1,node2,node3'; START GROUP_REPLICATION; #84674: unresolved hostnames block GR from starting 20 / 65
  • 22. Configuration Requirements [mysqld] log-bin binlog-format=row binlog-checksum=NONE gtid-mode=ON log-slave-updates master-info-repository=TABLE relay-log-info-repository=TABLE transaction-write-set-extraction=XXHASH64 Group Replication Configuration: group_replication_group_name="da7aba5e-dead-da7a-ba55-da7aba5e57ab" group_replication_local_address= "gr-2:24901" group_replication_group_seeds= "gr-1:24901,gr-2:24901,gr-3:24901" 22 / 65
  • 23. MySQL InnoDB Cluster No Security/Authentication is described in these slides Possible to create a cluster in the MySQL Shell w. AdminAPI Also performs configuration checks 23 / 65
  • 25. Other Requirements/Limitations Required: InnoDB Required PK on every table Not supported: Transaction Savepoints #84799: mysqldump --single-transaction uses savepoints, does not work with GR In multi-writer/active:active Concurrent DDL vs DML/DDL operations 25 / 65
  • 26. Oracle's (Valid) Recommendations Only use group_replication_single_primary_mode=ON write to a single node only Not recommended for WAN (Probably because of Majority Consensus in Paxos Mencius) Requires uneven amount of nodes for proper Quorum 26 / 65
  • 27. My Recommendations - my.cnf 27 / 65
  • 28. My Recommendations - my.cnf Do not use loose- even though it is mentioned in the manual #84631: installation documentation issues 28 / 65
  • 29. My Recommendations - my.cnf Do not use loose- even though it is mentioned in the manual #84631: installation documentation issues ._allow_local_disjoint_gtids_join=OFF 29 / 65
  • 30. My Recommendations - my.cnf Do not use loose- even though it is mentioned in the manual #84631: installation documentation issues ._allow_local_disjoint_gtids_join=OFF Single writer mode? group_replication_auto_increment_increment=7 default is too high. Set to 1. 30 / 65
  • 31. My Recommendations - my.cnf Do not use loose- even though it is mentioned in the manual #84631: installation documentation issues ._allow_local_disjoint_gtids_join=OFF Single writer mode? group_replication_auto_increment_increment=7 default is too high. Set to 1. group_replication_bootstrap_group=OFF 31 / 65
  • 32. My Recommendations - my.cnf Do not use loose- even though it is mentioned in the manual #84631: installation documentation issues ._allow_local_disjoint_gtids_join=OFF Single writer mode? group_replication_auto_increment_increment=7 default is too high. Set to 1. group_replication_bootstrap_group=OFF group_replication_start_on_boot=ON #84728: GR failure at start still starts MySQL 32 / 65
  • 34. My Recommendations Ensure all FQDN hostnames are resolvable. #84674: unresolved hostnames block GR from starting @@global.hostname is used by other members 34 / 65
  • 35. My Recommendations Ensure all FQDN hostnames are resolvable. #84674: unresolved hostnames block GR from starting @@global.hostname is used by other members Dangerous to issue: SET GLOBAL read_only=OFF; SET GLOBAL super_read_only=OFF; STOP GROUP_REPLICATION; #84795: STOP GROUP_REPLICATION sets super_read_only=off 35 / 65
  • 36. My Failed Recommendation In an attempt to prevent split brain and because of: #84728: GR failure at start still starts MySQL I tried to enforce super_read_only=1 at boot, but that failed too: #84733: not possible to start with super_read_only=1 I did not find a way to prevent a MySQL node from starting as a individual r/w MySQL server when Group Replication failed to start. 36 / 65
  • 37. MySQL Group Replication Monitoring (Profiling, Trending, Alerting, Status, Troubleshooting) 37 / 65
  • 38. Performance Schema SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA='performance_schema' AND TABLE_NAME LIKE '%replication%'; +-------------------------------------------+ | TABLE_NAME | +-------------------------------------------+ | replication_applier_configuration | | replication_applier_status | | replication_applier_status_by_coordinator | | replication_applier_status_by_worker | | replication_connection_configuration | | replication_connection_status | | replication_group_member_stats | | replication_group_members | +-------------------------------------------+ 2 replication appliers: group_replication_applier <- group replication 38 / 65
  • 39. Trending - SHOW GLOBAL STATUS Limited Status Information (which are usually easy to gather): mysql> show global status like '%group%'; +----------------------------------+--------------------------------------+ | Variable_name | Value | +----------------------------------+--------------------------------------+ | Com_group_replication_start | 0 | | Com_group_replication_stop | 0 | | group_replication_primary_member | 72149827-e1cc-11e6-9daf-08002789cd2e | +----------------------------------+--------------------------------------+ 39 / 65
  • 40. Trending - PFS mysql> select * from replication_group_member_statsG *************************** 1. row *************************** CHANNEL_NAME: group_replication_applier VIEW_ID: 14860449946972589:2 MEMBER_ID: 74dc6ab2-e1cc-11e6-92aa-08002789cd2e COUNT_TRANSACTIONS_IN_QUEUE: 0 # Certification queue COUNT_TRANSACTIONS_CHECKED: 4 COUNT_CONFLICTS_DETECTED: 0 COUNT_TRANSACTIONS_ROWS_VALIDATING: 0 TRANSACTIONS_COMMITTED_ALL_MEMBERS: 72149827-e1cc-11e6-9daf-08002789cd2e:1, 740e1fd2-e1cc-11e6-a8ec-08002789cd2e:1-2, 74dc6ab2-e1cc-11e6-92aa-08002789cd2e:1-2, da7aba5e-dead-da7a-ba55-da7aba5e57ab:1-444:1000041-1000503:2000041- LAST_CONFLICT_FREE_TRANSACTION: da7aba5e-dead-da7a-ba55-da7aba5e57ab:444 1 row in set (0.00 sec) 40 / 65
  • 41. Group Replication Status mysql> select * from replication_connection_statusG *************************** 1. row *************************** CHANNEL_NAME: group_replication_applier GROUP_NAME: da7aba5e-dead-da7a-ba55-da7aba5e57ab SOURCE_UUID: da7aba5e-dead-da7a-ba55-da7aba5e57ab THREAD_ID: NULL SERVICE_STATE: ON COUNT_RECEIVED_HEARTBEATS: 0 LAST_HEARTBEAT_TIMESTAMP: 0000-00-00 00:00:00 RECEIVED_TRANSACTION_SET: 72149827-e1cc-11e6-9daf-08002789cd2e:1, 740e1fd2-e1cc-11e6-a8ec-08002789cd2e:1-2, 74dc6ab2-e1cc-11e6-92aa-08002789cd2e:1-2, da7aba5e-dead-da7a-ba55-da7aba5e57ab:1-444:1000041-1000503:2000041-2000648 LAST_ERROR_NUMBER: 0 LAST_ERROR_MESSAGE: LAST_ERROR_TIMESTAMP: 0000-00-00 00:00:00 41 / 65
  • 42. Group Replication Members mysql> select * from replication_group_members; +--------------------------------------+------+------+--------+ | ID | HOST | PORT | STATE | +--------------------------------------+------+------+--------+ | 72149827-e1cc-11e6-9daf-08002789cd2e | gr-1 | 3306 | ONLINE | | 74dc6ab2-e1cc-11e6-92aa-08002789cd2e | gr-3 | 3306 | ONLINE | +--------------------------------------+------+------+--------+ 2 rows in set (0.00 sec) # slightly modified output #84796: GR Member status is wrong 42 / 65
  • 43. Group Replication Read or Write. mysql> select @@global.super_read_only; +--------------------------+ | @@global.super_read_only | +--------------------------+ | 1 | +--------------------------+ 1 row in set (0.05 sec) 43 / 65
  • 44. Group Replication Lag SELECT sys.gtid_count( GTID_SUBTRACT( ( SELECT Received_transaction_set FROM performance_schema.replication_connection_status WHERE Channel_name = 'group_replication_applier' ), (SELECT @@global.GTID_EXECUTED) ) ) ) Thanks to @lefred: https://github.com/lefred/mysql_gr_routing_check/ 44 / 65
  • 45. Commands mysql> SHOW SLAVE STATUS FOR CHANNEL 'group_replication_recovery'G mysql> SHOW SLAVE STATUS FOR CHANNEL 'group_replication_applier'G ERROR 3139 (HY000): SHOW SLAVE STATUS cannot be performed on channel 'group_re 45 / 65
  • 46. Member State Changes Can use improvements: #84796: GR Member status is wrong #84798: Group Replication can use some verbosity in the error log 46 / 65
  • 47. Multi Node Conflicts Optimistic Locking First committer wins #84730: ability to troubleshoot transaction rollbacks ERROR 3101 (HY000) at line 1: Plugin instructed the server to rollback the current transaction. 47 / 65
  • 49. Backups It's just InnoDB, use your favorite GTID supported backup tool: Percona XtraBackup MySQL Enterprise Backup mysqldump mysqlpump mydumper but... 49 / 65
  • 50. Backups It's just InnoDB, use your favorite GTID supported backup tool: Percona XtraBackup MySQL Enterprise Backup mysqldump mysqlpump mydumper but... #84799: mysqldump --single-transaction uses savepoints, does not work with GR mydumper --use-savepoints is also affected 50 / 65
  • 51. MySQL Group Replication Load Balancers 51 / 65
  • 52. MySQL Router (Beta) MySQL Router is part of MySQL InnoDB Cluster 52 / 65
  • 53. MySQL Router (Beta) MySQL Router is part of MySQL InnoDB Cluster I briefly evaluated, but quickly ran into serious problems: missing a lot of features pretty unknown in the community ...: #83237: mysqlrouter connects to wrong metadata server (a partitioned node) Visibility: #83236: How to see mysqlrouter membership status? 53 / 65
  • 54. MySQL Router (Beta) MySQL Router is part of MySQL InnoDB Cluster I briefly evaluated, but quickly ran into serious problems: missing a lot of features pretty unknown in the community ...: #83237: mysqlrouter connects to wrong metadata server (a partitioned node) Visibility: #83236: How to see mysqlrouter membership status? I might consider to re-evaluate, but first ^^ 54 / 65
  • 55. ProxySQL Really Open Source! Becoming very popular Example Implementation http://lefred.be/content/ha-with- mysql-group-replication-and-proxysql/ Careful: #2: using multiple hostgroups/schedulers with proxysql_groupreplication_checker.sh can cause unwanted state changes 55 / 65
  • 57. #84784 - Nodes Do Not Reconnect Nodes do not reconnect to the group replication once they got disconnected, causing nodes to drop from the cluster and can lead to losing the whole cluster availability 57 / 65
  • 59. Improvements Reduce impact on applications: #84731: mysql client connections get stuck during GR start 59 / 65
  • 60. Improvements Reduce impact on applications: #84731: mysql client connections get stuck during GR start Partition Tolerance issues, split brain cannot be prevented: #84727: partitioned nodes still accept writes: queries hang #84728: GR failure at start still starts MySQL #84729: block reads on partitioned nodes * #84733: not possible to start with super_read_only=1 #84784: Nodes Do Not Reconnect #84795: STOP GROUP_REPLICATION sets super_read_only=off 60 / 65
  • 61. Improvements Stability: #84785: Prevent Large Transactions in Group Replication #84792: Member using 100% CPU in idle cluster #84796: GR Member status is wrong 61 / 65
  • 62. Improvements Stability: #84785: Prevent Large Transactions in Group Replication #84792: Member using 100% CPU in idle cluster #84796: GR Member status is wrong Usability: #84674: unresolved hostnames block GR from starting #84794: cannot kill query that is stuck inside GR #84799: mysqldump --single-transaction uses savepoints, does not work with GR #84798: Group Replication can use some verbosity in the error log 62 / 65
  • 63. For Every Bug Fixed: 1 Beer 63 / 65
  • 65. Summary Use Cases for Group Replication Environments with strict durability requirements Ensure split-brain can be completely avoided Write to multiple nodes ('scalability' by splitting write/read workloads) Not recommended (yet) Improve failover time Reducing impact on applications can be improved ... 65 / 65