SlideShare a Scribd company logo
1 of 42
Download to read offline
www.fromdual.com
1 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
MySQL Servers Working as a Team -
Replication or Galera Cluster
Open Source Data Center Conference, April 26th
- 28th
, Berlin
Jörg Brühe
Senior Support Engineer, FromDual GmbH
joerg.bruehe@fromdual.com
CC-BY-SA
www.fromdual.com
2 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
FromDual GmbH
Support
remote-DBA
Training
Consulting
www.fromdual.com
3 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
About Me
● Development distributed SQL-DBMS
Porting mainframe -> Unix,
Interface to archiver tools (ADSM, NetWorker)
● MySQL Build Team
Release builds incl. tests, packaging, scripts, ...
● DBA
MySQL running a web platform
(master-master-replication)
● Support-Engineer (FromDual)
Support + Remote-DBA for MySQL / MariaDB / Percona
both with and without Galera Cluster
www.fromdual.com
4 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Contents
MySQL Server: Architecture
Binlog
Replication
Galera Cluster
Comparison
Examples / When (not) to Choose Which
www.fromdual.com
5 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
General Remarks
● Concepts rather than details:
”the forest, not the trees“
● MySQL 5.6 (established GA version)
● Also valid for Percona and MariaDB
● Not applicable to ”embedded“ MySQL
● Not considered: NDB = ”MySQL Cluster“
www.fromdual.com
6 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
MySQL Server: Architecture
Binlog
Replication
Galera Cluster
Comparison
Examples / When (not) to Choose Which
www.fromdual.com
7 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Client-Server-DBMS
App App App
Server
Disk
Client (application)
local or remote
Socket, LAN or internet
Server is separate process,
multi-threaded:
1 thread per user session
Disk / SSD, local or SAN
www.fromdual.com
8 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Inside the Server
mysqld
MySQL ist eine multi-Thread
und NICHT eine multi-Prozess
Applikation!
Application / Client
Thread
Cache
Connection
Manager
User Au-
thentication
Command
Dispatcher
Logging
Query Cache
Module
Query
Cache
Parser
Optimizer
Access Control
Table Manager
Table Open
Cache (.frm, fh)
Table Definition
Cache (tbl def.)
Handler Interface
MyISAM Memory NDB PBXTInnoDB ...Aria XtraDB Federated-X
www.fromdual.com
9 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
MySQL Server: Architecture
Binlog
Replication
Galera Cluster
Comparison
Examples / When (not) to Choose Which
www.fromdual.com
10 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Layers + Binlog
MyISAM
InnoDB
...
Userthread2
Userthread1
...
SQL layer:
- Parser
- Optimizer
- Privileges
- Query Cache
- …
Handler Interface
File layer:
- Table Handler
- InnoDB:
- Row Access
- Row Locks
- Recovery
- ...
Binlog:
All data
and schema
changes
www.fromdual.com
11 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Binlog
● All data changes executed
● All schema changes executed
● Timestamps
● Essential for Point-in-Time-Recovery ”PITR“
● Independent of table handler
● Formats ”statement“, ”row“, and ”mixed“
● Segments of configurable size
● Numbered sequentially
www.fromdual.com
12 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
MySQL Server: Architecture
Binlog
Replication
Galera Cluster
Comparison
Examples / When (not) to Choose Which
www.fromdual.com
13 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
MySQL Replication
● Applications communicate with ”Master“
● ”Master“ logs all changes
● ”Slave“ has identical initial state
● Slave fetches all changes from master
and applies them locally
● Replication is running asynchronous
● Slave stops replication on difference
www.fromdual.com
14 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Slave fetches binlog
Userthread2
Userthread1
...
Userthread3
MyISAM
InnoDB
...
Userthread2
Userthread1
...
SQLthread
IOthread
BinlogRelay
Log
MyISAM
InnoDB
...
Slave:
“log-bin = FILE”, or else no binlog
“log_slave_updates = 1” for forwarding
Master:
“log-bin = FILE”, or else no binlog
(no master function)
Binlog
www.fromdual.com
15 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Typical Usage
● ”High Availability“
● Geographic redundancy
● Support higher read load
(= ”read scale-out“)
● Read-only instance(s)
e.g. for backup or reports
● Intentional delay is possible
● Filtering (by DB or table) is possible
www.fromdual.com
16 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Replication Cascade
Userthread2
Userthread1
...
Userthread3
MyISAM
InnoDB
...
MyISAM
InnoDB
...
MyISAM
InnoDB
...
SQLthread
IOthread
Userthread2
Userthread1
...
SQLthread
IOthread
Userthread2
Userthread1
...
● Recommended: ”read-only = 1“ on slave
”log_slave_updates = 1“
● Multiple slaves per master are possible
www.fromdual.com
17 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Entries in Binlog
Original:
● Identification by file name and position
● Replication: ”change master to ...“ specifying
host, port, user, password, file, position
● See also: ”mysqldump ­­master­data“
From MySQL 5.6 also:
● GTID = ”Global Transaction ID“
● Replication: ”change master to ...“ specifying
host, port, user, password, ”auto_position = 1“
www.fromdual.com
18 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Master-Master-Replication
Userthread2
Userthread1
...
Userthread3
MyISAM
InnoDB
...
Userthread2
Userthread1
...
SQLthread
IOthread
BinlogRelay
Log
MyISAM
InnoDB
...
Binlog
SQLthread
IOthread
Relay
Log
● Overlapping changes are fatal!
www.fromdual.com
19 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Notes about Replication
● Master-Master is controversial, be careful!
● Replication increases read throughput,
but not/barely write throughput
● Replication causes file IO und network load
● Format ”row“ is more efficient, but less readable
● Multi-threaded replication since MySQL 5.6,
multi-master (”multi-source“) coming in MySQL 5.7
● Big installation: booking.com
● Recommended: datacharmer.blogspot.de
(Giuseppe Maxia, August 2015)
www.fromdual.com
20 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
MySQL Server: Architecture
Binlog
Replication
Galera Cluster
Comparison
Examples / When (not) to Choose Which
www.fromdual.com
21 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Replication Weaknesses
● Asynchronous
● Asymmetrical
● Only one write node
● Parallel writes may cause breakage
● HA needs failover after node crash
● Each node is SPOF for its slaves,
breakdown requires structure change
● Dynamic changes are complicated
www.fromdual.com
22 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Better Alternative
● Synchronous transfer
● Symmetrical cluster
● Write accesses on all nodes
● Distributed conflict analysis and handling
● HA by continuity after node outage
● Dynamic entry / exit of nodes supported
www.fromdual.com
23 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Galera Cluster
App App App
Load balancing (LB)
Node 2 Node 3Node 1
wsrep
Galera replication
wsrep wsrep
Inclusiding outage detection
and redirection for HA
“Working Set Replication”
Dedicated network preferred
Locale disks,
each holding all data
= =
“shared nothing” architecture
www.fromdual.com
24 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Galera Properties (1)
+ Based on InnoDB (due to transactions and rollback)
+ Also transfers user definitions, privileges, ...
+ Quasi-synchronous transfer on commit,
check for conflicts, efficient
+ Symmetrical, HA without server failover, quorum
+ No loss of transactions
+ Brings read scale-out, also some write increase
+ Dynamical entry / exit possible,
synchronisation is automated
www.fromdual.com
25 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Order of Events
Graph by
Vadim Tkachenko
(Percona):
http://www.mysqlperformanceblog.com/2012/01/19/
percona-xtradb-cluster-feature-2-multi-master-replication/
www.fromdual.com
26 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Galera Properties (2)
- MySQL sources need patching
(Codership offers binaries, ditto MariaDB and Percona)
- Beware of hot spots (rows)
- Conflict detection is late, full rollback
(Check postponed till commit)
- Minimum size is 3 nodes
- Synchronisation time for large DB
(mysqldump -> xtrabackup or rsync)
www.fromdual.com
27 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Certifiation at Commit
http://galeracluster.com/documentation-webpages/certificationbasedreplication.html
www.fromdual.com
28 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
MySQL Server: Architecture
Binlog
Replication
Galera Cluster
Comparison
Examples / When (not) to Choose Which
www.fromdual.com
29 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Team of MySQL Servers
● Alternatives: Replication or Galera Cluster
● Redundancy of machine and storage
● HA
● Scale-out, esp. for read load
● Instances for reports, analysis, backup
● Data available locally (branch offices, ...)
www.fromdual.com
30 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Comparison (1)
Replication Galera
Standard Add-on product
All handlers InnoDB only
Upwards compatible Same versions
Minimum 2 nodes Minimum 3 nodes
HA by failover HA without changes
Communication:
Hierarchical, chain Symmetrical, parallel
Asynchronous Quasi-synchronous
Delay is configurable Immediate
Filtering is configurable Complete
www.fromdual.com
31 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Comparison (2)
Replication Galera
Read scale-Out Read scale-Out
Write unchanged Write increased
1 Master:
1* write 1* write
Local conflict :
Error on statement Error on statement
n Master:
n* write n* write
Distributed conflict:
Replication breakdown Rollback on commit
www.fromdual.com
32 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Comparison (3)
Replication Galera
Short interruption:
Replication resumes IST (incremental transfer)
Long interruption:
Replication resumes SST (full transfer)
Structure change:
Manual / separate Tool Automatic / dynamic
Initial setup:
Snapshot, Full transfer,
master remains available donor may be blocked
www.fromdual.com
33 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
CAP Theorem
”For a distributed computer system,
it is impossible to simultaneously provide
all three of the following guarantees:
● C = Consistency (identical data throughout)
● A = Availability (system is operational)
● P = Partition Tolerance (network outage)“
Eric Brewer, 1998 ff.
https://en.wikipedia.org/wiki/CAP_theorem
www.fromdual.com
34 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Prospect: MySQL 5.7
● MySQL 5.7 is GA (5.7.9, 2015-Oct-21)
● Replication like in MySQL 5.6,
added: multi-source replication
(one slave reading from several masters)
● Codership is working on adding
Galera Cluster to MySQL 5.7
● Oracle is working on ”Group replication“,
currently available as ”labs release“
(= ”not fit for production“)
www.fromdual.com
35 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
MySQL Server: Architecture
Binlog
Replication
Galera Cluster
Comparison
Examples / When (not) to Choose Which
www.fromdual.com
36 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Communication Outage (1)
Galera Cluster:
● Isolated node has no quorum
=> will not serve applications
● Quorum is at risk!
● Active nodes write ”gcache“ to files,
storage period?
● Switch to SST threatens
www.fromdual.com
37 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Communication Outage (2)
Replication:
● Master writes log segments to files
● IO-Thread asks to read from binlog position /
GTID, retries periodical until successful
● Avoid ”purge log“!
Replication is more tolerant
than Galera Cluster !
www.fromdual.com
38 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Global Production
Solution:
Replication with
filtering
Requirement:
Head office (D) and
factories (BR, CN, ...)
with selective transfer
www.fromdual.com
39 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Parallel Writes + Conflict
Galera:
● Retry of autocommit statements configurable
● Transaction conflict causes rollback
=> Application repeats complete transaction
Replication:
● Slave detects conflict, no contact to application
=> Replication stops
Replication needs admin action on conflict !
www.fromdual.com
40 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Hot Spot
● Replication: frequent aborts
● Galera: frequent rollbacks
=> Agree on a single write node !
www.fromdual.com
41 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
High Availability
Replication:
● Failover manual (reaction time) or automated
(correct?)
● Slave lag, selection of new master
Galera:
● Symmetrical, no change of roles
● Virtually synchronous replication (no lag)
=> Advantage Galera
www.fromdual.com
42 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA
Q & A
Questions ?
Discussion?
● FromDual provides neutral and independent:
● Consulting
● Remote-DBA
● Support for MySQL, Galera, Percona Server and MariaDB
● Training
www.fromdual.com/presentations

