Setting up Multi-Source Replication in MariaDB 10.0

Size: px
Start display at page:

Download "Setting up Multi-Source Replication in MariaDB 10.0"

Transcription

1 Setting up Multi-Source Replication in MariaDB 10.0 November 3, 2014 Derek Downey MySQL Principal Consultant

2 Who am I? Web Developer and Sysadmin background MySQL DBA for 10+ years MySQL Principal Consultant at Pythian

3 About Pythian 10,000 Pythian currently manages more than 10,000 systems. 300 Pythian currently employs more than 300 people in 25 countries worldwide Pythian was founded in leading brands trust us to keep their systems fast, reliable, and secure Elite DBA & SysAdmin workforce: 7 Oracle ACEs, 2 Oracle ACE Directors, 5 Microsoft MVPs, 1 Cloudera Champion of Big Data More than any other company, regardless of head count Oracle, Microsoft, MySQL, Hadoop, Cassandra, MongoDB, and more. Infrastructure, Cloud, DevOps, and application expertise Big data practice includes architects, R&D, data scientists, and operations capabilities Zero lock-in, utility billing model, easily blended into existing teams.

4

5

6 Overview What is multi-source replication? Why would we use multi-source replication? How multi-source replication is implemented in MariaDB Introduction to Vagrant / AWS environment Set up mirrored environment Work through some issues, conflicts and failures Set up a fan-in environment Limitations, issues, and missing features Q&A

7 Hands-on access Vagrant installation requires VirtualBox and Vagrant 1.5+ git:

8 What is Multi-source Replication

9 Multi-source Replication

10 Why Multi-source Replication

11 MySQL Topology Fragile Doesn t scale Stand Alone But pity anyone who falls and has no one to help them up - Ecclesiastes 4:10

12 Concept #1 - binary log Contains DDL/DML executed (successfully?) on master Required for replication Point-in-time recovery

13 MySQL Topology Slave roles Failover Read scaling Master/Slave

14 Concept #2 - asynchronous Changes on master don t wait for acknowledgement from slave Slave lag: unexpected results from read slaves At best: semi-synchronous (5.5+)

15 MySQL Topology Can affect performance of master Complexity of failover Master/Slave

16 MySQL Topology Master/Slave

17 MySQL Topology Active Master/Passive Master

18 MySQL Topology Active Master/Passive Master

19 MySQL Topology Active Master/Active Master

20 MySQL Topology Disaster Recovery

21 MySQL Topology Mirrored

22 Concept #3 MySQL slaves can only have a single master

23 MySQL Topology Ring

24 MySQL Topology Shards

25 MySQL Topology Fan-in

26 MariaDB Multi-source Replication Implementation

27 MariaDB Multi-Source Replication Still requires binary log Still asynchronous Works with either binlog coordinates or MariaDB GTID Removes single master constraint No conflict resolution Replication filters can be different per connection Relay log and info files are generated per connection

28 MariaDB New Syntax CHANGE MASTER [ connec2on_name ]... FLUSH RELAY LOGS ['connec4on_name'] RESET SLAVE ['connec2on_name'] SHOW RELAYLOG ['connec4on_name'] EVENTS SHOW SLAVE ['connec2on_name'] STATUS SHOW ALL SLAVES STATUS START SLAVE ['connec2on_name'...]] START ALL SLAVES STOP SLAVE ['connec2on_name'] STOP ALL SLAVES...

29 MariaDB Variables default_master_connection: connection_name to use if an explicit name is not provided is dynamic log-basename: use to avoid missing files (error, binlog, relaylog, pid, socket, etc) replication filters: prefix connection: main_connection.replicate_do_db if no prefix, variable is used for all connections that don t have variable set.

30 MariaDB New Files multi-master-info-file: contains all master connections in use master--(connection).info: Current master position for the connection that has been applied in the slave relay-log-(connection).xxxxx: relay logs for a given connection relay-log-index-(connection).index: All relay logs for a given connection relay-log-(connection).info: Current master position for the relay log (not applied)

31 MariaDB New Status Variables Com_start_all_slaves Com_start_slave: replaces Com_slave_start Com_stop_slave: replaces Com_slave_stop Com_stop_all_slaves

32 GTID Replication 3 numbers separated by dashes: eg first number: domain id second number: server id third number: sequence number; increment per event Domain IDs: must be unique on multi-masters to guarantee binlog order of each stream slaves keep track of binlog position for each domainid

33 GTID Replication Can switch from normal coordinates to GTID after slave first connects to a master that tracks GTIDs MASTER_USE_GTID: slave_pos: last replicated gtid (for the domain) current_pos: includes events in master binlog no: not using gtid

34 GTID: slave_pos vs current_pos slave_pos: SELECT last replicated gtid Use if changes on slave should not affect GTID replication position current_pos: SELECT includes events in binlog not replicated; server was previously a master no need to know previous role of server

35 Vagrant Instances Hands-on

36 Logging In Vagrant # star4ng/stopping instances $ cd pluk- mariadb $ vagrant up $ vagrant ssh pluk $ sudo su - pluk

37 Environment Overview mysqld_mul2: 4 instances config file: /etc/my.cnf datadir: /opt/mysql/(instance) master1: port 3306 slave1: port 3307 master2: port 3308 slave2: port 3309

38 Interacting with MariaDB # star4ng/stopping instances $ sudo service mysqld_mul4 {start stop restart report} [1-4] # connec4on bash aliases $ mysql_master1 $ mysql_slave1 $ mysql_master2 $ mysql_slave2

39 Setting up a Mirrored Environment Hands-on

40 MySQL Topology Mirrored

41 Script Repository pluk$ cd /home/pluk/scripts/mirrored

42 slave1 - slave of master1 pluk$ cat 1_slave1.sql pluk$ mysql_slave1 (root@slave1.sock) [(none)]> CHANGE MASTER 'master1' TO MASTER_HOST=' ', - - can t use unix socket MASTER_PORT = 3306, - - master1 MASTER_USER = 'repl', MASTER_PASSWORD = 'mul4_repl', MASTER_USE_GTID = current_pos; (root@slave1.sock) [(none)]>start SLAVE 'master1';

