Replication latest features: the community sceptic roundup
summary
Coverage of GTID, multi‑source, parallel appliers and group replication focuses on concrete behavior and monitoring: MySQL uses UUID GTIDs and leaves GTIDs off by default while MariaDB uses domain/server/number GTIDs that are human‑readable and enables them; Performance Schema and MySQL/MariaDB replication tables split received vs executed info so full state often requires showslave status; parallel apply improves from schema‑based (5.6) to logical clock (5.7/8) but cannot be toggled per channel in multissource; group replication uses a cluster‑wide GTID and synchronous distribution but asynchronous execution, causing possible rollbacks on conflicts.
AI-written summary · about
chapters (38)
- 0:00About me Who's this guy?
- 1:58Actors We will see practical examples with the following systems
- 2:16Focus on monitoring The most important reason
- 2:59Transactions blues You think you know where your transactions are ... until something unexpected happens
- 3:33Transaction problem in a nutshell (1)
- 4:12Transaction problem with GTID (1)
- 4:43MySQL 5.6 & 5.7 A half baked feature, which kind of works
- 7:38MySQL 5.7: What you see in the master
- 8:43MySQL 5.7: What you see in the slave
- 10:10MariaDB 10 A well thought feature, with some questionable choices
- 11:25MariaDB 10.0: What you see in the master
- 11:57MariaDB 10.0: What you see in the slave
- 13:48Sceptic assessment global transaction identifiers
- 14:49MySQL 5.6 crash-safe tables There are tables that can replace files, and SHOW statements .... up to a point
- 15:36MySQL tables Very detailed, but designed in different stages
- 16:37MySQL 5.7 additional tables in the slave Performance Schema helps with monitoring
- 17:49MySQL 8.0.1 addition Some good news
- 18:22MariaDB 10 crash-safe tables A complete redesign of the monitoring system, integrated with GTID
- 18:57MySQL 5.7: tables in the slave
- 20:52MySQL 8.0.1: tables in the slave
- 21:32Sceptic assessment: monitoring in crash-safe tables
- 23:01What is it? The dream of every DBA is to have a group of database servers that behave like a single server
- 23:36Implementation (1) MySQL 5.7 Introduced in MySQL 5.7.7
- 24:21MySQL 5.7 example Setting several channels CHANGE MASTER TO
- 25:10MariaDB 10.1 example Setting several channels
- 26:48Multi-source replication monitoring
- 29:28Sceptic assessment: Multi source replication
- 30:19MySQL multi-source issues
- 30:52MariaDB multi-source issues
- 31:40Parallel apply When the slave lags, using parallel threads may speed up things
- 32:39Single vs parallel
- 33:47Implementation (1) Tungsten Replicator The granddaddy of parallel replication, happily deployed in production for years
- 36:20MariaDB 10 The latest contender
- 36:56New development in MariaDB 10.1 A new algorithm for parallel replication
- 37:29Sceptic assessment: parallel replication
- 38:43Group replication New in MySQL 5.7.17+ and 8.0.1
- 39:41Principles Many changes here
- 43:23Supporting material and software
related talks
22mMySQL Replication: Latest Developments
49mMySQL Replication — Advanced Features
53mMySQL replication setup, benefits, limitations
23mMySQL Group Replication
29mEverything You Ever Wanted to Know About MariaDB Replication but Were Afraid to Ask
14mThe State of the Art of MySQL Replication
43mHow MySQL Replication Works
41mAsynchronous Replication Without Censorship