More Related Content

What's hot

Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...Joe Stein
 
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...NETWAYS
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on MesosJoe Stein
 
8b. Column Oriented Databases Lab
8b. Column Oriented Databases Lab8b. Column Oriented Databases Lab
8b. Column Oriented Databases LabFabio Fumarola
 
What's New In PostgreSQL 9.4
What's New In PostgreSQL 9.4What's New In PostgreSQL 9.4
What's New In PostgreSQL 9.4Pavan Deolasee
 
12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All EditionsFranck Pachot
 
Cassandra Explained
Cassandra ExplainedCassandra Explained
Cassandra ExplainedEric Evans
 
Elastic 101 tutorial - Percona Europe 2018
Elastic 101 tutorial - Percona Europe 2018 Elastic 101 tutorial - Percona Europe 2018
Elastic 101 tutorial - Percona Europe 2018 Antonios Giannopoulos
 
Ceph and RocksDB
Ceph and RocksDBCeph and RocksDB
Ceph and RocksDBSage Weil
 
MySQL Oslayer performace optimization
MySQL  Oslayer performace optimizationMySQL  Oslayer performace optimization
MySQL Oslayer performace optimizationLouis liu
 
MariaDB Cassandra Interoperability
MariaDB Cassandra InteroperabilityMariaDB Cassandra Interoperability
MariaDB Cassandra InteroperabilityColin Charles
 
