SlideShare a Scribd company logo
Confidential
MySQL Replication Blueprint
April 5, 2015
Art van Scheppingen
Senior Support Engineer, Severalnines
art@severalnines.com
Confidential
Your host & some logistics
I'm Jean-Jérôme from the Severalnines Team and I'm your host for
today's webinar!
Feel free to ask any questions in the Questions section of this
application or via the Chat box.
You can also contact me directly via the chat box or via email:
jj@severalnines.com during or after the webinar.
Confidential
Agenda
☐ Why a Blueprint for Replication?
☐ MySQL Replication Blueprint - Components & Topology
☐ Monitoring & Trending
☐ Management
☐ Load balancing
☐ Q&A
Confidential
Why the need for a MySQL Replication blueprint?
Confidential
Replication in the pre-MySQL 5.6 era
☐ Pre-MySQL 5.6 replication
☐ Easy to set up
☐ Easy to break
☐ Difficult and sometimes impossible to repair
☐ Tools become necessary
☐ Failover tools (MHA, PRM, Mysqlfailover)
☐ Percona-Toolkit (pt-heartbeat, pt-table-sync, pt-slave-restart)
Confidential
Is this production ready?
☐ Enable master binlog
☐ Have slave(s) read from master
☐ Are we done?
Confidential
Issues to be addressed in production (1 / 2)
☐ Master as a SPOF - failover (automatic vs manual)
☐ Data consistency
☐ Read write split
☐ Dynamic topology changes
☐ Load balancing
Confidential
Issues to be addressed in production (2 / 2)
☐ Config changes
☐ Version upgrades
☐ Schema changes
☐ Backup strategies
☐ Scaling
☐ Monitoring
Confidential
Making MySQL Replication Production Ready
☐ Holistic approach needed
☐ Deployment automation
☐ Failover tools
☐ Virtual ip addresses
☐ Load Balancers
☐ Backups
☐ Topology logic implemented many times (in each component)
Confidential
Only one version of the truth
☐ Who is the current master?
☐ In case of failover, who is the new master?
☐ Which are the slaves?
☐ Application requests always directed to the right server
(depending on reads vs writes)
Confidential
GTID - A Stronger Foundation for Replication
☐ Global Transaction Identifier (GTID) introduced in 5.6
☐ Used to identify and associate each transaction to its origin
☐ Makes the transaction unique in the topology
☐ Different GTID implementation in MySQL and MariaDB
Confidential
Management: Repair A Broken Topology
☐ Slave promotion without GTID
☐ Find the most advanced slave
☐ Elect this node as the new master
☐ Find difference between new master and slaves
☐ Find binlog position per slave
☐ Re-attach slaves to new master
☐ Why do we need to find the binlog position?
☐ Slaves have their own binary logs (slave updates)
☐ Position in slave logs do not correspond to the master
Confidential
Management: Repair A Broken Topology
☐ Slave promotion with GTID
☐ Find the most advanced slave
☐ Elect this node as the new master
☐ Re-attach slaves to new master with auto-position
☐ Auto-position
☐ Master finds the binlog file and position for the slave
☐ Slaves will automatically receive remaining transactions
☐ Transactions are in the correct order
Confidential
Introducing the MySQL Replication Blueprint
Components and Topology
Confidential
Components and topology
Confidential
Components and Topology: Master/Slave
☐ Most simplistic MySQL replication topology
Confidential
Components and Topology: Master/Slave
Confidential
Components and Topology: Multi Master
☐ Similar to Master/Slave
☐ All nodes are master and replica
☐ Circular replication
☐ Active/Passive
☐ One node is the master
☐ Other node(s) are hot standby.
☐ Active/Active
☐ All nodes are master
Confidential
Components and Topology: Multi Master
Confidential
Components and Topology: Multi Master
☐ Prevent infinite loops
☐ log-slave-updates=1 + replicate-same-server-id=0
☐ Even with GTID
☐ Prevent conflicts
☐ Writing to the same data/schemas
☐ Replication bottleneck
☐ Active/Active: two replication streams
☐ After a master fails you only have one replication stream
Confidential
Components and Topology: Parallel Replication
☐ MySQL replication is single threaded
☐ Replication blocked
☐ Long running queries
☐ DDL changes
☐ Parallel Replication
☐ Multiple replication streams
Confidential
Components and Topology: Parallel Replication
Confidential
Components and Topology: Parallel Replication
☐ MySQL 5.6
☐ Replication thread per schema
☐ MySQL 5.7
☐ Intra schema
☐ Group commit large write sets
Confidential
Components and Topology: Multi Source Replication
☐ Slave replicates from multiple masters
☐ No conflicting schemas
☐ Replication channels
☐ Little support with replication tools
☐ Unmanaged slave
☐ Useful for
☐ Data Warehousing
☐ Delayed slaves
☐ Data locality
Confidential
Components and Topology: Multi Source Replication
Confidential
Components and Topology: Monitoring
☐ Replication Manager / Failover tool
☐ Monitors replication stream
☐ Monitor slave lag
☐ Flap protection
☐ Global state of the topology
☐ Performance monitoring (Trending)
☐ Replication stream
☐ Slave lag
Confidential
Components and Topology: Management
☐ Replication Manager / Failover tool
☐ Repair broken replication
☐ Scaling
☐ Backup Management
☐ Updates
☐ Schema Changes
☐ Configuration Management
Confidential
Components and Topology: Load Balancers
☐ Various types of load balancers
☐ Layer 4 (TCP/IP)
☐ Layer 7 (Application)
☐ Needs to monitor the topology
Confidential
Monitoring & Trending
Confidential
Confidential
Monitoring vs Trending
☐ Monitoring
☐ Keeps an eye on your systems
☐ Will alert if a threshold is met
☐ Trending
☐ Insight into the system internals
☐ Trends can warn you before anything has happened yet
☐ Keep historical state/data
Confidential
Monitoring: Availability
☐ Do more than SELECT 1;
☐ Measure true status of nodes and cluster
☐ Test read/write
☐ Open essential schemas
☐ Check the full topology
Confidential
Trending: Why do we need trends?
☐ Trending
☐ Plot trends of key (performance) metrics
☐ Find problems before they arise
☐ Pre-emptive problem management
☐ Trending tools
☐ Granularity of sampling
☐ More datapoints = better
Confidential
Trending: What metrics to store?
☐ Resource monitoring
☐ CPU
☐ Memory
☐ IO capacity
☐ Diskspace
☐ Replication monitoring
☐ Slave lag
☐ Transactions per second
Confidential
Confidential
Trending: Correlate
☐ Correlate your data
☐ Include other metrics into your graphs
☐ Deployments
☐ Failovers
☐ Application metrics
Confidential
Confidential
Trending: Solutions
☐ Storage
☐ Grafana
☐ Prometheus
☐ InfluxDB
☐ Trending tools
☐ Grafana
☐ Cacti
☐ Hosted
☐ VividCortex
☐ Integrated Framework
☐ ClusterControl
Confidential
Alerting
☐ Get notified when it goes wrong
☐ Integrate alerting with monitoring tools
☐ Ready made integrations
☐ APIs
☐ Alerting services
☐ Pagerduty
☐ OpsGenie
☐ VictorOps
Confidential
Management
Confidential
Management: Scaling Out
☐ Add new slaves
☐ Prime new slave with a copy of the data
☐ Add to existing topology
☐ Monitoring
☐ Failover tools
☐ Load balancers
Confidential
Confidential
Confidential
Management: Scaling Out
☐ Performance issues:
☐ Too many replication threads on master
☐ Add intermediate slaves
☐ Adds more complexity
☐ Not all failover tools support intermediate slaves
Confidential
Management: Delayed Slave
☐ Why slow down the replication?
☐ Quick access to historical state
☐ Accidentally wiped data
☐ Hacked databases
☐ MySQL 5.7
☐ CHANGE MASTER TO … MASTER DELAY=3600;
☐ Other versions
☐ pt-slave-delay
Confidential
Management: Repair A Broken Topology
☐ MySQL replication is fragile
☐ Master failure
☐ Network problems
☐ Data inconsistency (data drift)
Confidential
Management: Repair A Broken Topology
☐ Failover automation
☐ Promote slaves automatically
☐ Controlled failover
☐ Move virtual ip addresses
☐ Perform other pre- and post-failover tasks
☐ Failover tools
☐ MySQL Master HA (MHA)
☐ Percona Replication Manager (PRM)
☐ Orchestrator
☐ Mysqlfailover
Confidential
Management: Backups
☐ Logical backups
☐ Dump of all tables and rows
☐ Mysqldump
☐ Physical backups
☐ File copy of the MySQL data directory
☐ Xtrabackup
☐ MySQL Hotcopy
☐ Filesystem snapshots (LVM, ZFS)
Confidential
Management: Backups
☐ Why would you make a backup?
☐ Disaster recovery
☐ Testing/staging/development
☐ Priming new slaves
☐ Replication is not a backup
☐ DDL, Truncate and delete statements are replicated
☐ Delayed slave will not help if your DC is down
Confidential
Management: Backups
☐ Full or incremental backups?
☐ Xtrabackup allows incremental backups
☐ Only copy altered data
☐ Smaller backups
☐ Full backup necessary as starting point
☐ Slower recovery
Confidential
Management: Backups
☐ Scheduling
☐ Off-peak hours scheduling
☐ Don’t overlap schedules
☐ Backup suites
☐ MySQL Enterprise backup
☐ Bacula
☐ Zmanda Recovery Manager (ZRM)
☐ Holland Backup
Confidential
Management: Backups
☐ Backup validation
☐ Unpack backups
☐ Start MySQL from recovered backup
☐ Rebuild slave from backup
☐ Rebuild topology
☐ Scheduled verification
☐ Offsite backups
☐ Copy to another DC
☐ Copy to cloud (Amazon Galcier / S3)
Confidential
Management: Updating or Upgrading
☐ Minor version updates
☐ New features
☐ Bugfixes
☐ Security fixes
☐ Easy to update, rolling restart
☐ Major version upgrades
☐ Need preparation
☐ Cluster downtime
Confidential
Management: Schema Changes
☐ DDL Changes propagated through replication
☐ DDL statements are blocking the replication stream
☐ Can cause slave lag
☐ Apply DDL Changes locally
☐ Node by node change
☐ Master failover necessary
☐ DDL change has to be compatible
☐ Apply DDL Changes through Percona Online Schema
Change
Confidential
Management: Schema Changes
☐ Percona Online Schema Change
☐ Creates the new table structure
☐ Creates triggers on the old table
☐ Backfills data in the background
☐ Swaps the two tables once done
☐ Not 100% compatible with all DDL changes
☐ Always test your changes first!
Confidential
Management: Configuration Changes
☐ Manage your configurations
☐ Deployment systems (Puppet, Chef, etc.)
☐ Keep a copy inside Git/SVN
☐ Sync your configuration
☐ Settings may differ per host
☐ Runtime changes not propagated to configuration files
☐ Visual differences (MonYog, ClusterControl)
Confidential
Load Balancing
Confidential
Load Balancing
☐ Ensure any component can/may fail
☐ Master node is a single point of failure
☐ Master failover must be handled application side as well
☐ Configuration managers (Zookeeper, Consul)
☐ Virtual ip addresses (not always available / allowed)
☐ Load Balancers
Confidential
Confidential
Confidential
Load Balancers: Benefits
☐ Transparent
☐ Sits between application and database
☐ Application does not have to be topology aware
☐ Split database connections (reads and writes)
☐ Runtime read/write splitting
☐ Instant failover
☐ Failover happens for all hosts at the same time
Confidential
Load Balancing: Proxies
☐ Which proxies are available today?
☐ Layer 3 (network)
☐ HAProxy
☐ LVS
☐ Layer 7 (application)
☐ MySQL Proxy
☐ MaxScale
☐ ProxySQL
Confidential
Load Balancing: Proxies
☐ MaxScale
☐ Understands SQL
☐ Understands MySQL topologies
☐ Runtime read/write splitting
☐ Query rewriting
☐ Can be resource intensive
☐ Topology discovery may be different
Confidential
Load Balancing: Proxies
☐ ProxySQL
☐ Understands SQL
☐ Understands MySQL topologies
☐ Runtime read/write splitting
☐ Query rewriting
☐ Query caching
☐ Relatively new (GA since November 2015)
Confidential
Load Balancing: Proxies
☐ HAProxy
☐ Fast
☐ Proven technology
☐ MySQL scripts readily available
Confidential
Load Balancing: Query Caching
☐ MySQL Query Cache flawed
☐ Shared memory space
☐ Locks on every read/write operation ( seconds)
☐ Evictions take longer
☐ High concurrency
☐ ProxySQL
☐ No locks
☐ Regular expression match
☐ Caching for milliseconds
☐ Performs similar as Redis and Memcache
Confidential
Load Balancing: Query Rewriting
☐ Why would you rewrite queries?
☐ Bad performing queries
☐ Broken queries (bad code drop)
☐ Partitioning/sharding
☐ Negate SQL injections / hacks
☐ Which proxies?
☐ ProxySQL
☐ MaxScale
Confidential
Our implementation
Confidential
ClusterControl: An Integrated Framework
Confidential
ClusterControl: Demo
Confidential
Q & A
Confidential
Additional Resources
☐ Ebook: MySQL Replication for High Availability
☐ www.severalnines.com/whitepapers
☐ Become a MySQL DBA blog series
☐ severalnines.com/blog-categories/db-ops
☐ Blog: MySQL Replication failover - MaxScale vs MHA
☐ severalnines.com/blog/mysql-replication-failover-maxscale-vs-mha-part-1
☐ Load Balancing Tutorial
☐ severalnines.com/tutorials/mysql-load-balancing-haproxy-tutorial
☐ We will soon have a whitepaper on the MySQL Replication Blueprint

