Percona Live: Data Performance Conference 2016 Logo

April 18-21, 2016

Santa Clara, California

Schema Upgrades in Galera Cluster

Schema Upgrades in Galera Cluster

 20 April 01:00 PM - 01:50 PM @ Ballroom A
Experience level: 
Intermediate
Duration: 
50 minutes conference
Tracks:
Scalability/Performance
Topics:
MySQL
High Availability
Replication

Description

Database schema definition is not supposed to change, at least not so often. The problem with MySQL schema changes is that they are not transactional, and this sets some constraints for how replication of schema changes must be performed. In synchronous database clusters the problem of schema changes is amplified. All cluster nodes are working on same view of data. Schema changes can be very long term (several hours, e.g. for ALTER TABLE), and changed schema definition should be enforced in all cluster nodes at same time, and still allow concurrent transactions on the affected tables. Galera Cluster 4 has new DDL replication implementation, called non blocking DDL, which removes the replication layer locking for DDL replication. How does this play together with MySQL online DDL, will schema upgrades in cluster be totally non blocking? The presentation discusses the non blocking DDL method in very detail, and outlines also the best practices for schema upgrades strategies in database clusters, in general.

Speakers

Seppo Jaakola's picture

Seppo Jaakola

CEO, Codership

Biography:

Database replication specialist, with long track record of developing various replication and clustering solutions for MySQL and PostgreSQL databases. Currently holding CEO position at Codership, working for Galera open source project with the target of developing a universally applicable synchronous multi-master replication solution.

Share this talk


Slides