Developing Frameworks for Apache Mesos
Developing Frameworks  for Apache MesosDeveloping Frameworks  for Apache Mesos
Developing Frameworks for Apache MesosJoe Stein
 
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...Mydbops
 
MySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptxMySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptxNeoClova
 
Get started with Developing Frameworks in Go on Apache Mesos
Get started with Developing Frameworks in Go on Apache MesosGet started with Developing Frameworks in Go on Apache Mesos
Get started with Developing Frameworks in Go on Apache MesosJoe Stein
 
8. key value databases laboratory
8. key value databases laboratory 8. key value databases laboratory
8. key value databases laboratory Fabio Fumarola
 
Infinispan @ Red Hat Forum 2013
Infinispan @ Red Hat Forum 2013Infinispan @ Red Hat Forum 2013
Infinispan @ Red Hat Forum 2013Jaehong Cheon
 

What's hot (20)

Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
 
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on Mesos
 
8b. Column Oriented Databases Lab
8b. Column Oriented Databases Lab8b. Column Oriented Databases Lab
8b. Column Oriented Databases Lab
 
What's New In PostgreSQL 9.4
What's New In PostgreSQL 9.4What's New In PostgreSQL 9.4
What's New In PostgreSQL 9.4
 
Get to know PostgreSQL!
Get to know PostgreSQL!Get to know PostgreSQL!
Get to know PostgreSQL!
 
HazelCast
HazelCastHazelCast
HazelCast
 
12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions
 
Cassandra Explained
Cassandra ExplainedCassandra Explained
Cassandra Explained
 
Elastic 101 tutorial - Percona Europe 2018
Elastic 101 tutorial - Percona Europe 2018 Elastic 101 tutorial - Percona Europe 2018
Elastic 101 tutorial - Percona Europe 2018
 
Ceph and RocksDB
Ceph and RocksDBCeph and RocksDB
Ceph and RocksDB
 
MySQL Oslayer performace optimization
MySQL  Oslayer performace optimizationMySQL  Oslayer performace optimization
MySQL Oslayer performace optimization
 
MariaDB Cassandra Interoperability
MariaDB Cassandra InteroperabilityMariaDB Cassandra Interoperability
MariaDB Cassandra Interoperability
 
Developing Frameworks for Apache Mesos
Developing Frameworks  for Apache MesosDeveloping Frameworks  for Apache Mesos
Developing Frameworks for Apache Mesos
 
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
 
MySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptxMySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptx
 
Get started with Developing Frameworks in Go on Apache Mesos
Get started with Developing Frameworks in Go on Apache MesosGet started with Developing Frameworks in Go on Apache Mesos
Get started with Developing Frameworks in Go on Apache Mesos
 
8. key value databases laboratory
8. key value databases laboratory 8. key value databases laboratory
8. key value databases laboratory
 
Infinispan @ Red Hat Forum 2013
Infinispan @ Red Hat Forum 2013Infinispan @ Red Hat Forum 2013
Infinispan @ Red Hat Forum 2013
 
Fudcon talk.ppt
Fudcon talk.pptFudcon talk.ppt
Fudcon talk.ppt
 

Viewers also liked

OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...NETWAYS
 
OSDC 2016 - Continous Integration in Data Centers - Further 3 Years later by ...
OSDC 2016 - Continous Integration in Data Centers - Further 3 Years later by ...OSDC 2016 - Continous Integration in Data Centers - Further 3 Years later by ...
OSDC 2016 - Continous Integration in Data Centers - Further 3 Years later by ...NETWAYS
 
OSDC 2016 - Interesting things you can do with ZFS by Allan Jude&Benedict Reu...
OSDC 2016 - Interesting things you can do with ZFS by Allan Jude&Benedict Reu...OSDC 2016 - Interesting things you can do with ZFS by Allan Jude&Benedict Reu...
OSDC 2016 - Interesting things you can do with ZFS by Allan Jude&Benedict Reu...NETWAYS
 
OSDC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
OSDC 2016 - Scalable Systems Management with Salt Stack by Sebastian MeyerOSDC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
OSDC 2016 - Scalable Systems Management with Salt Stack by Sebastian MeyerNETWAYS
 
OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...
OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...
OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...NETWAYS
 
ODSC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
ODSC 2016 - Scalable Systems Management with Salt Stack by Sebastian MeyerODSC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
ODSC 2016 - Scalable Systems Management with Salt Stack by Sebastian MeyerNETWAYS
 
OSDC 2016 - Tuning Linux for your Database by Colin Charles
OSDC 2016 - Tuning Linux for your Database by Colin CharlesOSDC 2016 - Tuning Linux for your Database by Colin Charles
OSDC 2016 - Tuning Linux for your Database by Colin CharlesNETWAYS
 
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-BayesOSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-BayesNETWAYS
 
OSDC 2016 - Hello Redfish, goodbye IPMI by Werner Fischer
OSDC 2016 - Hello Redfish, goodbye IPMI by Werner FischerOSDC 2016 - Hello Redfish, goodbye IPMI by Werner Fischer
OSDC 2016 - Hello Redfish, goodbye IPMI by Werner FischerNETWAYS
 
OSDC 2016 - Chronix - A fast and efficient time series storage based on Apach...
OSDC 2016 - Chronix - A fast and efficient time series storage based on Apach...OSDC 2016 - Chronix - A fast and efficient time series storage based on Apach...
OSDC 2016 - Chronix - A fast and efficient time series storage based on Apach...NETWAYS
 
List of projects handled by CIE-categorised statewise
List of projects handled by CIE-categorised statewiseList of projects handled by CIE-categorised statewise
List of projects handled by CIE-categorised statewiseSreehari M N prof
 
Introduction to types of roofs
Introduction to types of roofsIntroduction to types of roofs
Introduction to types of roofsMile High Roofers
 
Seminario nº 5 estadística y tics
Seminario nº 5 estadística y ticsSeminario nº 5 estadística y tics
Seminario nº 5 estadística y ticsjesusbarrosobravo
 
A,b,cs of teamwork powerpoint
A,b,cs of teamwork powerpointA,b,cs of teamwork powerpoint
A,b,cs of teamwork powerpointLike A Team
 
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...NETWAYS
 
dravidian architecture with examplesHist teamwork
dravidian architecture with examplesHist teamworkdravidian architecture with examplesHist teamwork
dravidian architecture with examplesHist teamworkgatti Teja
 

Viewers also liked (20)

OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
 
OSDC 2016 - Continous Integration in Data Centers - Further 3 Years later by ...
OSDC 2016 - Continous Integration in Data Centers - Further 3 Years later by ...OSDC 2016 - Continous Integration in Data Centers - Further 3 Years later by ...
OSDC 2016 - Continous Integration in Data Centers - Further 3 Years later by ...
 
OSDC 2016 - Interesting things you can do with ZFS by Allan Jude&Benedict Reu...
OSDC 2016 - Interesting things you can do with ZFS by Allan Jude&Benedict Reu...OSDC 2016 - Interesting things you can do with ZFS by Allan Jude&Benedict Reu...
OSDC 2016 - Interesting things you can do with ZFS by Allan Jude&Benedict Reu...
 
OSDC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
OSDC 2016 - Scalable Systems Management with Salt Stack by Sebastian MeyerOSDC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
OSDC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
 
OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...
OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...
OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...
 
ODSC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
ODSC 2016 - Scalable Systems Management with Salt Stack by Sebastian MeyerODSC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
ODSC 2016 - Scalable Systems Management with Salt Stack by Sebastian Meyer
 