More Related Content

What's hot

MySQL highav Availability
MySQL highav AvailabilityMySQL highav Availability
MySQL highav Availability
Baruch Osoveskiy
 
Galera cluster - SkySQL Paris Meetup 17.12.2013
Galera cluster - SkySQL Paris Meetup 17.12.2013Galera cluster - SkySQL Paris Meetup 17.12.2013
Galera cluster - SkySQL Paris Meetup 17.12.2013
MariaDB Corporation
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
Lenz Grimmer
 
Md sal clustering internals
Md sal clustering internalsMd sal clustering internals
Md sal clustering internals
Moiz Raja
 
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é
 
M|18 Scalability via Expendable Resources: Containers at BlaBlaCar
M|18 Scalability via Expendable Resources: Containers at BlaBlaCarM|18 Scalability via Expendable Resources: Containers at BlaBlaCar
M|18 Scalability via Expendable Resources: Containers at BlaBlaCar
MariaDB plc
 
High Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseHigh Availability with MariaDB Enterprise
High Availability with MariaDB Enterprise
MariaDB Corporation
 
What’s new in Galera 4
What’s new in Galera 4What’s new in Galera 4
What’s new in Galera 4
MariaDB plc
 
M|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write PathsM|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write Paths
MariaDB plc
 
How to migrate from Oracle Database with ease
How to migrate from Oracle Database with easeHow to migrate from Oracle Database with ease
How to migrate from Oracle Database with ease
MariaDB plc
 
MariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly AvailableMariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Corporation
 
Yahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yahoo: Experiences with MySQL GTID and Multi Threaded ReplicationYahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yashada Jadhav
 
What's new in MySQL 5.6
What's new in MySQL 5.6What's new in MySQL 5.6
What's new in MySQL 5.6
Shlomi Noach
 
Galera 3.0 Webinar Slides: Galera Monitoring & Management
Galera 3.0 Webinar Slides: Galera Monitoring & ManagementGalera 3.0 Webinar Slides: Galera Monitoring & Management
Galera 3.0 Webinar Slides: Galera Monitoring & Management
Severalnines
 
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011
Henrik Ingo
 
M|18 Why Abstract Away the Underlying Database Infrastructure
M|18 Why Abstract Away the Underlying Database InfrastructureM|18 Why Abstract Away the Underlying Database Infrastructure
M|18 Why Abstract Away the Underlying Database Infrastructure
MariaDB plc
 
MySQL Parallel Replication: inventory, use-cases and limitations
MySQL Parallel Replication: inventory, use-cases and limitationsMySQL Parallel Replication: inventory, use-cases and limitations
MySQL Parallel Replication: inventory, use-cases and limitations
Jean-François Gagné
 
MySQL InnoDB Cluster and Group Replication - OSI 2017 Bangalore
MySQL InnoDB Cluster and Group Replication - OSI 2017 BangaloreMySQL InnoDB Cluster and Group Replication - OSI 2017 Bangalore
MySQL InnoDB Cluster and Group Replication - OSI 2017 Bangalore
Sujatha Sivakumar
 
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in BerlinHigh Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
MariaDB Corporation
 
