SlideShare ist ein Scribd-Unternehmen logo
1 von 72
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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.2013MariaDB Corporation
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability SolutionsLenz Grimmer
 
Md sal clustering internals
Md sal clustering internalsMd sal clustering internals
Md sal clustering internalsMoiz 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 EnvironmentJean-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 BlaBlaCarMariaDB plc
 
High Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseHigh Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseMariaDB Corporation
 
What’s new in Galera 4
What’s new in Galera 4What’s new in Galera 4
What’s new in Galera 4MariaDB 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 PathsMariaDB 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 easeMariaDB 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 AvailableMariaDB 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 ReplicationYashada 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.6Shlomi 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 & ManagementSeveralnines
 
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 2011Henrik 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 InfrastructureMariaDB 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 limitationsJean-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 BangaloreSujatha 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 BerlinMariaDB 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 MyRocksMariaDB plc
 

Was ist angesagt? (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
 

Andere mochten auch

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 AvailabilitySeveralnines
 
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 managementShlomi 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 MariaDBSeveralnines
 
Art of MySQL Replication.
Art of MySQL Replication.Art of MySQL Replication.
Art of MySQL Replication.Mikiya Okuno
 
MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良Shinya Sugiyama
 

Andere mochten auch (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とレプリケーションにおける改良
 

Ähnlich wie 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
 
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 EnvironmentJean-François Gagné
 
Oracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsOracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsArun 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 downtimeOlivier DASINI
 
Scalabe MySQL Infrastructure
Scalabe MySQL InfrastructureScalabe MySQL Infrastructure
Scalabe MySQL InfrastructureBalazs 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.7Zhaoyang Wang
 
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 AdministratorsDave 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 ClusterContinuent
 
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 TutorialJean-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 2014Miguel Zuniga
 
Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014Managing and Scaling Puppet - PuppetConf 2014
Managing and Scaling Puppet - PuppetConf 2014Puppet
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability SolutionsLenz Grimmer
 
Mysqlhacodebits20091203 1260184765-phpapp02
Mysqlhacodebits20091203 1260184765-phpapp02Mysqlhacodebits20091203 1260184765-phpapp02
Mysqlhacodebits20091203 1260184765-phpapp02Louis liu
 

Ähnlich wie 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
 
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
 
Mysqlhacodebits20091203 1260184765-phpapp02
Mysqlhacodebits20091203 1260184765-phpapp02Mysqlhacodebits20091203 1260184765-phpapp02
Mysqlhacodebits20091203 1260184765-phpapp02
 

Mehr von 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 DBaaSSeveralnines
 
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 nextcloudSeveralnines
 
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 BasicsSeveralnines
 
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 & MongoDBSeveralnines
 
(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 MariaDBSeveralnines
 
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 ClusterControlSeveralnines
 
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 & MariaDBSeveralnines
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseSeveralnines
 
Performance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDBPerformance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDBSeveralnines
 
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 ServerSeveralnines
 
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 KnifeSeveralnines
 
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 PostgreSQLSeveralnines
 
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 TuningSeveralnines
 
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 MariaDBSeveralnines
 
Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Severalnines
 
Webinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilityWebinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilitySeveralnines
 

Mehr von Severalnines (20)

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
 
Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?
 
Webinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilityWebinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High Availability
 

Kürzlich hochgeladen

AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewingbigorange77
 
Call Girls in East Of Kailash 9711199171 Delhi Enjoy Call Girls With Our Escorts
Call Girls in East Of Kailash 9711199171 Delhi Enjoy Call Girls With Our EscortsCall Girls in East Of Kailash 9711199171 Delhi Enjoy Call Girls With Our Escorts
Call Girls in East Of Kailash 9711199171 Delhi Enjoy Call Girls With Our Escortsindian call girls near you
 
Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of indiaimessage0108
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一3sw2qly1
 
象限策略:Google Workspace 与 Microsoft 365 对业务的影响 .pdf
象限策略:Google Workspace 与 Microsoft 365 对业务的影响 .pdf象限策略:Google Workspace 与 Microsoft 365 对业务的影响 .pdf
象限策略:Google Workspace 与 Microsoft 365 对业务的影响 .pdfkeithzhangding
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 

Kürzlich hochgeladen (20)

AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewing
 
Call Girls in East Of Kailash 9711199171 Delhi Enjoy Call Girls With Our Escorts
Call Girls in East Of Kailash 9711199171 Delhi Enjoy Call Girls With Our EscortsCall Girls in East Of Kailash 9711199171 Delhi Enjoy Call Girls With Our Escorts
Call Girls in East Of Kailash 9711199171 Delhi Enjoy Call Girls With Our Escorts
 
Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of india
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
 
Vip Call Girls Aerocity ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Aerocity ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Aerocity ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Aerocity ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
象限策略:Google Workspace 与 Microsoft 365 对业务的影响 .pdf
象限策略:Google Workspace 与 Microsoft 365 对业务的影响 .pdf象限策略:Google Workspace 与 Microsoft 365 对业务的影响 .pdf
象限策略:Google Workspace 与 Microsoft 365 对业务的影响 .pdf
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 

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