OSDC 2016 - Tuning Linux for your Database by Colin Charles
OSDC 2016 - Tuning Linux for your Database by Colin CharlesOSDC 2016 - Tuning Linux for your Database by Colin Charles
OSDC 2016 - Tuning Linux for your Database by Colin Charles
 
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-BayesOSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
 
OSDC 2016 - Hello Redfish, goodbye IPMI by Werner Fischer
OSDC 2016 - Hello Redfish, goodbye IPMI by Werner FischerOSDC 2016 - Hello Redfish, goodbye IPMI by Werner Fischer
OSDC 2016 - Hello Redfish, goodbye IPMI by Werner Fischer
 
OSDC 2016 - Chronix - A fast and efficient time series storage based on Apach...
OSDC 2016 - Chronix - A fast and efficient time series storage based on Apach...OSDC 2016 - Chronix - A fast and efficient time series storage based on Apach...
OSDC 2016 - Chronix - A fast and efficient time series storage based on Apach...
 
N.Satya Priyanka's CV
N.Satya Priyanka's CVN.Satya Priyanka's CV
N.Satya Priyanka's CV
 
List of projects handled by CIE-categorised statewise
List of projects handled by CIE-categorised statewiseList of projects handled by CIE-categorised statewise
List of projects handled by CIE-categorised statewise
 
Introduction to types of roofs
Introduction to types of roofsIntroduction to types of roofs
Introduction to types of roofs
 
Seminario nº 5 estadística y tics
Seminario nº 5 estadística y ticsSeminario nº 5 estadística y tics
Seminario nº 5 estadística y tics
 
A,b,cs of teamwork powerpoint
A,b,cs of teamwork powerpointA,b,cs of teamwork powerpoint
A,b,cs of teamwork powerpoint
 
Facial nerve
Facial nerveFacial nerve
Facial nerve
 
The 7 Essentials of Teamwork
The 7 Essentials of TeamworkThe 7 Essentials of Teamwork
The 7 Essentials of Teamwork
 
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
 
dravidian architecture with examplesHist teamwork
dravidian architecture with examplesHist teamworkdravidian architecture with examplesHist teamwork
dravidian architecture with examplesHist teamwork
 
17 Indisputable Laws Of Teamwork
17 Indisputable Laws Of Teamwork17 Indisputable Laws Of Teamwork
17 Indisputable Laws Of Teamwork
 

Similar to OSDC 2016 - MySQL-Server in Teamwork - Replication and Galera Cluster by Jörg Brühe

MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB Corporation
 
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterMySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterKenny Gryp
 
Developing Realtime Data Pipelines With Apache Kafka
Developing Realtime Data Pipelines With Apache KafkaDeveloping Realtime Data Pipelines With Apache Kafka
Developing Realtime Data Pipelines With Apache KafkaJoe Stein
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsFromDual GmbH
 
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 PracticesKenny Gryp
 
Percona XtraDB 集群文档
Percona XtraDB 集群文档Percona XtraDB 集群文档
Percona XtraDB 集群文档YUCHENG HU
 
NewSQL Database Overview
NewSQL Database OverviewNewSQL Database Overview
NewSQL Database OverviewSteve Min
 
Ukoug 2011 mysql_arch_for_orcl_dba
Ukoug 2011 mysql_arch_for_orcl_dbaUkoug 2011 mysql_arch_for_orcl_dba
Ukoug 2011 mysql_arch_for_orcl_dbaorablue11
 
Plny12 galera-cluster-best-practices
Plny12 galera-cluster-best-practicesPlny12 galera-cluster-best-practices
Plny12 galera-cluster-best-practicesDimas Prasetyo
 
Big Data Open Source Security LLC: Realtime log analysis with Mesos, Docker, ...
Big Data Open Source Security LLC: Realtime log analysis with Mesos, Docker, ...Big Data Open Source Security LLC: Realtime log analysis with Mesos, Docker, ...
Big Data Open Source Security LLC: Realtime log analysis with Mesos, Docker, ...DataStax Academy
 
Cassandra Talk: Austin JUG
Cassandra Talk: Austin JUGCassandra Talk: Austin JUG
Cassandra Talk: Austin JUGStu Hood
 
MySQL Database Architectures - 2020-10
MySQL Database Architectures -  2020-10MySQL Database Architectures -  2020-10
MySQL Database Architectures - 2020-10Kenny Gryp
 
TDC2016POA | Trilha Arquitetura - Apache Kafka: uma introdução a logs distrib...
TDC2016POA | Trilha Arquitetura - Apache Kafka: uma introdução a logs distrib...TDC2016POA | Trilha Arquitetura - Apache Kafka: uma introdução a logs distrib...
TDC2016POA | Trilha Arquitetura - Apache Kafka: uma introdução a logs distrib...tdc-globalcode
 
Introduction to Galera
Introduction to GaleraIntroduction to Galera
Introduction to GaleraHenrik Ingo
 
Cassandra's Sweet Spot - an introduction to Apache Cassandra
Cassandra's Sweet Spot - an introduction to Apache CassandraCassandra's Sweet Spot - an introduction to Apache Cassandra
Cassandra's Sweet Spot - an introduction to Apache CassandraDave Gardner
 
NoSQL on microsoft azure april 2014
NoSQL on microsoft azure   april 2014NoSQL on microsoft azure   april 2014
NoSQL on microsoft azure april 2014Brian Benz
 