M|18 PolarDB: Extending Shared-storage to MyRocks
M|18 PolarDB: Extending Shared-storage to MyRocksM|18 PolarDB: Extending Shared-storage to MyRocks
M|18 PolarDB: Extending Shared-storage to MyRocks
MariaDB plc
 

What's hot (20)

MySQL highav Availability
MySQL highav AvailabilityMySQL highav Availability
MySQL highav Availability
 
Galera cluster - SkySQL Paris Meetup 17.12.2013
Galera cluster - SkySQL Paris Meetup 17.12.2013Galera cluster - SkySQL Paris Meetup 17.12.2013
Galera cluster - SkySQL Paris Meetup 17.12.2013
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
 
Md sal clustering internals
Md sal clustering internalsMd sal clustering internals
Md sal clustering internals
 
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
 
M|18 Scalability via Expendable Resources: Containers at BlaBlaCar
M|18 Scalability via Expendable Resources: Containers at BlaBlaCarM|18 Scalability via Expendable Resources: Containers at BlaBlaCar
M|18 Scalability via Expendable Resources: Containers at BlaBlaCar
 
High Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseHigh Availability with MariaDB Enterprise
High Availability with MariaDB Enterprise
 
What’s new in Galera 4
What’s new in Galera 4What’s new in Galera 4
What’s new in Galera 4
 
M|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write PathsM|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write Paths
 
How to migrate from Oracle Database with ease
How to migrate from Oracle Database with easeHow to migrate from Oracle Database with ease
How to migrate from Oracle Database with ease
 
MariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly AvailableMariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly Available
 
Yahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yahoo: Experiences with MySQL GTID and Multi Threaded ReplicationYahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yahoo: Experiences with MySQL GTID and Multi Threaded Replication
 
What's new in MySQL 5.6
What's new in MySQL 5.6What's new in MySQL 5.6
What's new in MySQL 5.6
 
Galera 3.0 Webinar Slides: Galera Monitoring & Management
Galera 3.0 Webinar Slides: Galera Monitoring & ManagementGalera 3.0 Webinar Slides: Galera Monitoring & Management
Galera 3.0 Webinar Slides: Galera Monitoring & Management
 
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011
 
M|18 Why Abstract Away the Underlying Database Infrastructure
M|18 Why Abstract Away the Underlying Database InfrastructureM|18 Why Abstract Away the Underlying Database Infrastructure
M|18 Why Abstract Away the Underlying Database Infrastructure
 
MySQL Parallel Replication: inventory, use-cases and limitations
MySQL Parallel Replication: inventory, use-cases and limitationsMySQL Parallel Replication: inventory, use-cases and limitations
MySQL Parallel Replication: inventory, use-cases and limitations
 
MySQL InnoDB Cluster and Group Replication - OSI 2017 Bangalore
MySQL InnoDB Cluster and Group Replication - OSI 2017 BangaloreMySQL InnoDB Cluster and Group Replication - OSI 2017 Bangalore
MySQL InnoDB Cluster and Group Replication - OSI 2017 Bangalore
 
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in BerlinHigh Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
 
M|18 PolarDB: Extending Shared-storage to MyRocks
M|18 PolarDB: Extending Shared-storage to MyRocksM|18 PolarDB: Extending Shared-storage to MyRocks
M|18 PolarDB: Extending Shared-storage to MyRocks
 

Viewers also liked

Webinar slides: Managing MySQL Replication for High Availability
Webinar slides: Managing MySQL Replication for High AvailabilityWebinar slides: Managing MySQL Replication for High Availability
Webinar slides: Managing MySQL Replication for High Availability
Severalnines
 
Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
Severalnines
 
Pseudo gtid & easy replication topology management
Pseudo gtid & easy replication topology managementPseudo gtid & easy replication topology management
Pseudo gtid & easy replication topology management
Shlomi Noach
 
Webinar slides: Replication Topology Changes for MySQL and MariaDB
Webinar slides: Replication Topology Changes for MySQL and MariaDBWebinar slides: Replication Topology Changes for MySQL and MariaDB
Webinar slides: Replication Topology Changes for MySQL and MariaDB
Severalnines
 
Art of MySQL Replication.
Art of MySQL Replication.Art of MySQL Replication.
Art of MySQL Replication.
Mikiya Okuno
 
MySQLの冗長化 2013-01-24
MySQLの冗長化 2013-01-24MySQLの冗長化 2013-01-24
MySQLの冗長化 2013-01-24
Yoshihiko Matsuzaki
 
MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良
Shinya Sugiyama
 

Viewers also liked (7)

Webinar slides: Managing MySQL Replication for High Availability
Webinar slides: Managing MySQL Replication for High AvailabilityWebinar slides: Managing MySQL Replication for High Availability
Webinar slides: Managing MySQL Replication for High Availability
 
Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
 