43 slave1 - slave of master1 (root@slave1.sock) [(none)]>start SLAVE 'master1'; (root@slave1.sock) [(none)]>show SLAVE STATUS \G Empty set (0.00 sec)

44 slave1 - default_master_connection (root@slave1.sock) row in set (0.00 sec) (root@slave1.sock) Query OK, 0 rows affected (0.00 sec) (root@slave1.sock) [(none)]>show SLAVE STATUS \G

45 slave1 - multiple files (root@slave1.sock) [(none)]>\! ls - l /opt/mysql/slave1/*info - rw- rw mysql mysql 110 Oct 22 00:42 /opt/mysql/slave1/master- master1.info - rw- rw mysql mysql 8 Oct 22 00:26 /opt/mysql/slave1/mul4- master.info - rw- rw mysql mysql 61 Oct 22 00:42 /opt/mysql/slave1/relay- log- master1.inf

46 master1 - slave of slave1 pluk$ cat 2_master1_s1.sql pluk$ mysql_master1 (root@master1.sock) [(none)]> CHANGE MASTER 'slave1' TO MASTER_HOST=' ', MASTER_PORT = 3307, - - slave1 MASTER_USER = 'repl', MASTER_PASSWORD = 'mul4_repl', MASTER_USE_GTID = current_pos; (root@master1.sock) [(none)]>start SLAVE 'slave1'; (root@master1.sock) [(none)]>show SLAVE 'slave1' STATUS \G

47 slave2 - slave of master2 pluk$ cat 3_slave2.sql pluk$ mysql_slave2 (root@slave2.sock) [(none)]> CHANGE MASTER 'master2' TO MASTER_HOST=' ', MASTER_PORT = 3308, - - master2 MASTER_USER = 'repl', MASTER_PASSWORD = 'mul4_repl', MASTER_USE_GTID = current_pos; (root@slave2.sock) [(none)]>start SLAVE 'master2'; (root@slave2.sock) [(none)]>show SLAVE 'master2' STATUS \G

48 master2 - slave of slave2 pluk$ cat 4_master2_s2.sql pluk$ mysql_master2 (root@master2.sock) [(none)]> CHANGE MASTER 'slave2' TO MASTER_HOST=' ', MASTER_PORT = 3309, - - slave2 MASTER_USER = 'repl', MASTER_PASSWORD = 'mul4_repl', MASTER_USE_GTID = current_pos; (root@master2.sock) [(none)]>start SLAVE 'slave2'; (root@master2.sock) [(none)]>show SLAVE 'slave2' STATUS \G

49 MySQL Topology Pairs

50 MySQL Topology Mirrored

51 master2 - slave of master1 pluk$ cat 5_master2_m1.sql pluk$ mysql_master2 (root@master2.sock) [(none)]> CHANGE MASTER 'master1' TO MASTER_HOST=' ', MASTER_PORT = 3306, - - master1 MASTER_USER = 'repl', MASTER_PASSWORD = 'mul4_repl', MASTER_USE_GTID = current_pos; (root@master2.sock) [(none)]>start SLAVE 'master1'; (root@master2.sock) [(none)]>show SLAVE 'master1' STATUS \G

52 master1 - slave of master2 pluk$ cat 6_master1_m2.sql pluk$ mysql_master1 (root@master1.sock) [(none)]> CHANGE MASTER 'master2' TO MASTER_HOST=' ', MASTER_PORT = 3308, - - master2 MASTER_USER = 'repl', MASTER_PASSWORD = 'mul4_repl', MASTER_USE_GTID = current_pos; (root@master1.sock) [(none)]>start SLAVE 'master2'; (root@master1.sock) [(none)]>show SLAVE 'master2' STATUS \G

53 MySQL Topology Mirrored

54 Handling Failures Hands-on

55 MySQL Topology Mirrored

56 Multi-master Conflict STOP SLAVE; SET GTID_NEXT="7d72f9b e2-a3d ef5:5"; BEGIN; COMMIT; SET GTID_NEXT="AUTOMATIC"; START SLAVE; [...] Retrieved_Gtid_Set: 7d72f9b e2-a3d ef5:1-5 Executed_Gtid_Set: 7d72f9b e2-a3d ef5:1-5 Source:

57 Multi-master Conflict SET %connection% ; SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; START SLAVE;

58 master1 failure pluk$ sudo service mysqld_mul4 stop 1 pluk$ sudo service mysqld_mul4 report (root@master2.sock) [(none)]> master1 (root@master2.sock) [(none)]> STOP SLAVE; (root@master2.sock) [(none)]> CHANGE MASTER TO MASTER_PORT=3307; (root@master2.sock) [(none)]> START SLAVE; (root@slave1.sock) [(none)]> master1 (root@slave1.sock) [(none)]> STOP SLAVE; (root@slave1.sock) [(none)]> CHANGE MASTER TO MASTER_PORT=3308; (root@slave1.sock) [(none)]> START SLAVE;

59 Setting up a Fan-in Environment Hands-on

60 MySQL Topology Fan-in

61 Fan-in Reset environment pluk$ cd /home/pluk/scripts/fan- in pluk$ bash reset_environment.sh

62 slave1 - slave of master1 (root@slave1.sock) [(none)]>change MASTER 'master1' TO MASTER_HOST=' ', MASTER_PORT = 3306, - - master1 MASTER_USER = 'repl', MASTER_PASSWORD = 'mul4_repl', MASTER_USE_GTID = current_pos;

63 slave1 - slave of master2 (root@slave1.sock) [(none)]> CHANGE MASTER 'master2' TO MASTER_HOST=' ', MASTER_PORT = 3308, - - master2 MASTER_USER = 'repl', MASTER_PASSWORD = 'mul4_repl', MASTER_USE_GTID = current_pos;

64 Limitations and Missing Features

65 Limitations Currently only 64 masters slave_net_timeout affects all connections, so doesn t check against slave_heartbeat_period replication/standard-replication/multi-source-replication/ #limitations

66 Importable Tablespaces Ability to importing innodb file_per_table tablespaces from a different server Useful for extremely large datasets where logical restore would take too long Downside of feature: doesn t support partitions. (root@slave1.sock) [foo]>alter TABLE e DISCARD TABLESPACE; ERROR 1031 (HY000): Storage engine InnoDB of the table `foo`.`e` doesn't have this op4on

67 Semi-sync Replication Master waits for acknowledgement of receipt from a semi-sync slave before returning to client Gain: reduced chance of lost transactions Lose: performance Currently slated 10.2:

68 Complexity Monitoring multiple connections Connection naming for failover purposes Careful with duplicated events; gtid_ignore_duplicates=1 Skipping events won t progress gtid sequence on slaves

69 Resources MariaDB multi-source docs: replication/standard-replication/multi-source-replication MariaDB GTID docs: replication/standard-replication/global-transaction-id MariaDB bug database: MySQL multi-source worklog (for MySQL 5.7):

70 Resources Kristian Nielsen blogs on replication streams and GTID

71 Q&A twitter:

MySQL Multi-Source Replication

MySQL Multi-Source Replication MySQL Multi-Source Replication Max Bubenick - max.bubenick@percona.com Technical Operations Manager Wagner Bianchi - wagner.bianchi@percona.com Principal Technical Services Engineer This is gonna be a

More information

MySQL Replication. Rick Golba and Stephane Combaudon April 15, 2015

MySQL Replication. Rick Golba and Stephane Combaudon April 15, 2015 MySQL Replication Rick Golba and Stephane Combaudon April 15, 2015 Agenda What is, and what is not, MySQL Replication Replication Use Cases Types of replication Replication lag Replication errors Replication

More information

MySQL Replication : advanced features in all flavours. Giuseppe Maxia Quality Assurance Architect at

MySQL Replication : advanced features in all flavours. Giuseppe Maxia Quality Assurance Architect at MySQL Replication : advanced features in all flavours Giuseppe Maxia Quality Assurance Architect at VMware @datacharmer 1 About me Who s this guy? Giuseppe Maxia, a.k.a. "The Data Charmer" QA Architect

More information

MySQL Replication, the Community Sceptic Roundup. Giuseppe Maxia Quality Assurance Architect at

MySQL Replication, the Community Sceptic Roundup. Giuseppe Maxia Quality Assurance Architect at MySQL Replication, the Community Sceptic Roundup Giuseppe Maxia Quality Assurance Architect at VMware @datacharmer 1 About me Who s this guy? Giuseppe Maxia, a.k.a. "The Data Charmer" QA Architect at VMware

More information

MySQL Group Replication. Bogdan Kecman MySQL Principal Technical Engineer

MySQL Group Replication. Bogdan Kecman MySQL Principal Technical Engineer MySQL Group Replication Bogdan Kecman MySQL Principal Technical Engineer Bogdan.Kecman@oracle.com 1 Safe Harbor Statement The following is intended to outline our general product direction. It is intended

More information

Operational DBA In a Nutshell - HandsOn Reference Guide

Operational DBA In a Nutshell - HandsOn Reference Guide 1/12 Operational DBA In a Nutshell - HandsOn Reference Guide Contents 1 Operational DBA In a Nutshell 2 2 Installation of MySQL 2 2.1 Setting Up Our VM........................................ 2 2.2 Installation

More information

ProxySQL - GTID Consistent Reads. Adaptive query routing based on GTID tracking

ProxySQL - GTID Consistent Reads. Adaptive query routing based on GTID tracking ProxySQL - GTID Consistent Reads Adaptive query routing based on GTID tracking Introduction Rene Cannao Founder of ProxySQL MySQL DBA Introduction Nick Vyzas ProxySQL Committer MySQL DBA What is ProxySQL?

More information

MySQL 5.6 New Replication Features

MySQL 5.6 New Replication Features disclaimer MySQL 5.6 New Replication Features Ronald Bradford New York & Boston March 2012 The presentation provides information that is publicly available for MySQL 5.6 GA. The content of this presentation

More information

Consistent Reads Using ProxySQL and GTID. Santa Clara, California April 23th 25th, 2018

Consistent Reads Using ProxySQL and GTID. Santa Clara, California April 23th 25th, 2018 Consistent Reads Using ProxySQL and GTID Santa Clara, California April 23th 25th, 2018 Disclaimer I am not René Cannaò @lefred MySQL Community Manager / Oracle the one who provided a hint for this not

More information

EXPERIENCES USING GH-OST IN A MULTI-TIER TOPOLOGY

EXPERIENCES USING GH-OST IN A MULTI-TIER TOPOLOGY EXPERIENCES USING GH-OST IN A MULTI-TIER TOPOLOGY Ivan Groenewold Valerie Parham-Thompson 26 April 2017 WHY USE GH-OST? Why not use native online schema change capabilities of MySQL/MariaDB? Some changes

More information

The Hazards of Multi-writing in a Dual-Master Setup

The Hazards of Multi-writing in a Dual-Master Setup The Hazards of Multi-writing in a Dual-Master Setup Jay Janssen MySQL Consulting Lead November 15th, 2012 Explaining the Problem Rules of the Replication Road A given MySQL instance: Can be both a master

More information

MySQL Replication Update

MySQL Replication Update MySQL Replication Update Lars Thalmann Development Director MySQL Replication, Backup & Connectors OSCON, July 2011 MySQL Releases MySQL 5.1 Generally Available, November 2008 MySQL

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 ADVANCED MYSQL REPLICATION ARCHITECTURES Luís

More information

How Facebook Got Consistency with MySQL in the Cloud Sam Dunster

How Facebook Got Consistency with MySQL in the Cloud Sam Dunster How Facebook Got Consistency with MySQL in the Cloud Sam Dunster Production Engineer Consistency Replication Replication for High Availability Facebook Replicaset Region A Slave Slave Region B Region

More information

MySQL Point-in-Time Recovery like a Rockstar

MySQL Point-in-Time Recovery like a Rockstar 1 / 51 2 / 51 3 / 51 MySQL Point-in-Time Recovery like a Rockstar Accelerate MySQL point-in-time recovery for large workloads FOSDEM, February 2018 Frédéric Descamps - MySQL Community Manager - Oracle

More information

High availability with MariaDB TX: The definitive guide

High availability with MariaDB TX: The definitive guide High availability with MariaDB TX: The definitive guide MARCH 2018 Table of Contents Introduction - Concepts - Terminology MariaDB TX High availability - Master/slave replication - Multi-master clustering

More information

Percona XtraDB Cluster

Percona XtraDB Cluster Percona XtraDB Cluster Ensure High Availability Presenter Karthik P R CEO Mydbops www.mydbops.com info@mydbops.com Mydbops Mydbops is into MySQL/MongoDB Support and Consulting. It is founded by experts

More information

How to make MySQL work with Raft. Diancheng Wang & Guangchao Bai Staff Database Alibaba Cloud

How to make MySQL work with Raft. Diancheng Wang & Guangchao Bai Staff Database Alibaba Cloud How to make MySQL work with Raft Diancheng Wang & Guangchao Bai Staff Database Engineer @ Alibaba Cloud About me Name: Guangchao Bai Location: Beijing, China Occupation: Staff Database Engineer @ Alibaba

More information

Support for replication is built into MySQL. There are no special add-ins or applications to install.

Support for replication is built into MySQL. There are no special add-ins or applications to install. Updates made to one database copy are automatically propagated to all the other replicas. Generally, one of the replicas is designated as the master where Updates are directed to the master while read

More information

Choosing a MySQL HA Solution Today. Choosing the best solution among a myriad of options

Choosing a MySQL HA Solution Today. Choosing the best solution among a myriad of options Choosing a MySQL HA Solution Today Choosing the best solution among a myriad of options Questions...Questions...Questions??? How to zero in on the right solution You can t hit a target if you don t have

More information

Choosing a MySQL HA Solution Today

Choosing a MySQL HA Solution Today Choosing a MySQL HA Solution Today Choosing the best solution among a myriad of options. Michael Patrick Technical Account Manager at Percona The Evolution of HA in MySQL Blasts from the past Solutions

More information

MySQL Replication Advanced Features In 20 minutes

MySQL Replication Advanced Features In 20 minutes MySQL Replication Advanced Features In 20 minutes Peter Zaitsev, CEO FOSDEM, Brussels, Belgium February 2nd, 2019 1 Question #1 Who in this room is using some kind of MySQL Replication? 2 Question #2 Which

More information

MariaDB 10.3 vs MySQL 8.0. Tyler Duzan, Product Manager Percona

MariaDB 10.3 vs MySQL 8.0. Tyler Duzan, Product Manager Percona MariaDB 10.3 vs MySQL 8.0 Tyler Duzan, Product Manager Percona Who Am I? My name is Tyler Duzan Formerly an operations engineer for more than 12 years focused on security and automation Now a Product Manager

More information

Replication features of 2011

Replication features of 2011 FOSDEM 2012 Replication features of 2011 What they were How to get them How to use them Sergey Petrunya MariaDB MySQL Replication in 2011: overview Notable events, chronologically: MySQL 5.5 GA (Dec 2010)

More information

Introduction to MySQL InnoDB Cluster

Introduction to MySQL InnoDB Cluster 1 / 148 2 / 148 3 / 148 Introduction to MySQL InnoDB Cluster MySQL High Availability made easy Percona Live Europe - Dublin 2017 Frédéric Descamps - MySQL Community Manager - Oracle 4 / 148 Safe Harbor

More information

Move Amazon RDS MySQL Databases to Amazon VPC using Amazon EC2 ClassicLink and Read Replicas

Move Amazon RDS MySQL Databases to Amazon VPC using Amazon EC2 ClassicLink and Read Replicas Move Amazon RDS MySQL Databases to Amazon VPC using Amazon EC2 ClassicLink and Read Replicas July 2017 2017, Amazon Web Services, Inc. or its affiliates. All rights reserved. Notices This document is provided

More information

Various MySQL High Availability (HA) Solutions

Various MySQL High Availability (HA) Solutions Various MySQL High Availability (HA) Solutions Percona Live MySQL Conference, London, Oct 24 th and 25 th, 2011 Oli Sennhauser Senior MySQL Consultant at FromDual GmbH oli.sennhauser@fromdual.com www.fromdual.com

More information

MySQL High Availability Solutions. Alex Poritskiy Percona

MySQL High Availability Solutions. Alex Poritskiy Percona MySQL High Availability Solutions Alex Poritskiy Percona The Five 9s of Availability Clustering & Geographical Redundancy Clustering Technologies Replication Technologies Well-Managed disasters power failures

More information

MySQL HA Solutions Selecting the best approach to protect access to your data

MySQL HA Solutions Selecting the best approach to protect access to your data MySQL HA Solutions Selecting the best approach to protect access to your data Sastry Vedantam sastry.vedantam@oracle.com February 2015 Copyright 2015, Oracle and/or its affiliates. All rights reserved

More information

MySQL Architecture Design Patterns for Performance, Scalability, and Availability

MySQL Architecture Design Patterns for Performance, Scalability, and Availability MySQL Architecture Design Patterns for Performance, Scalability, and Availability Brian Miezejewski Principal Manager Consulting Alexander Rubin Principal Consultant Agenda HA and

More information

MySQL High Availability

MySQL High Availability MySQL High Availability And other stuff worth talking about Peter Zaitsev CEO Moscow MySQL Users Group Meetup July 11 th, 2017 1 Few Words about Percona 2 Percona s Purpose To Champion Unbiased Open Source

More information

Migrating to Aurora MySQL and Monitoring with PMM. Percona Technical Webinars August 1, 2018

Migrating to Aurora MySQL and Monitoring with PMM. Percona Technical Webinars August 1, 2018 Migrating to Aurora MySQL and Monitoring with PMM Percona Technical Webinars August 1, 2018 Introductions Introduction Vineet Khanna (Autodesk) Senior Database Engineer vineet.khanna@autodesk.com Tate

More information

Welcome to Virtual Developer Day MySQL!

Welcome to Virtual Developer Day MySQL! Welcome to Virtual Developer Day MySQL! Keynote: Developer and DBA Guide to What s New in MySQL 5.6 Rob Young Director of Product Management, MySQL 1 Program Agenda 9:00 AM Keynote: What s New in MySQL

More information

Backup & Restore. Maximiliano Bubenick Sr Remote DBA

Backup & Restore. Maximiliano Bubenick Sr Remote DBA Backup & Restore Maximiliano Bubenick Sr Remote DBA Agenda Why backups? Backup Types Raw Backups Logical Backups Binlog mirroring Backups Locks Tips Why Backups? Why Backups? At some point something will

More information

1Z Oracle. MySQL 5 Database Administrator Certified Professional Part I

1Z Oracle. MySQL 5 Database Administrator Certified Professional Part I Oracle 1Z0-873 MySQL 5 Database Administrator Certified Professional Part I Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-873 A. Use the --log-queries-indexes option. B. Use the

More information

What's new in MySQL 5.5 and 5.6 replication

What's new in MySQL 5.5 and 5.6 replication What's new in MySQL 5.5 and 5.6 replication Giuseppe Maxia Continuent, Inc Continuent 2012. 1 AGENDA 5.5 semi-synchronous replication 5.6 delayed replication server UUID crash-safe slave multi-thread slave

More information

Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ]

Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ] s@lm@n Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ] Oracle 1z0-883 : Practice Test Question No : 1 Consider the Mysql Enterprise Audit plugin. You are checking

More information

Everything You Need to Know About MySQL Group Replication

Everything You Need to Know About MySQL Group Replication Everything You Need to Know About MySQL Group Replication Luís Soares (luis.soares@oracle.com) Principal Software Engineer, MySQL Replication Lead Copyright 2017, Oracle and/or its affiliates. All rights

More information

Diagnosing Failures in MySQL Replication

Diagnosing Failures in MySQL Replication Diagnosing Failures in MySQL Replication O'Reilly MySQL Conference Santa Clara, CA Devananda Deva van der Veen -2- Introduction About Me Sr Consultant at Percona since summer 2009 Working with large MySQL

More information

Percona XtraDB Cluster MySQL Scaling and High Availability with PXC 5.7 Tibor Korocz

Percona XtraDB Cluster MySQL Scaling and High Availability with PXC 5.7 Tibor Korocz Percona XtraDB Cluster MySQL Scaling and High Availability with PXC 5.7 Tibor Korocz Architect Percona University Budapest 2017.05.11 1 2016 Percona Scaling and High Availability (application) 2 Scaling

More information

MySQL High Availability. Michael Messina Senior Managing Consultant, Rolta-AdvizeX /

MySQL High Availability. Michael Messina Senior Managing Consultant, Rolta-AdvizeX / MySQL High Availability Michael Messina Senior Managing Consultant, Rolta-AdvizeX mmessina@advizex.com / mike.messina@rolta.com Introduction Michael Messina Senior Managing Consultant Rolta-AdvizeX, Working

More information

MySQL for Database Administrators Ed 3.1

MySQL for Database Administrators Ed 3.1 Oracle University Contact Us: 1.800.529.0165 MySQL for Database Administrators Ed 3.1 Duration: 5 Days What you will learn The MySQL for Database Administrators training is designed for DBAs and other

More information

Backup and Recovery Strategy

Backup and Recovery Strategy Backup and Recovery Strategy About Stacy 10+ years of experience on various flavors of relational databases. Focus on performance tuning, code reviews, database deployment and infrastructure management

More information

MySQL for Database Administrators Ed 4

MySQL for Database Administrators Ed 4 Oracle University Contact Us: (09) 5494 1551 MySQL for Database Administrators Ed 4 Duration: 5 Days What you will learn The MySQL for Database Administrators course teaches DBAs and other database professionals

More information

Database Backup and Recovery Best Practices. Manjot Singh, Data & Infrastrustructure Architect

Database Backup and Recovery Best Practices. Manjot Singh, Data & Infrastrustructure Architect Database Backup and Recovery Best Practices (with a focus on MySQL) Manjot Singh, Data & Infrastrustructure Architect About Manjot Singh MySQL Fanatic Long time user (~16 years) Database and Systems Administrator

More information

Which technology to choose in AWS?

Which technology to choose in AWS? Which technology to choose in AWS? RDS / Aurora / Roll-your-own April 17, 2018 Daniel Kowalewski Senior Technical Operations Engineer Percona 1 2017 Percona AWS MySQL options RDS for MySQL Aurora MySQL

More information

MySQL Replication Options. Peter Zaitsev, CEO, Percona Moscow MySQL User Meetup Moscow,Russia

MySQL Replication Options. Peter Zaitsev, CEO, Percona Moscow MySQL User Meetup Moscow,Russia MySQL Replication Options Peter Zaitsev, CEO, Percona Moscow MySQL User Meetup Moscow,Russia Few Words About Percona 2 Your Partner in MySQL and MongoDB Success 100% Open Source Software We work with MySQL,

More information

Creating a Best-in-Class Backup and Recovery System for Your MySQL Environment. Akshay Suryawanshi DBA Team Manager,

Creating a Best-in-Class Backup and Recovery System for Your MySQL Environment. Akshay Suryawanshi DBA Team Manager, Creating a Best-in-Class Backup and Recovery System for Your MySQL Environment Akshay Suryawanshi DBA Team Manager, 2015-07-15 Agenda Why backups? Backup Types Binary or Raw Backups Logical Backups Binlog

More information

MySQL Replication: What's New In MySQL 5.7 and MySQL 8. Luís Soares Software Development Director MySQL Replication

MySQL Replication: What's New In MySQL 5.7 and MySQL 8. Luís Soares Software Development Director MySQL Replication MySQL Replication: What's New In MySQL 5.7 and MySQL 8 Luís Soares Software Development Director MySQL Replication Tuesday, 24th April 2018, Santa Clara, CA, USA Copyright 2018, Oracle and/or its affiliates.

More information

Mix n Match Async and Group Replication for Advanced Replication Setups. Pedro Gomes Software Engineer

Mix n Match Async and Group Replication for Advanced Replication Setups. Pedro Gomes Software Engineer Mix n Match Async and Group Replication for Advanced Replication Setups Pedro Gomes (pedro.gomes@oracle.com) Software Engineer 4th of February Copyright 2017, Oracle and/or its affiliates. All rights reserved.

More information

MySQL Group Replication in a nutshell

MySQL Group Replication in a nutshell 1 / 192 2 / 192 MySQL Group Replication in a nutshell MySQL InnoDB Cluster: hands-on tutorial Percona Live Amsterdam - October 2016 Frédéric Descamps - MySQL Community Manager - Oracle Kenny Gryp - MySQL

More information

MyRocks Storage Engine Status Update. Sergei Petrunia MariaDB Meetup New York February, 2018

MyRocks Storage Engine Status Update. Sergei Petrunia MariaDB Meetup New York February, 2018 MyRocks Storage Engine Status Update Sergei Petrunia MariaDB Meetup New York February, 2018 2 Plan What MyRocks is How it is provided in upstream Packaging MyRocks in MariaDB MyRocks

More information

Jailbreaking MySQL Replication Featuring Tungsten Replicator. Robert Hodges, CEO, Continuent

Jailbreaking MySQL Replication Featuring Tungsten Replicator. Robert Hodges, CEO, Continuent Jailbreaking MySQL Replication Featuring Tungsten Robert Hodges, CEO, Continuent About Continuent / Continuent is the leading provider of data replication and clustering for open source relational databases

More information

Percona XtraDB Cluster 5.7 Enhancements Performance, Security, and More

Percona XtraDB Cluster 5.7 Enhancements Performance, Security, and More Percona XtraDB Cluster 5.7 Enhancements Performance, Security, and More Michael Coburn, Product Manager, PMM Percona Live Dublin 2017 1 Your Presenter Product Manager for PMM (Percona Monitoring and Management)

More information

MyRocks in MariaDB. Sergei Petrunia MariaDB Tampere Meetup June 2018

MyRocks in MariaDB. Sergei Petrunia MariaDB Tampere Meetup June 2018 MyRocks in MariaDB Sergei Petrunia MariaDB Tampere Meetup June 2018 2 What is MyRocks Hopefully everybody knows by now A storage engine based on RocksDB LSM-architecture Uses less

More information

Lessons from database failures

Lessons from database failures Lessons from database failures Colin Charles, Chief Evangelist, Percona Inc. colin.charles@percona.com / byte@bytebot.net http://www.bytebot.net/blog/ @bytebot on Twitter Percona Webminar 18 January 2017

More information

MySQL InnoDB Cluster. MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients. FOSDEM 18 - February 04, 2018

MySQL InnoDB Cluster. MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients. FOSDEM 18 - February 04, 2018 MySQL InnoDB Cluster MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients FOSDEM 18 - February 04, 2018 Safe Harbor Statement The following is intended to outline our

More information

Enterprise Open Source Databases

Enterprise Open Source Databases Enterprise Open Source Databases WHITE PAPER MariaDB vs. Oracle MySQL vs. EnterpriseDB MariaDB TX Born of the community. Raised in the enterprise. MariaDB TX, with a history of proven enterprise reliability

More information

Autopsy of an automation disaster. Simon J Mudd (Senior Database Engineer) Percona Live, 25 th April 2017

Autopsy of an automation disaster. Simon J Mudd (Senior Database Engineer) Percona Live, 25 th April 2017 Autopsy of an automation disaster Simon J Mudd (Senior Database Engineer) Percona Live, 25 th April 2017 To err is human To really foul things up requires a computer [1] (or a script) [1]: http://quoteinvestigator.com/2010/12/07/foul-computer/

More information

Typical Issues with Middleware

Typical Issues with Middleware Typical Issues with Middleware HrOUG 2016 Timur Akhmadeev October 2016 About Me Database Consultant at Pythian 10+ years with Database and Java Systems Performance and Architecture OakTable member 3 rd

More information

New Replication Features MySQL 5.1 and MySQL 6.0/5.4

New Replication Features MySQL 5.1 and MySQL 6.0/5.4 2009 04 21 Lars Thalmann & Mats Kindahl New Replication Features www.mysql.com 1 New Replication Features MySQL 5.1 and MySQL 6.0/5.4 Dr. Lars Thalmann Development Manager, Replication & Backup lars@mysql.com

More information

CO MySQL for Database Administrators

CO MySQL for Database Administrators CO-61762 MySQL for Database Administrators Summary Duration 5 Days Audience Administrators, Database Designers, Developers Level Professional Technology Oracle MySQL 5.5 Delivery Method Instructor-led

More information

How to setup Orchestrator to manage thousands of MySQL servers. Simon J Mudd 3 rd October 2017

How to setup Orchestrator to manage thousands of MySQL servers. Simon J Mudd 3 rd October 2017 How to setup Orchestrator to manage thousands of MySQL servers Simon J Mudd 3 rd October 2017 Session Summary What is orchestrator and why use it? What happens as you monitor more servers? Features added

More information

2) One of the most common question clients asks is HOW the Replication works?

2) One of the most common question clients asks is HOW the Replication works? Replication =============================================================== 1) Before setting up a replication, it could be important to have a clear idea on the why you are setting up a MySQL replication.

More information

Distributed Data Management Replication

Distributed Data Management Replication Felix Naumann F-2.03/F-2.04, Campus II Hasso Plattner Institut Distributing Data Motivation Scalability (Elasticity) If data volume, processing, or access exhausts one machine, you might want to spread

More information

MySQL with Windows Server 2008 R2 Failover Clustering

MySQL with Windows Server 2008 R2 Failover Clustering MySQL with Windows Server 2008 R2 Failover Clustering Delivering High Availability with MySQL on Windows A MySQL White Paper September 2011 Table of Contents Summary... 3 Value of MySQL on Windows... 3

More information

How to evaluate which MySQL High Availability solution best suits you

How to evaluate which MySQL High Availability solution best suits you How to evaluate which MySQL High Availability solution best suits you Henrik Ingo & Ben Mildren MySQL Conference And Expo, 2012 Please share and reuse this presentation licensed under the Creative Commons

More information

MySQL InnoDB Cluster & Group Replication in a Nutshell: Hands-On Tutorial

MySQL InnoDB Cluster & Group Replication in a Nutshell: Hands-On Tutorial 1 / 152 2 / 152 3 / 152 MySQL InnoDB Cluster & Group Replication in a Nutshell: Hands-On Tutorial Percona Live Europe 2017 - Dublin Frédéric Descamps - MySQL Community Manager - Oracle Kenny Gryp - MySQL

More information

MySQL HA Solutions. Keeping it simple, kinda! By: Chris Schneider MySQL Architect Ning.com

MySQL HA Solutions. Keeping it simple, kinda! By: Chris Schneider MySQL Architect Ning.com MySQL HA Solutions Keeping it simple, kinda! By: Chris Schneider MySQL Architect Ning.com What we ll cover today High Availability Terms and Concepts Levels of High Availability What technologies are there

More information

High Availability- Disaster Recovery 101

High Availability- Disaster Recovery 101 High Availability- Disaster Recovery 101 DBA-100 Glenn Berry, Principal Consultant, SQLskills.com Glenn Berry Consultant/Trainer/Speaker/Author Principal Consultant, SQLskills.com Email: Glenn@SQLskills.com

More information

Bitnami MariaDB for Huawei Enterprise Cloud

Bitnami MariaDB for Huawei Enterprise Cloud Bitnami MariaDB for Huawei Enterprise Cloud First steps with the Bitnami MariaDB Stack Welcome to your new Bitnami application running on Huawei Enterprise Cloud! Here are a few questions (and answers!)

More information

MySQL Group Replication in a nutshell

MySQL Group Replication in a nutshell 1 / 126 2 / 126 MySQL Group Replication in a nutshell the core of MySQL InnoDB Cluster Oracle Open World September 19th 2016 Frédéric Descamps MySQL Community Manager 3 / 126 Safe Harbor Statement The

More information

MySQL Replication: Latest Developments

MySQL Replication: Latest Developments MySQL Replication: Latest Developments Luís Soares (luis.soares@oracle.com) Principal Software Engineer, MySQL Replication Technologies Lead 1 Safe Harbor Statement The following is intended to outline

More information

Manage MySQL like a devops sysadmin. Frédéric Descamps

Manage MySQL like a devops sysadmin. Frédéric Descamps Manage MySQL like a devops sysadmin Frédéric Descamps Webinar Oct 2012 Who am I? Frédéric Descamps @lefred http://about.be/lefred Managing MySQL since 3.23 (as far as I remember) devops believer www.percona.com

More information

dbdeployer the future of MySQL sandboxes Giuseppe Maxia Software explorer

dbdeployer the future of MySQL sandboxes Giuseppe Maxia Software explorer dbdeployer the future of MySQL sandboxes Giuseppe Maxia Software explorer About me Who's this guy? Giuseppe Maxia, a.k.a. "The Data Charmer" Software Explorer at VMware Several decades development and

More information

Lessons learned while automating MySQL in the AWS cloud. Stephane Combaudon DB Engineer - Slice

Lessons learned while automating MySQL in the AWS cloud. Stephane Combaudon DB Engineer - Slice Lessons learned while automating MySQL in the AWS cloud Stephane Combaudon DB Engineer - Slice Our environment 5 DB stacks Data volume ranging from 30GB to 2TB+. Master + N slaves for each stack. Master

More information

The Exciting MySQL 5.7 Replication Enhancements

The Exciting MySQL 5.7 Replication Enhancements The Exciting MySQL 5.7 Replication Enhancements Luís Soares (luis.soares@oracle.com) Principal Software Engineer, MySQL Replication Team Lead Copyright 2016, Oracle and/or its affiliates. All rights reserved.

More information

Dealing with schema changes on large data volumes. Danil Zburivsky MySQL DBA, Team Lead

Dealing with schema changes on large data volumes. Danil Zburivsky MySQL DBA, Team Lead Dealing with schema changes on large data volumes Danil Zburivsky MySQL DBA, Team Lead Why Companies Trust Pythian Recognized Leader: Global industry-leader in remote database administration services and

More information

G a l e r a C l u s t e r Schema Upgrades

G a l e r a C l u s t e r Schema Upgrades G a l e r a C l u s t e r Schema Upgrades Seppo Jaakola Codership Agenda Galera Cluster Overview DDL vs DML Demo of DDL Replication in Galera Cluster Rolling Schema Upgrade (RSU) Total Order Isolation

More information

MySQL 5.6 & 5.7 & 5.7+ Unlimited scaling???

MySQL 5.6 & 5.7 & 5.7+ Unlimited scaling??? MySQL 5.6 & 5.7 & 5.7+ Unlimited scaling??? Carsten Thalheimer Technical Sales Consultant (Carsten.Thalheimer@Oracle.com) Linux - Virtualization - MySQL (LVM GBU - EMEA) Copyright 2013, Oracle and/or its

More information

Xtrabackup in a nutshell

Xtrabackup in a nutshell Xtrabackup in a nutshell FromDual Annual company meeting 2013, Greece Abdel-Mawla Gharieb MySQL Support Engineer at FromDual GmbH abdel-mawla.gharieb@fromdual.com 1 / 26 About FromDual GmbH (LLC) FromDual

More information

Design Patterns for Large- Scale Data Management. Robert Hodges OSCON 2013

Design Patterns for Large- Scale Data Management. Robert Hodges OSCON 2013 Design Patterns for Large- Scale Data Management Robert Hodges OSCON 2013 The Start-Up Dilemma 1. You are releasing Online Storefront V 1.0 2. It could be a complete bust 3. But it could be *really* big

More information

Wednesday, May 15, 13

Wednesday, May 15, 13 1 Whats New With MySQL 5.6 Ligaya Turmelle Principle Technical Support Engineer - MySQL https://joind.in/8176 About Me ligaya.turmelle@oracle.com MySQL Support

More information

Amazon Aurora Relational databases reimagined.

Amazon Aurora Relational databases reimagined. Amazon Aurora Relational databases reimagined. Ronan Guilfoyle, Solutions Architect, AWS Brian Scanlan, Engineer, Intercom 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved Current

More information

FromDual Annual Company Meeting

FromDual Annual Company Meeting FromDual Annual Company Meeting Athens, 2013 Galera Cluster for MySQL http:// 1 / 26 About FromDual GmbH (LLC) FromDual provides neutral and independent: Consulting for MySQL Support for MySQL and Galera

More information

MySQL Group Replication & MySQL InnoDB Cluster

MySQL Group Replication & MySQL InnoDB Cluster MySQL Group Replication & MySQL InnoDB Cluster Production Ready? Kenny Gryp productions Table of Contents Group Replication MySQL Shell (AdminAPI) MySQL Group Replication MySQL Router Best Practices Limitations

More information

This presentation is a bit different in that we are usually talking to DBA s about MySQL.

This presentation is a bit different in that we are usually talking to DBA s about MySQL. This presentation is a bit different in that we are usually talking to DBA s about MySQL. Since this is a developer s conference, we are going to be looking at replication from a developer s point of view.

More information

Future-Proofing MySQL for the Worldwide Data Revolution

Future-Proofing MySQL for the Worldwide Data Revolution Future-Proofing MySQL for the Worldwide Data Revolution Robert Hodges, CEO. What is Future-Proo!ng? Future-proo!ng = creating systems that last while parts change and improve MySQL is not losing out to

More information

Binlog Servers (and MySQL) at Booking.com. Jean-François Gagné jeanfrancois DOT gagne AT booking.com Presented at Percona Live Santa Clara 2015

Binlog Servers (and MySQL) at Booking.com. Jean-François Gagné jeanfrancois DOT gagne AT booking.com Presented at Percona Live Santa Clara 2015 Binlog Servers (and MySQL) at Booking.com Jean-François Gagné jeanfrancois DOT gagne AT booking.com Presented at Percona Live Santa Clara 2015 Booking.com 2 Booking.com Based in Amsterdam since 1996 Online

More information

Choosing a MySQL High Availability Solution. Marcos Albe, Percona Inc. Live Webinar June 2017

Choosing a MySQL High Availability Solution. Marcos Albe, Percona Inc. Live Webinar June 2017 Choosing a MySQL High Availability Solution Marcos Albe, Percona Inc. Live Webinar June 2017 Agenda What is availability Components to build an HA solution HA options in the MySQL ecosystem Failover/Routing

More information

Aurora, RDS, or On-Prem, Which is right for you

Aurora, RDS, or On-Prem, Which is right for you Aurora, RDS, or On-Prem, Which is right for you Kathy Gibbs Database Specialist TAM Katgibbs@amazon.com Santa Clara, California April 23th 25th, 2018 Agenda RDS Aurora EC2 On-Premise Wrap-up/Recommendation

More information

MySQL GTID Implementation, Maintenance, and Best Practices. Brian Cain (Dropbox) Gillian Gunson (GitHub) Mark Filipi (SurveyMonkey)

MySQL GTID Implementation, Maintenance, and Best Practices. Brian Cain (Dropbox) Gillian Gunson (GitHub) Mark Filipi (SurveyMonkey) MySQL GTID Implementation, Maintenance, and Best Practices Brian Cain (Dropbox) Gillian Gunson (GitHub) Mark Filipi (SurveyMonkey) Agenda Intros Concepts Replication overview GTID Intro Implementation

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1 MySQL : 5.6 the Next Generation Lynn Ferrante Principal Consultant, Technical Sales Engineering Northern California Oracle Users Group November 2012 2 Safe Harbor Statement The

More information

MySQL Multi-Site/Multi-Master Done Right

MySQL Multi-Site/Multi-Master Done Right MySQL Multi-Site/Multi-Master Done Right MySQL Clustering for HA and DR The Dream: Multiple, active DBMS servers with identical data over distance Too good to be true? High Performance High Availability

More information

The Blackhole and Federated Storage Engines: The Coolest Kids on the Block

The Blackhole and Federated Storage Engines: The Coolest Kids on the Block The Blackhole and Federated Storage Engines: The Coolest Kids on the Block Kai Voigt, kai@mysql.com Senior Instructor, MySQL AB Giuseppe Maxia, giuseppe@mysql.com QA Developer, MySQL AB Kai Voigt Mister

More information

Technology Overview ScaleArc. All Rights Reserved.

Technology Overview ScaleArc. All Rights Reserved. 2014 ScaleArc. All Rights Reserved. Contents Contents...1 ScaleArc Overview...1 Who ScaleArc Helps...2 Historical Database Challenges...3 Use Cases and Projects...5 Sample ScaleArc Customers...5 Summary

More information

PostgreSQL Replication 2.0

PostgreSQL Replication 2.0 PostgreSQL Replication 2.0 NTT OSS Center Masahiko Sawada PGConf.ASIA 2017 Copyright 2017 NTT corp. All Rights Reserved. Who am I Masahiko Sawada @sawada_masahiko NTT Open Source Software Center PostgreSQL

More information

Bitnami MySQL for Huawei Enterprise Cloud

Bitnami MySQL for Huawei Enterprise Cloud Bitnami MySQL for Huawei Enterprise Cloud Description MySQL is a fast, reliable, scalable, and easy to use open-source relational database system. MySQL Server is intended for mission-critical, heavy-load

More information

Migrating Oracle Databases To Cassandra

Migrating Oracle Databases To Cassandra BY UMAIR MANSOOB Why Cassandra Lower Cost of ownership makes it #1 choice for Big Data OLTP Applications. Unlike Oracle, Cassandra can store structured, semi-structured, and unstructured data. Cassandra

More information

Improvements in MySQL 5.5 and 5.6. Peter Zaitsev Percona Live NYC May 26,2011

Improvements in MySQL 5.5 and 5.6. Peter Zaitsev Percona Live NYC May 26,2011 Improvements in MySQL 5.5 and 5.6 Peter Zaitsev Percona Live NYC May 26,2011 State of MySQL 5.5 and 5.6 MySQL 5.5 Released as GA December 2011 Percona Server 5.5 released in April 2011 Proven to be rather

More information