This slide was presented at Mydbops Database Meetup 4 by Aakash M . This presentation focuses the new features in Galera like Streaming replication and intelligent donor selection.
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
What is new in Galera 4 ?
1. What’s new in Galera 4 ?
Mydbops Meetup - 4
Presented by
M.Aakash
www.mydbops.com info@mydbops.com 1
2. About me
2
Aakash Muthuramalingam
Certified MySQL 5.7 DBA, Mydbops
Interested on MySQL Optimization and High Availability systems.
Active MySQL Blogger.
LinkedIn :
https://www.linkedin.com/in/aakash-muthuramalingam-520a77129
Twitter: https://twitter.com/Aakash_07
3. About Mydbops
● Founded in 2015, HQ in Bangalore India with 150+ customer base across the globe.
● Mydbops is on Database Consulting with core specialization on MySQL and MongoDB Administration and
Support.
● We have expert team with 20+ certified DBA’s providing full time support and currently managing 300+
servers on premises and cloud.
● We help organisations to architect and scale systems in MySQL/MongoDB by implementing the advanced
technologies in industry which are completely open source.
● We are a leading solution provider in the market for all sort of cloud based database deployments and
management.
3
11. Galera Replication Overview
● Replication Plugin for database servers
● Using the Replication API to interact with a DBMS.
● Database and Galera plugin must have the same
11
13. Galera Replication Overview
● Read/Write to any node
● Automatic Node Provisioning
● Each node has identical data
● Synchronous Replication
● No Slave Lag
13
26. Cluster Crash Recovery
● If all the nodes in the cluster shutdown
1) First node should be elected
2) Manual operation needed
3) Error Prone
26
27. Cluster Crash Recovery
● Perform automatic crash recovery
● pc.recovery=on
● Nodes will maintain the information in disk (Persistent storage)
● gvwstate.dat
27
30. Streaming Replication
In Galera 3
● Currently transactions processes in master node only until commit
● For huge transactions, the size of write-set will be large
● wsrep_max_ws_size
● wsrep_max_ws_rows
● Maximum supported size is 2GB
30
36. Streaming Replication
In Galera 4
● Transactions are replicated in small fragments in all the nodes during processing
● This allows nodes to process writesets greater than 2GB
● Replicated fragments hold locks in all nodes
36