Pseudo gtid & easy replication topology management
Pseudo gtid & easy replication topology managementPseudo gtid & easy replication topology management
Pseudo gtid & easy replication topology management
 
Webinar slides: Replication Topology Changes for MySQL and MariaDB
Webinar slides: Replication Topology Changes for MySQL and MariaDBWebinar slides: Replication Topology Changes for MySQL and MariaDB
Webinar slides: Replication Topology Changes for MySQL and MariaDB
 
Art of MySQL Replication.
Art of MySQL Replication.Art of MySQL Replication.
Art of MySQL Replication.
 
MySQLの冗長化 2013-01-24
MySQLの冗長化 2013-01-24MySQLの冗長化 2013-01-24
MySQLの冗長化 2013-01-24
 
MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良
 

Similar to Introducing the Severalnines MySQL© Replication Blueprint

Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Severalnines
 
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
Severalnines
 
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
 
MySQL 高可用性
MySQL 高可用性MySQL 高可用性
MySQL 高可用性
YUCHENG HU
 
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é
 
Oracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsOracle Golden Gate Interview Questions
Oracle Golden Gate Interview Questions
Arun Sharma
 
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
 
Scalabe MySQL Infrastructure
Scalabe MySQL InfrastructureScalabe MySQL Infrastructure
Scalabe MySQL Infrastructure
Balazs Pocze
 
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7New awesome features in MySQL 5.7
New awesome features in MySQL 5.7
Zhaoyang Wang
 
Replication skeptic
Replication skepticReplication skeptic
Replication skeptic
Giuseppe Maxia
 
MySQL Replication — Advanced Features / Петр Зайцев (Percona)
MySQL Replication — Advanced Features / Петр Зайцев (Percona)MySQL Replication — Advanced Features / Петр Зайцев (Percona)
MySQL Replication — Advanced Features / Петр Зайцев (Percona)
Ontico
 
The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...
The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...
The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...
Dave Stokes
 
Proper Care and Feeding of a MySQL Database for Busy Linux Administrators
Proper Care and Feeding of a MySQL Database for Busy Linux AdministratorsProper Care and Feeding of a MySQL Database for Busy Linux Administrators
Proper Care and Feeding of a MySQL Database for Busy Linux Administrators
Dave Stokes
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Continuent
 
Galera Cluster 4 for MySQL 8 Release Webinar slides
Galera Cluster 4 for MySQL 8 Release Webinar slidesGalera Cluster 4 for MySQL 8 Release Webinar slides
Galera Cluster 4 for MySQL 8 Release Webinar slides
Codership Oy - Creators of Galera Cluster
 
High-level architecture of a complete MariaDB deployment
High-level architecture of a complete MariaDB deploymentHigh-level architecture of a complete MariaDB deployment
High-level architecture of a complete MariaDB deployment
Federico Razzoli
 
The Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialThe Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication Tutorial
Jean-François Gagné
 
Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014
Miguel Zuniga
 
Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014
Puppet
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
Lenz Grimmer
 

Similar to Introducing the Severalnines MySQL© Replication Blueprint (20)

Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
 
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
 
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
 
MySQL 高可用性
MySQL 高可用性MySQL 高可用性
MySQL 高可用性
 
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
 
Oracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsOracle Golden Gate Interview Questions
Oracle Golden Gate Interview Questions
 
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
 
Scalabe MySQL Infrastructure
Scalabe MySQL InfrastructureScalabe MySQL Infrastructure
Scalabe MySQL Infrastructure
 
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7New awesome features in MySQL 5.7
New awesome features in MySQL 5.7
 
Replication skeptic
Replication skepticReplication skeptic
Replication skeptic
 
MySQL Replication — Advanced Features / Петр Зайцев (Percona)
MySQL Replication — Advanced Features / Петр Зайцев (Percona)MySQL Replication — Advanced Features / Петр Зайцев (Percona)
MySQL Replication — Advanced Features / Петр Зайцев (Percona)
 
The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...
The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...
The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...
 
Proper Care and Feeding of a MySQL Database for Busy Linux Administrators
Proper Care and Feeding of a MySQL Database for Busy Linux AdministratorsProper Care and Feeding of a MySQL Database for Busy Linux Administrators
Proper Care and Feeding of a MySQL Database for Busy Linux Administrators
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
 
Galera Cluster 4 for MySQL 8 Release Webinar slides
Galera Cluster 4 for MySQL 8 Release Webinar slidesGalera Cluster 4 for MySQL 8 Release Webinar slides
Galera Cluster 4 for MySQL 8 Release Webinar slides
 
High-level architecture of a complete MariaDB deployment
High-level architecture of a complete MariaDB deploymentHigh-level architecture of a complete MariaDB deployment
High-level architecture of a complete MariaDB deployment
 
The Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialThe Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication Tutorial
 
Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014
 
Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
 

More from Severalnines

Kubernetes at Scale: Going Multi-Cluster with Istio
Kubernetes at Scale:  Going Multi-Cluster  with IstioKubernetes at Scale:  Going Multi-Cluster  with Istio
Kubernetes at Scale: Going Multi-Cluster with Istio
Severalnines
 
DIY DBaaS: A guide to building your own full-featured DBaaS
DIY DBaaS: A guide to building your own full-featured DBaaSDIY DBaaS: A guide to building your own full-featured DBaaS
DIY DBaaS: A guide to building your own full-featured DBaaS
Severalnines
 
Cloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaSCloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaS
Severalnines
 
Tips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloudTips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloud
Severalnines
 