M|18 Analyzing Data with the MariaDB AX Platform
M|18 Analyzing Data with the MariaDB AX PlatformM|18 Analyzing Data with the MariaDB AX Platform
M|18 Analyzing Data with the MariaDB AX PlatformMariaDB plc
 

Similar to OSDC 2016 - MySQL-Server in Teamwork - Replication and Galera Cluster by Jörg Brühe (20)

MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
 
NoSQL with MySQL
NoSQL with MySQLNoSQL with MySQL
NoSQL with MySQL
 
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterMySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
 
MariaDB 10 and Beyond
MariaDB 10 and BeyondMariaDB 10 and Beyond
MariaDB 10 and Beyond
 
Introduction to Galera Cluster
Introduction to Galera ClusterIntroduction to Galera Cluster
Introduction to Galera Cluster
 
Developing Realtime Data Pipelines With Apache Kafka
Developing Realtime Data Pipelines With Apache KafkaDeveloping Realtime Data Pipelines With Apache Kafka
Developing Realtime Data Pipelines With Apache Kafka
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
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
 
Percona XtraDB 集群文档
Percona XtraDB 集群文档Percona XtraDB 集群文档
Percona XtraDB 集群文档
 
NewSQL Database Overview
NewSQL Database OverviewNewSQL Database Overview
NewSQL Database Overview
 
Ukoug 2011 mysql_arch_for_orcl_dba
Ukoug 2011 mysql_arch_for_orcl_dbaUkoug 2011 mysql_arch_for_orcl_dba
Ukoug 2011 mysql_arch_for_orcl_dba
 
Plny12 galera-cluster-best-practices
Plny12 galera-cluster-best-practicesPlny12 galera-cluster-best-practices
Plny12 galera-cluster-best-practices
 
Big Data Open Source Security LLC: Realtime log analysis with Mesos, Docker, ...
Big Data Open Source Security LLC: Realtime log analysis with Mesos, Docker, ...Big Data Open Source Security LLC: Realtime log analysis with Mesos, Docker, ...
Big Data Open Source Security LLC: Realtime log analysis with Mesos, Docker, ...
 
Cassandra Talk: Austin JUG
Cassandra Talk: Austin JUGCassandra Talk: Austin JUG
Cassandra Talk: Austin JUG
 
MySQL Database Architectures - 2020-10
MySQL Database Architectures -  2020-10MySQL Database Architectures -  2020-10
MySQL Database Architectures - 2020-10
 
TDC2016POA | Trilha Arquitetura - Apache Kafka: uma introdução a logs distrib...
TDC2016POA | Trilha Arquitetura - Apache Kafka: uma introdução a logs distrib...TDC2016POA | Trilha Arquitetura - Apache Kafka: uma introdução a logs distrib...
TDC2016POA | Trilha Arquitetura - Apache Kafka: uma introdução a logs distrib...
 
Introduction to Galera
Introduction to GaleraIntroduction to Galera
Introduction to Galera
 
Cassandra's Sweet Spot - an introduction to Apache Cassandra
Cassandra's Sweet Spot - an introduction to Apache CassandraCassandra's Sweet Spot - an introduction to Apache Cassandra
Cassandra's Sweet Spot - an introduction to Apache Cassandra
 
NoSQL on microsoft azure april 2014
NoSQL on microsoft azure   april 2014NoSQL on microsoft azure   april 2014
NoSQL on microsoft azure april 2014
 
M|18 Analyzing Data with the MariaDB AX Platform
M|18 Analyzing Data with the MariaDB AX PlatformM|18 Analyzing Data with the MariaDB AX Platform
M|18 Analyzing Data with the MariaDB AX Platform
 

Recently uploaded

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 

Recently uploaded (20)

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 