Working with the Moodle Database: The Basics
Working with the Moodle Database: The BasicsWorking with the Moodle Database: The Basics
Working with the Moodle Database: The Basics
Severalnines
 
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDBSysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
Severalnines
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
Severalnines
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
Severalnines
 
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Severalnines
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Severalnines
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Severalnines
 
Disaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBDisaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDB
Severalnines
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash Course
Severalnines
 
Performance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDBPerformance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDB
Severalnines
 
Advanced MySql Data-at-Rest Encryption in Percona Server
Advanced MySql Data-at-Rest Encryption in Percona ServerAdvanced MySql Data-at-Rest Encryption in Percona Server
Advanced MySql Data-at-Rest Encryption in Percona Server
Severalnines
 
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket KnifePolyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Severalnines
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Severalnines
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Severalnines
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningWebinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Severalnines
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Severalnines
 

More from Severalnines (20)

Kubernetes at Scale: Going Multi-Cluster with Istio
Kubernetes at Scale:  Going Multi-Cluster  with IstioKubernetes at Scale:  Going Multi-Cluster  with Istio
Kubernetes at Scale: Going Multi-Cluster with Istio
 
DIY DBaaS: A guide to building your own full-featured DBaaS
DIY DBaaS: A guide to building your own full-featured DBaaSDIY DBaaS: A guide to building your own full-featured DBaaS
DIY DBaaS: A guide to building your own full-featured DBaaS
 
Cloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaSCloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaS
 
Tips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloudTips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloud
 
Working with the Moodle Database: The Basics
Working with the Moodle Database: The BasicsWorking with the Moodle Database: The Basics
Working with the Moodle Database: The Basics
 
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDBSysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
 
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
 
Disaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBDisaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDB
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash Course
 
Performance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDBPerformance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDB
 
Advanced MySql Data-at-Rest Encryption in Percona Server
Advanced MySql Data-at-Rest Encryption in Percona ServerAdvanced MySql Data-at-Rest Encryption in Percona Server
Advanced MySql Data-at-Rest Encryption in Percona Server
 
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket KnifePolyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningWebinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
 

Recently uploaded

APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
zyfovom
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
Trish Parr
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
cuobya
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
Paul Walk
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
bseovas
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
uehowe
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
ukwwuq
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
Toptal Tech
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 

Recently uploaded (20)

APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 