OSDC 2016 - MySQL-Server in Teamwork - Replication and Galera Cluster by Jörg Brühe

  • 1. www.fromdual.com 1 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA MySQL Servers Working as a Team - Replication or Galera Cluster Open Source Data Center Conference, April 26th - 28th , Berlin Jörg Brühe Senior Support Engineer, FromDual GmbH joerg.bruehe@fromdual.com CC-BY-SA
  • 2. www.fromdual.com 2 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA FromDual GmbH Support remote-DBA Training Consulting
  • 3. www.fromdual.com 3 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA About Me ● Development distributed SQL-DBMS Porting mainframe -> Unix, Interface to archiver tools (ADSM, NetWorker) ● MySQL Build Team Release builds incl. tests, packaging, scripts, ... ● DBA MySQL running a web platform (master-master-replication) ● Support-Engineer (FromDual) Support + Remote-DBA for MySQL / MariaDB / Percona both with and without Galera Cluster
  • 4. www.fromdual.com 4 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Contents MySQL Server: Architecture Binlog Replication Galera Cluster Comparison Examples / When (not) to Choose Which
  • 5. www.fromdual.com 5 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA General Remarks ● Concepts rather than details: ”the forest, not the trees“ ● MySQL 5.6 (established GA version) ● Also valid for Percona and MariaDB ● Not applicable to ”embedded“ MySQL ● Not considered: NDB = ”MySQL Cluster“
  • 6. www.fromdual.com 6 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA MySQL Server: Architecture Binlog Replication Galera Cluster Comparison Examples / When (not) to Choose Which
  • 7. www.fromdual.com 7 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Client-Server-DBMS App App App Server Disk Client (application) local or remote Socket, LAN or internet Server is separate process, multi-threaded: 1 thread per user session Disk / SSD, local or SAN
  • 8. www.fromdual.com 8 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Inside the Server mysqld MySQL ist eine multi-Thread und NICHT eine multi-Prozess Applikation! Application / Client Thread Cache Connection Manager User Au- thentication Command Dispatcher Logging Query Cache Module Query Cache Parser Optimizer Access Control Table Manager Table Open Cache (.frm, fh) Table Definition Cache (tbl def.) Handler Interface MyISAM Memory NDB PBXTInnoDB ...Aria XtraDB Federated-X
  • 9. www.fromdual.com 9 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA MySQL Server: Architecture Binlog Replication Galera Cluster Comparison Examples / When (not) to Choose Which
  • 10. www.fromdual.com 10 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Layers + Binlog MyISAM InnoDB ... Userthread2 Userthread1 ... SQL layer: - Parser - Optimizer - Privileges - Query Cache - … Handler Interface File layer: - Table Handler - InnoDB: - Row Access - Row Locks - Recovery - ... Binlog: All data and schema changes
  • 11. www.fromdual.com 11 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Binlog ● All data changes executed ● All schema changes executed ● Timestamps ● Essential for Point-in-Time-Recovery ”PITR“ ● Independent of table handler ● Formats ”statement“, ”row“, and ”mixed“ ● Segments of configurable size ● Numbered sequentially
  • 12. www.fromdual.com 12 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA MySQL Server: Architecture Binlog Replication Galera Cluster Comparison Examples / When (not) to Choose Which
  • 13. www.fromdual.com 13 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA MySQL Replication ● Applications communicate with ”Master“ ● ”Master“ logs all changes ● ”Slave“ has identical initial state ● Slave fetches all changes from master and applies them locally ● Replication is running asynchronous ● Slave stops replication on difference
  • 14. www.fromdual.com 14 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Slave fetches binlog Userthread2 Userthread1 ... Userthread3 MyISAM InnoDB ... Userthread2 Userthread1 ... SQLthread IOthread BinlogRelay Log MyISAM InnoDB ... Slave: “log-bin = FILE”, or else no binlog “log_slave_updates = 1” for forwarding Master: “log-bin = FILE”, or else no binlog (no master function) Binlog
  • 15. www.fromdual.com 15 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Typical Usage ● ”High Availability“ ● Geographic redundancy ● Support higher read load (= ”read scale-out“) ● Read-only instance(s) e.g. for backup or reports ● Intentional delay is possible ● Filtering (by DB or table) is possible
  • 16. www.fromdual.com 16 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Replication Cascade Userthread2 Userthread1 ... Userthread3 MyISAM InnoDB ... MyISAM InnoDB ... MyISAM InnoDB ... SQLthread IOthread Userthread2 Userthread1 ... SQLthread IOthread Userthread2 Userthread1 ... ● Recommended: ”read-only = 1“ on slave ”log_slave_updates = 1“ ● Multiple slaves per master are possible
  • 17. www.fromdual.com 17 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Entries in Binlog Original: ● Identification by file name and position ● Replication: ”change master to ...“ specifying host, port, user, password, file, position ● See also: ”mysqldump ­­master­data“ From MySQL 5.6 also: ● GTID = ”Global Transaction ID“ ● Replication: ”change master to ...“ specifying host, port, user, password, ”auto_position = 1“
  • 18. www.fromdual.com 18 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Master-Master-Replication Userthread2 Userthread1 ... Userthread3 MyISAM InnoDB ... Userthread2 Userthread1 ... SQLthread IOthread BinlogRelay Log MyISAM InnoDB ... Binlog SQLthread IOthread Relay Log ● Overlapping changes are fatal!
  • 19. www.fromdual.com 19 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Notes about Replication ● Master-Master is controversial, be careful! ● Replication increases read throughput, but not/barely write throughput ● Replication causes file IO und network load ● Format ”row“ is more efficient, but less readable ● Multi-threaded replication since MySQL 5.6, multi-master (”multi-source“) coming in MySQL 5.7 ● Big installation: booking.com ● Recommended: datacharmer.blogspot.de (Giuseppe Maxia, August 2015)
  • 20. www.fromdual.com 20 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA MySQL Server: Architecture Binlog Replication Galera Cluster Comparison Examples / When (not) to Choose Which
  • 21. www.fromdual.com 21 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Replication Weaknesses ● Asynchronous ● Asymmetrical ● Only one write node ● Parallel writes may cause breakage ● HA needs failover after node crash ● Each node is SPOF for its slaves, breakdown requires structure change ● Dynamic changes are complicated
  • 22. www.fromdual.com 22 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Better Alternative ● Synchronous transfer ● Symmetrical cluster ● Write accesses on all nodes ● Distributed conflict analysis and handling ● HA by continuity after node outage ● Dynamic entry / exit of nodes supported
  • 23. www.fromdual.com 23 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Galera Cluster App App App Load balancing (LB) Node 2 Node 3Node 1 wsrep Galera replication wsrep wsrep Inclusiding outage detection and redirection for HA “Working Set Replication” Dedicated network preferred Locale disks, each holding all data = = “shared nothing” architecture
  • 24. www.fromdual.com 24 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Galera Properties (1) + Based on InnoDB (due to transactions and rollback) + Also transfers user definitions, privileges, ... + Quasi-synchronous transfer on commit, check for conflicts, efficient + Symmetrical, HA without server failover, quorum + No loss of transactions + Brings read scale-out, also some write increase + Dynamical entry / exit possible, synchronisation is automated
  • 25. www.fromdual.com 25 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Order of Events Graph by Vadim Tkachenko (Percona): http://www.mysqlperformanceblog.com/2012/01/19/ percona-xtradb-cluster-feature-2-multi-master-replication/
  • 26. www.fromdual.com 26 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Galera Properties (2) - MySQL sources need patching (Codership offers binaries, ditto MariaDB and Percona) - Beware of hot spots (rows) - Conflict detection is late, full rollback (Check postponed till commit) - Minimum size is 3 nodes - Synchronisation time for large DB (mysqldump -> xtrabackup or rsync)
  • 27. www.fromdual.com 27 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Certifiation at Commit http://galeracluster.com/documentation-webpages/certificationbasedreplication.html
  • 28. www.fromdual.com 28 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA MySQL Server: Architecture Binlog Replication Galera Cluster Comparison Examples / When (not) to Choose Which
  • 29. www.fromdual.com 29 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Team of MySQL Servers ● Alternatives: Replication or Galera Cluster ● Redundancy of machine and storage ● HA ● Scale-out, esp. for read load ● Instances for reports, analysis, backup ● Data available locally (branch offices, ...)
  • 30. www.fromdual.com 30 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Comparison (1) Replication Galera Standard Add-on product All handlers InnoDB only Upwards compatible Same versions Minimum 2 nodes Minimum 3 nodes HA by failover HA without changes Communication: Hierarchical, chain Symmetrical, parallel Asynchronous Quasi-synchronous Delay is configurable Immediate Filtering is configurable Complete
  • 31. www.fromdual.com 31 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Comparison (2) Replication Galera Read scale-Out Read scale-Out Write unchanged Write increased 1 Master: 1* write 1* write Local conflict : Error on statement Error on statement n Master: n* write n* write Distributed conflict: Replication breakdown Rollback on commit
  • 32. www.fromdual.com 32 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Comparison (3) Replication Galera Short interruption: Replication resumes IST (incremental transfer) Long interruption: Replication resumes SST (full transfer) Structure change: Manual / separate Tool Automatic / dynamic Initial setup: Snapshot, Full transfer, master remains available donor may be blocked
  • 33. www.fromdual.com 33 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA CAP Theorem ”For a distributed computer system, it is impossible to simultaneously provide all three of the following guarantees: ● C = Consistency (identical data throughout) ● A = Availability (system is operational) ● P = Partition Tolerance (network outage)“ Eric Brewer, 1998 ff. https://en.wikipedia.org/wiki/CAP_theorem
  • 34. www.fromdual.com 34 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Prospect: MySQL 5.7 ● MySQL 5.7 is GA (5.7.9, 2015-Oct-21) ● Replication like in MySQL 5.6, added: multi-source replication (one slave reading from several masters) ● Codership is working on adding Galera Cluster to MySQL 5.7 ● Oracle is working on ”Group replication“, currently available as ”labs release“ (= ”not fit for production“)
  • 35. www.fromdual.com 35 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA MySQL Server: Architecture Binlog Replication Galera Cluster Comparison Examples / When (not) to Choose Which
  • 36. www.fromdual.com 36 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Communication Outage (1) Galera Cluster: ● Isolated node has no quorum => will not serve applications ● Quorum is at risk! ● Active nodes write ”gcache“ to files, storage period? ● Switch to SST threatens
  • 37. www.fromdual.com 37 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Communication Outage (2) Replication: ● Master writes log segments to files ● IO-Thread asks to read from binlog position / GTID, retries periodical until successful ● Avoid ”purge log“! Replication is more tolerant than Galera Cluster !
  • 38. www.fromdual.com 38 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Global Production Solution: Replication with filtering Requirement: Head office (D) and factories (BR, CN, ...) with selective transfer
  • 39. www.fromdual.com 39 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Parallel Writes + Conflict Galera: ● Retry of autocommit statements configurable ● Transaction conflict causes rollback => Application repeats complete transaction Replication: ● Slave detects conflict, no contact to application => Replication stops Replication needs admin action on conflict !
  • 40. www.fromdual.com 40 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Hot Spot ● Replication: frequent aborts ● Galera: frequent rollbacks => Agree on a single write node !
  • 41. www.fromdual.com 41 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA High Availability Replication: ● Failover manual (reaction time) or automated (correct?) ● Slave lag, selection of new master Galera: ● Symmetrical, no change of roles ● Virtually synchronous replication (no lag) => Advantage Galera
  • 42. www.fromdual.com 42 / 42MySQL Teamwork: Replication or Galera Cluster, joerg.bruehe@fromdual.com, 2016 April, CC-BY-SA Q & A Questions ? Discussion? ● FromDual provides neutral and independent: ● Consulting ● Remote-DBA ● Support for MySQL, Galera, Percona Server and MariaDB ● Training www.fromdual.com/presentations