Introducing the Severalnines MySQL© Replication Blueprint

  • 1. Confidential MySQL Replication Blueprint April 5, 2015 Art van Scheppingen Senior Support Engineer, Severalnines art@severalnines.com
  • 2. Confidential Your host & some logistics I'm Jean-Jérôme from the Severalnines Team and I'm your host for today's webinar! Feel free to ask any questions in the Questions section of this application or via the Chat box. You can also contact me directly via the chat box or via email: jj@severalnines.com during or after the webinar.
  • 3. Confidential Agenda ☐ Why a Blueprint for Replication? ☐ MySQL Replication Blueprint - Components & Topology ☐ Monitoring & Trending ☐ Management ☐ Load balancing ☐ Q&A
  • 4. Confidential Why the need for a MySQL Replication blueprint?
  • 5. Confidential Replication in the pre-MySQL 5.6 era ☐ Pre-MySQL 5.6 replication ☐ Easy to set up ☐ Easy to break ☐ Difficult and sometimes impossible to repair ☐ Tools become necessary ☐ Failover tools (MHA, PRM, Mysqlfailover) ☐ Percona-Toolkit (pt-heartbeat, pt-table-sync, pt-slave-restart)
  • 6. Confidential Is this production ready? ☐ Enable master binlog ☐ Have slave(s) read from master ☐ Are we done?
  • 7. Confidential Issues to be addressed in production (1 / 2) ☐ Master as a SPOF - failover (automatic vs manual) ☐ Data consistency ☐ Read write split ☐ Dynamic topology changes ☐ Load balancing
  • 8. Confidential Issues to be addressed in production (2 / 2) ☐ Config changes ☐ Version upgrades ☐ Schema changes ☐ Backup strategies ☐ Scaling ☐ Monitoring
  • 9. Confidential Making MySQL Replication Production Ready ☐ Holistic approach needed ☐ Deployment automation ☐ Failover tools ☐ Virtual ip addresses ☐ Load Balancers ☐ Backups ☐ Topology logic implemented many times (in each component)
  • 10. Confidential Only one version of the truth ☐ Who is the current master? ☐ In case of failover, who is the new master? ☐ Which are the slaves? ☐ Application requests always directed to the right server (depending on reads vs writes)
  • 11. Confidential GTID - A Stronger Foundation for Replication ☐ Global Transaction Identifier (GTID) introduced in 5.6 ☐ Used to identify and associate each transaction to its origin ☐ Makes the transaction unique in the topology ☐ Different GTID implementation in MySQL and MariaDB
  • 12. Confidential Management: Repair A Broken Topology ☐ Slave promotion without GTID ☐ Find the most advanced slave ☐ Elect this node as the new master ☐ Find difference between new master and slaves ☐ Find binlog position per slave ☐ Re-attach slaves to new master ☐ Why do we need to find the binlog position? ☐ Slaves have their own binary logs (slave updates) ☐ Position in slave logs do not correspond to the master
  • 13. Confidential Management: Repair A Broken Topology ☐ Slave promotion with GTID ☐ Find the most advanced slave ☐ Elect this node as the new master ☐ Re-attach slaves to new master with auto-position ☐ Auto-position ☐ Master finds the binlog file and position for the slave ☐ Slaves will automatically receive remaining transactions ☐ Transactions are in the correct order
  • 14. Confidential Introducing the MySQL Replication Blueprint Components and Topology
  • 16. Confidential Components and Topology: Master/Slave ☐ Most simplistic MySQL replication topology
  • 18. Confidential Components and Topology: Multi Master ☐ Similar to Master/Slave ☐ All nodes are master and replica ☐ Circular replication ☐ Active/Passive ☐ One node is the master ☐ Other node(s) are hot standby. ☐ Active/Active ☐ All nodes are master
  • 20. Confidential Components and Topology: Multi Master ☐ Prevent infinite loops ☐ log-slave-updates=1 + replicate-same-server-id=0 ☐ Even with GTID ☐ Prevent conflicts ☐ Writing to the same data/schemas ☐ Replication bottleneck ☐ Active/Active: two replication streams ☐ After a master fails you only have one replication stream
  • 21. Confidential Components and Topology: Parallel Replication ☐ MySQL replication is single threaded ☐ Replication blocked ☐ Long running queries ☐ DDL changes ☐ Parallel Replication ☐ Multiple replication streams
  • 23. Confidential Components and Topology: Parallel Replication ☐ MySQL 5.6 ☐ Replication thread per schema ☐ MySQL 5.7 ☐ Intra schema ☐ Group commit large write sets
  • 24. Confidential Components and Topology: Multi Source Replication ☐ Slave replicates from multiple masters ☐ No conflicting schemas ☐ Replication channels ☐ Little support with replication tools ☐ Unmanaged slave ☐ Useful for ☐ Data Warehousing ☐ Delayed slaves ☐ Data locality
  • 25. Confidential Components and Topology: Multi Source Replication
  • 26. Confidential Components and Topology: Monitoring ☐ Replication Manager / Failover tool ☐ Monitors replication stream ☐ Monitor slave lag ☐ Flap protection ☐ Global state of the topology ☐ Performance monitoring (Trending) ☐ Replication stream ☐ Slave lag
  • 27. Confidential Components and Topology: Management ☐ Replication Manager / Failover tool ☐ Repair broken replication ☐ Scaling ☐ Backup Management ☐ Updates ☐ Schema Changes ☐ Configuration Management
  • 28. Confidential Components and Topology: Load Balancers ☐ Various types of load balancers ☐ Layer 4 (TCP/IP) ☐ Layer 7 (Application) ☐ Needs to monitor the topology
  • 31. Confidential Monitoring vs Trending ☐ Monitoring ☐ Keeps an eye on your systems ☐ Will alert if a threshold is met ☐ Trending ☐ Insight into the system internals ☐ Trends can warn you before anything has happened yet ☐ Keep historical state/data
  • 32. Confidential Monitoring: Availability ☐ Do more than SELECT 1; ☐ Measure true status of nodes and cluster ☐ Test read/write ☐ Open essential schemas ☐ Check the full topology
  • 33. Confidential Trending: Why do we need trends? ☐ Trending ☐ Plot trends of key (performance) metrics ☐ Find problems before they arise ☐ Pre-emptive problem management ☐ Trending tools ☐ Granularity of sampling ☐ More datapoints = better
  • 34. Confidential Trending: What metrics to store? ☐ Resource monitoring ☐ CPU ☐ Memory ☐ IO capacity ☐ Diskspace ☐ Replication monitoring ☐ Slave lag ☐ Transactions per second
  • 36. Confidential Trending: Correlate ☐ Correlate your data ☐ Include other metrics into your graphs ☐ Deployments ☐ Failovers ☐ Application metrics
  • 38. Confidential Trending: Solutions ☐ Storage ☐ Grafana ☐ Prometheus ☐ InfluxDB ☐ Trending tools ☐ Grafana ☐ Cacti ☐ Hosted ☐ VividCortex ☐ Integrated Framework ☐ ClusterControl
  • 39. Confidential Alerting ☐ Get notified when it goes wrong ☐ Integrate alerting with monitoring tools ☐ Ready made integrations ☐ APIs ☐ Alerting services ☐ Pagerduty ☐ OpsGenie ☐ VictorOps
  • 41. Confidential Management: Scaling Out ☐ Add new slaves ☐ Prime new slave with a copy of the data ☐ Add to existing topology ☐ Monitoring ☐ Failover tools ☐ Load balancers
  • 44. Confidential Management: Scaling Out ☐ Performance issues: ☐ Too many replication threads on master ☐ Add intermediate slaves ☐ Adds more complexity ☐ Not all failover tools support intermediate slaves
  • 45. Confidential Management: Delayed Slave ☐ Why slow down the replication? ☐ Quick access to historical state ☐ Accidentally wiped data ☐ Hacked databases ☐ MySQL 5.7 ☐ CHANGE MASTER TO … MASTER DELAY=3600; ☐ Other versions ☐ pt-slave-delay
  • 46. Confidential Management: Repair A Broken Topology ☐ MySQL replication is fragile ☐ Master failure ☐ Network problems ☐ Data inconsistency (data drift)
  • 47. Confidential Management: Repair A Broken Topology ☐ Failover automation ☐ Promote slaves automatically ☐ Controlled failover ☐ Move virtual ip addresses ☐ Perform other pre- and post-failover tasks ☐ Failover tools ☐ MySQL Master HA (MHA) ☐ Percona Replication Manager (PRM) ☐ Orchestrator ☐ Mysqlfailover
  • 48. Confidential Management: Backups ☐ Logical backups ☐ Dump of all tables and rows ☐ Mysqldump ☐ Physical backups ☐ File copy of the MySQL data directory ☐ Xtrabackup ☐ MySQL Hotcopy ☐ Filesystem snapshots (LVM, ZFS)
  • 49. Confidential Management: Backups ☐ Why would you make a backup? ☐ Disaster recovery ☐ Testing/staging/development ☐ Priming new slaves ☐ Replication is not a backup ☐ DDL, Truncate and delete statements are replicated ☐ Delayed slave will not help if your DC is down
  • 50. Confidential Management: Backups ☐ Full or incremental backups? ☐ Xtrabackup allows incremental backups ☐ Only copy altered data ☐ Smaller backups ☐ Full backup necessary as starting point ☐ Slower recovery
  • 51. Confidential Management: Backups ☐ Scheduling ☐ Off-peak hours scheduling ☐ Don’t overlap schedules ☐ Backup suites ☐ MySQL Enterprise backup ☐ Bacula ☐ Zmanda Recovery Manager (ZRM) ☐ Holland Backup
  • 52. Confidential Management: Backups ☐ Backup validation ☐ Unpack backups ☐ Start MySQL from recovered backup ☐ Rebuild slave from backup ☐ Rebuild topology ☐ Scheduled verification ☐ Offsite backups ☐ Copy to another DC ☐ Copy to cloud (Amazon Galcier / S3)
  • 53. Confidential Management: Updating or Upgrading ☐ Minor version updates ☐ New features ☐ Bugfixes ☐ Security fixes ☐ Easy to update, rolling restart ☐ Major version upgrades ☐ Need preparation ☐ Cluster downtime
  • 54. Confidential Management: Schema Changes ☐ DDL Changes propagated through replication ☐ DDL statements are blocking the replication stream ☐ Can cause slave lag ☐ Apply DDL Changes locally ☐ Node by node change ☐ Master failover necessary ☐ DDL change has to be compatible ☐ Apply DDL Changes through Percona Online Schema Change
  • 55. Confidential Management: Schema Changes ☐ Percona Online Schema Change ☐ Creates the new table structure ☐ Creates triggers on the old table ☐ Backfills data in the background ☐ Swaps the two tables once done ☐ Not 100% compatible with all DDL changes ☐ Always test your changes first!
  • 56. Confidential Management: Configuration Changes ☐ Manage your configurations ☐ Deployment systems (Puppet, Chef, etc.) ☐ Keep a copy inside Git/SVN ☐ Sync your configuration ☐ Settings may differ per host ☐ Runtime changes not propagated to configuration files ☐ Visual differences (MonYog, ClusterControl)
  • 58. Confidential Load Balancing ☐ Ensure any component can/may fail ☐ Master node is a single point of failure ☐ Master failover must be handled application side as well ☐ Configuration managers (Zookeeper, Consul) ☐ Virtual ip addresses (not always available / allowed) ☐ Load Balancers
  • 61. Confidential Load Balancers: Benefits ☐ Transparent ☐ Sits between application and database ☐ Application does not have to be topology aware ☐ Split database connections (reads and writes) ☐ Runtime read/write splitting ☐ Instant failover ☐ Failover happens for all hosts at the same time
  • 62. Confidential Load Balancing: Proxies ☐ Which proxies are available today? ☐ Layer 3 (network) ☐ HAProxy ☐ LVS ☐ Layer 7 (application) ☐ MySQL Proxy ☐ MaxScale ☐ ProxySQL
  • 63. Confidential Load Balancing: Proxies ☐ MaxScale ☐ Understands SQL ☐ Understands MySQL topologies ☐ Runtime read/write splitting ☐ Query rewriting ☐ Can be resource intensive ☐ Topology discovery may be different
  • 64. Confidential Load Balancing: Proxies ☐ ProxySQL ☐ Understands SQL ☐ Understands MySQL topologies ☐ Runtime read/write splitting ☐ Query rewriting ☐ Query caching ☐ Relatively new (GA since November 2015)
  • 65. Confidential Load Balancing: Proxies ☐ HAProxy ☐ Fast ☐ Proven technology ☐ MySQL scripts readily available
  • 66. Confidential Load Balancing: Query Caching ☐ MySQL Query Cache flawed ☐ Shared memory space ☐ Locks on every read/write operation ( seconds) ☐ Evictions take longer ☐ High concurrency ☐ ProxySQL ☐ No locks ☐ Regular expression match ☐ Caching for milliseconds ☐ Performs similar as Redis and Memcache
  • 67. Confidential Load Balancing: Query Rewriting ☐ Why would you rewrite queries? ☐ Bad performing queries ☐ Broken queries (bad code drop) ☐ Partitioning/sharding ☐ Negate SQL injections / hacks ☐ Which proxies? ☐ ProxySQL ☐ MaxScale
  • 72. Confidential Additional Resources ☐ Ebook: MySQL Replication for High Availability ☐ www.severalnines.com/whitepapers ☐ Become a MySQL DBA blog series ☐ severalnines.com/blog-categories/db-ops ☐ Blog: MySQL Replication failover - MaxScale vs MHA ☐ severalnines.com/blog/mysql-replication-failover-maxscale-vs-mha-part-1 ☐ Load Balancing Tutorial ☐ severalnines.com/tutorials/mysql-load-balancing-haproxy-tutorial ☐ We will soon have a whitepaper on the MySQL Replication Blueprint