MySQL Replication: Pros and Cons

Size: px
Start display at page:

Download "MySQL Replication: Pros and Cons"

Transcription

1 MySQL Replication: Pros and Cons Achieve Higher Performance, Uptime, Reliability and Simplicity for Real-World Use Cases. Darpan VP of Engineering Schooner Information Technology

2 Agenda Quick tour of MySQL asynchronous, semi-synchronous and synchronous replication schemes 20 real-world use cases: which replication mechanisms to choose and why SchoonerSQL Q&A p Schooner Schooner Information Information Technology, Technology. p2 All rights reserved.

3 20 Real- World Use Cases High write rate Read scaling Use of Flash memory High Availability Server sprawl, inefficient HW util. Full and incremental backup WAN, multi-dc deployments Online schema updates Online maintenance & upgrades Minimize administration MySQL Master-Master DRBD Resilience Point-in-time recovery (PITR) Delayed Slave Very large databases Automated replication failover Mixed hardware Virtualized or Cloud env. Elasticity requirements p Schooner Schooner Information Information Technology, Technology. p3 All rights reserved.

4 Part One Concepts that effect MySQL replication Parallelism Flow control Consistency & Serializability Quick tour of replication schemes for MySQL Asynchronous Semi-synchronous Synchronous p Schooner Schooner Information Information Technology, Technology. p4 All rights reserved.

5 Parallelism, or the Lack of Commodity hardware: 4-10 core processors MySQL Slave uses <1 core to apply replication Can MySQL Master sustain write transactions using >1 core? Hard-disks have >5ms latency (random) Single threaded Slave cannot make >200 random reads/sec in foreground Can a MySQL Slave use more disk throughput? Flash memory offers >50k IOPS Add Flash memory to improve performance of a single thread At what price/performance? p Schooner Schooner Information Information Technology, Technology. p5 All rights reserved.

6 Answer to Parallelism: SchoonerSQL commit/1800s 6,000,000 5,000,000 4,000,000 3,000,000 2,000,000 1,000,000 Slave commits on Sysbench 0 1,693,476 Percona ,326,066 Schooner ASYNC 5,080,958 1,782,231 Schooner SYNC Stock X throughput on SchoonerSQL Slaves Commit/ 3900 sec 12,000,000 10,000,000 Commits / sec 8,000,000 6,000,000 4,000,000 2,000,000 0 Slave commits on DBT2 3,235,410 3,239,277 11,174,862 9,456,770 Percona Stock Schooner SYNC Schooner ASYNC TPCC- mysql 5000W Master Slave 0 Schooner Async Percona Async p Schooner Schooner Information Information Technology, Technology. p6 All rights reserved.

7 Flow Control p Schooner Schooner Information Information Technology, Technology. p7 All rights reserved.

8 Flow Control in ReplicaSon No flow control Slave lags the Master Stale reads on Slave Failover onto Slave is tricky Action: make Slave faster (add Flash, more memory) Action: shard database without hitting H/W limits Action: use SchoonerSQL parallel async replication & reduce slave-lag With flow control Slave is in lock-step with Master Reads are near or fully consistent Failover is low or no risk Slave may throttle Master Action: use SchoonerSQL parallel sync replication to eliminate data-loss and slave-lag Action: use similar H/W within a cluster p Schooner Schooner Information Information Technology, Technology. p8 All rights reserved.

9 Serializability and Consistency Serializability: a transaction schedule is serializable if its outcome (e.g., the resulting database state) is equal to the outcome of its transactions executed serially, i.e., sequentially without overlapping in time. MySQL Slave is single threaded, i.e. executes and commits in a serial order, hence serializable. SchoonerSQL Slave (async/semi-sync*/sync) Checks for conflicts Executes in parallel Commits transactions in the same order as the Master Strong consistency, 100% compatibility, Binlog in identical sequence p Schooner Schooner Information Information Technology, Technology. p9 All rights reserved.

10 Things to Watch Out for in Parallel ReplicaSon ImplementaSons TransacSon Ordering (1/2): Master (TransacSons on Master) T2 T5 T3 T1 T4 T1 T3 T2 Commit order T1 T2 T3 T4 T5 (In InnoDB and binary log) p Schooner 2011 Schooner Information Information Technology, Technology. p10 All rights reserved.

11 Things to Watch Out for in Parallel ReplicaSon ImplementaSons TransacSon Ordering (2/2): Slave or 2 nd Master (order in relay log or sync replicason buffers) T5 T4 T3 T2 T1 T1 T3 T2 Commit order T5 T4 T3 T2 T1 (In InnoDB and binary log) p Schooner Schooner Information Information Technology, Technology. p11 All rights reserved.

12 MySQL ReplicaSon Technology 1. Asynchronous Oldest, most popular and widely deployed 2. Semi-synchronous Introduced in v5.5. Objective: avoid many data-loss situations 3. Synchronous ( Virtual Synchrony, not 2PC) Not available from Oracle/ MySQL SchoonerSQL: >1 year in production XtraDB Cluster: announced last week p Schooner 2011 Schooner Information Information Technology, Technology. p12 All rights reserved.

13 #1 MySQL Asynchronous ReplicaSon Master mysqld Tx.Commit(101) Read Stale data on Slave No flow control CorrupPon Master failure = mess Data loss Single- threaded Slave Read version based on tx=50 Slave mysqld Repl.apply(51) tx=101 tx=101 tx=51 tx=51 DB InnoDB Tx log MySQL Bin log Log events pulled by Slave Relay log InnoDB Tx log DB Last tx=100 Last tx=100 Loosely coupled master/slave relationship Master does not wait for Slave Slave determines how much to read and from which point in the binary log Slave can be arbitrarily behind master in reading and applying changes p Schooner 2011 Schooner Information Information Technology, Technology. p13 All rights reserved. Last tx=70 Last tx=50 Read on slave can give old data No checksums in binary or relay log stored on disk, data corruption possible Upon a Master s failure Slave may not have latest committed data resulting in data loss Fail-over to a slave is stalled until all transactions in relay log have been committed not instantaneous

14 #2 MySQL Semi- synchronous ReplicaSon DB Master mysqld Tx.Commit(101) InnoDB Tx log MySQL Bin log Read Stale data on Slave No flow control CorrupPon Master failure = mess Data loss Single threaded Slave Relay log Slave mysqld tx=101 tx=101 tx=51 tx=51 Log for tx=100 pulled by Slave Slave ACK for tx=100 Read version based on tx=50 Repl.apply(51) InnoDB Tx log DB Last tx=100 Last tx=100 Semi-coupled master/slave relationship On commit, Master waits for an ACK from Slave Slave logs the transaction event in relay log and ACKs (may not apply yet) Slave can be arbitrarily behind master in applying changes Last tx=100 Last tx=50 Read on slave can give old data No checksums in binary or relay log stored on disk, data corruption possible Upon a Master s failure Fail-over to a slave is stalled until all transactions in relay log have been committed not instantaneous p Schooner 2011 Schooner Information Information Technology, Technology. p14 All rights reserved.

15 #3 SchoonerSQL Synchronous ReplicaSon Read version based on tx=100 DB Master mysqld Tx.Commit(101) tx=101 InnoDB Tx log MySQL Bin log Last tx=100 Last tx=100 Log for tx=100 pushed to Slave Slave ACK for tx=100 Read Stale data on Slave No flow control CorrupPon Master failure = mess Data loss Single threaded Slave Slave mysqld Repl.apply(100) tx=100 InnoDB Tx log Last tx=100 DB Tightly-coupled master/slave relationship After commit, all Slaves guaranteed to receive and commit the change Slave in lock-step with Master p Schooner 2011 Schooner Information Information Technology, Technology. p15 All rights reserved. Read on slave gives latest committed data Checksums in replication paths Upon a Master s failure Fail-over to a slave is fully integrated and automatic Application writes continue on new master instantaneously No data loss

16 QualitaSve Comparison MySQL 5.5 Asynchronous SchoonerSQL Asynchronous MySQL 5.5 Semi- Synchronous SchoonerSQL Semi- Synchronous* XtraDB Cluster Synchronous SchoonerSQL Synchronous Parallel replicason (for same schema) N Y N Y Y Y Throughput Medium High Medium High Medium High High network latency tolerant Y Y N N N N MulS- level failure detecson N Y N Y N Y Global transacpon IDs N Y N Y N Y Capacity with transient failures Y Y Y Y N Y Commit consistency Y Y Y Y N Y Auto recovery with high consistency Medium High Medium High Medium High Auto replicason failover and repair N Y N Y Y Y Large update/ insert/ LOAD INFILE Y Y Y Y N Y Unexpected aborts & deadlocks N N N N Y N MulS- Master Cluster N N N N Y N * Future release p Schooner 2011 Schooner Information Information Technology, Technology. p16 All rights reserved.

17 Part Two 20 real-world use cases: which replication mechanisms to choose and why? p Schooner 2011 Schooner Information Information Technology, Technology. p17 All rights reserved.

18 #1 High Write Rate Async/ semi-sync Issue: Slave lags the Master Issue: Master hits limits (code + H/W) Typical solutions Use more main-memory and/or Flash memory Shard database SchoonerSQL SchoonerSQL is optimized for multi-cores, Flash memory and fast network Master scales vertically with H/W resource (CPU, memory, storage). Async and sync Slave have parallel threads for replication that match the speed of the Master. p Schooner 2011 Schooner Information Information Technology, Technology. p18 All rights reserved.

19 #2 Read Scaling Async/ semi-sync/ sync Issue: Scale read queries for a read intensive application Sysbench Read/Write Reads/s Writes/s Typical solution MySQL replication allows unlimited number of Slaves Nodes in Schooner Cluster SchoonerSQL Schooner sync supports consistent reads from up to 7 Slaves Schooner async allows same unlimited number of Slaves p Schooner 2011 Schooner Information Information Technology, Technology. p19 All rights reserved.

20 #3 Use of Flash Memory Async/ semi-sync/ sync Issue: MySQL/InnoDB is IO latency sensitive, adding dozens of hard disks does not scale well Issue: Slave is unable to keep-up with Master Issue: InnoDB flushing & check-pointing has unstable performance Typical solutions Use Flash to provide more IOPS to single threaded Slave Use Flash for faster random access to read and write database files SchoonerSQL SchoonerSQL is designed for fast storage (such as Flash memory) to reduce writes, increase flushing and checkpoint efficiencies, executing more read and write IOs in parallel. Slave parallelism and vertical scalability helps avoid sharding and provides factors of better price/performance, order of magnitude when compared with disks p Schooner 2011 Schooner Information Information Technology, Technology. p20 All rights reserved.

21 #4 High Availability (HA) Async/ semi-sync Issue: MySQL provides weak out-of-the-box availability Issue: Replication and application connections are not failed over Sync Issue: Requires failover of application connections Typical solutions Use a proxy Use Virtual IPs (MMM) SchoonerSQL for mission-critical applications Includes integrated VIP management and automatic failover Global transaction IDs in binary log allow sync, semi-sync* and async replication connections to be automatically repaired/ redirected p Schooner 2011 Schooner Information Information Technology, Technology. p21 All rights reserved.

22 #4 High Availability (HA): SchoonerSQL Availability Base Sync replicason (LAN) Auto client connecson failover Sync node failures (up to 7) Auto sync connecson repair Fault tolerance (sync - > async - > sync) Async WAN connecson repair WAN level failover Two Ser failure detecson Self healing p Schooner 2011 Schooner Information Information Technology, Technology. p22 All rights reserved.

23 #5 Server Sprawl, Inefficient Hardware USlizaSon Async/ semi-sync/ sync Issue: Software bottlenecks force premature sharding Issue: Servicing reads or taking backup Slave commits on Sysbench on Slave conflicts with single 6,000,000 5,326,066 threaded Slave 5,080,958 Issue: DRBD stand-by servers Typical solutions Use a Slave solely for backups Add Slave servers commit/1800s 5,000,000 4,000,000 3,000,000 2,000,000 1,000,000 1,693,476 1,782,231 SchoonerSQL Provides high consolidation via high vertical scalability and 2-10X faster Slave replication 0 Percona Schooner ASYNC Schooner SYNC Stock p Schooner 2011 Schooner Information Information Technology, Technology. p23 All rights reserved.

24 #5 Server Sprawl, Inefficient Hardware USlizaSon SchoonerSQL VerScal Scalability UPlizaPon (CPU threads) CPU Scalability Total concurrent connecpons SchoonerSQL scales on mul9- cores & Flash IOPS Bandwidth (MBps) IO Scalability Total concurrent connecpons Network Scalability Read IOPS Write IOPS Network in Network out Benchmark: 5000 warehouse TPCC- MySQL p Schooner 2011 Schooner Information Information Technology, Technology. p24 All rights reserved Total concurrent connecpons

25 #6 Full and Incremental Backup Async/ semi-sync Issue: Slave instance may lag due to backup Sync Issue: Flow control may be triggered slowing down the commits Typical solutions Reserve a slave solely for backup (non-sync mode) Schedule or execute backup during periods with low write activity Throttle down backup speed (increasing the time taken to backup) Separate storage device and controller for backup target SchoonerSQL Slave parallelism reduces or eliminates these issues Schooner backup includes adaptive throttling to reduce contention p Schooner 2011 Schooner Information Information Technology, Technology. p25 All rights reserved.

26 #7 WAN and MulS- Data Center Deployments Semi-sync/ Sync Issue: Increases in network latency slow down commits Issue: Failure detection over higher latency networks is slow Typical solutions Use semi-sync or async within DC (or with metro-area networks) Use async for high latency networks (WAN) SchoonerSQL Use sync and/or async within DC (or with metro-area networks) Use async for WAN (automatic failover supported) High throughput maintained across WAN, as permitted by network bandwidth & quality p Schooner 2011 Schooner Information Information Technology, Technology. p26 All rights reserved.

27 #7 WAN and MulS- Data Center Deployments: SchoonerSQL Synchronous Cluster WRITES Synchronous Cluster Read Master REPL REPL REPL MASTER WRITES Parallel Async REPL MASTER REPL REPL Read Master Read Master Read Master Data Center #1 Read Master Data Center #2 Read Master p Schooner 2011 Schooner Information Information Technology, Technology. p27 All rights reserved.

28 #7 WAN and MulS- Data Center Deployments: SchoonerSQL SchoonerSQL asynchronous replication performance p Schooner 2011 Schooner Information Information Technology, Technology. p28 All rights reserved.

29 #8 Online Schema Updates Async/ semi-sync/ sync Issue: Certain schema changes take minutes-hours and lock table for the duration (blocking write transactions that write to this table) Issue: Adding index has similar effects Sync Issue: Requires extra machinery if async is not supported Typical solutions Use Flash memory for small-medium tables Leverage one of several solutions (open-ark, pt-online-schema..) SchoonerSQL Supports asynchronous and synchronous for an instance. Fully compatible with existing mechanisms to update schema. p Schooner 2011 Schooner Information Information Technology, Technology. p29 All rights reserved.

30 #9 Online Maintenance and Upgrades Async/ semi-sync/ sync Issue: Application failover is required before taking a MySQL instance offline Sync Issue: To service load during maintenance, a temporary server may need to be used and require sufficient manual work Typical solutions Use scripts, manual steps SchoonerSQL GUI and CLI includes features to migrate an instance to another server and moving application connections. SchoonerSQL supports automated full and incremental database provisioning and recovery. Automation reduces errors. p Schooner 2011 Schooner Information Information Technology, Technology. p30 All rights reserved.

31 #10 Minimize AdministraSon Async/ semi-sync/ sync Issue: MySQL requires considerable configuration and administration for replication, failure-detection, failover, backup/restore Typical solutions Add MySQL experienced members on the dev/ops team SchoonerSQL Auto provisioning of a Peer/ Slave Mark a sync instance as Master Auto-sync after an instance is restarted Schedule full & incremental backups Alerts for notification State and progress of startup and shutdown p Schooner 2011 Schooner Information Information Technology, Technology. p31 All rights reserved.

32 #10 Minimize AdministraSon SchoonerSQL: GUI for Management Integrated GUI simplifies administration Powerful 1-click actions for On-line provisioning of servers and MySQL instances On-line database migration, upgrades Master role is set on an instance with a click Create / Start / Stop / Remove MySQL instances Easy Server Management Assign VIPs to Masters, Read Masters and Asynchronous Masters and Slaves Create Synchronous and Asynchronous groups or clusters Change the configuration parameters through GUI p Schooner 2011 Schooner Information Information Technology, Technology. p32 All rights reserved.

33 #10 Minimize AdministraSon SchoonerSQL: Monitoring & Backup Schedules Monitoring and optimization: Extensive displays with resource utilization statistics Physical (cores, storage, network) and logical (buffers, locks, ) CPU, Disk, RAM usage IO Read and Write kb/s Bytes In & Out kb/s Integrated full & incremental online backup Scheduled backup ( daily, monthly) Supports full database restore Adaptive backup that minimizes effect on database p Schooner 2011 Schooner Information Information Technology, Technology. p33 All rights reserved.

34 #10 Minimize AdministraSon SchoonerSQL: Alerts SchoonerSQL provides based alerts that are very useful in monitoring the database environment. Alerts include name, date & time, severity, description and have configurable thresholds. Sample alerts Instance created/deleted Instance up/down Instance attached/detached Group created/removed Async failover VIP configuration p Schooner 2011 Schooner Information Information Technology, Technology. p34 All rights reserved.

35 #11 MySQL Master- Master Setup (AcSve/Passive) Async/ semi-sync Issue: Require quick failover upon active Master s failure Async Issue: May loose transactions upon active Master s failure Typical solutions Configure two MySQL instances as Master-Master (setup to replicate to and from each other) Use external failure-detection and load (re-) direction mechanisms (e.g. MMM, Flipper, HAProxy) SchoonerSQL SchoonerSQL sync cluster setup is similar to an active-passive Master-Master setup. Automatic failure detection and application failover is integrated in the solution. p Schooner 2011 Schooner Information Information Technology, Technology. p35 All rights reserved.

36 #11 MySQL Master- Master Setup (AcSve/Passive) Synchronous Cluster WRITES Synchronous Cluster WRITES WRITES Read Master REPL REPL REPL MASTER Read Master REPL REPL WRITES MASTER Read Master Read Master SchoonerSQL Read Master Read Master SchoonerSQL Instantaneous Failover p Schooner 2011 Schooner Information Information Technology, Technology. p36 All rights reserved.

37 #12 MySQL with DRBD Setup Async Issue: Possibility of data loss when active Master fails & immediate failover is required Issue: Reconnecting Slaves to new Master is not straightforward Typical solutions Use semi-sync replication in v5.5 Use DRBD to replicate at physical storage block device level SchoonerSQL Instead of wasting resources on a stand-by and long failover time (recovery and warm-up), SchoonerSQL sync cluster provides logical replication (avoiding corruption propagation in DRBD) with no data loss, instantaneous failover and automatic failover of replication connections (sync or async). p Schooner 2011 Schooner Information Information Technology, Technology. p37 All rights reserved.

38 #13 Resilience Sync Issue: Sensitive to N/W quality, splits cluster at any fault Issue: Read capacity compromised Typical solutions Semi-sync falls back to async mode Async Slaves disconnect without affecting the Master, and reconnect at a later time SchoonerSQL Sync falls back to async* without affecting the Master or compromising the read capacity * As of SchoonerSQL p Schooner 2011 Schooner Information Information Technology, Technology. p38 All rights reserved.

39 #14 Point In Time Recovery (PITR) Sync Issue: Binary logs within a cluster may not contain transactions in the same sequence. PITR becomes difficult if the same instance that created backup files is unavailable. Typical solutions Backup database and binary log for all or majority of cluster instances (increases disk space requirements and may cause slow down during backup) SchoonerSQL SchoonerSQL Slave instances using any replication type commit in the same order as Master, even when parallelizing writes. Global transaction IDs help stitch state of any cluster member. Backup from one instance of a cluster is sufficient. p Schooner 2011 Schooner Information Information Technology, Technology. p39 All rights reserved.

40 #15 Delayed Slave Sync Issue: Instances in the cluster are in lock-step with Master and do not read binary log (as an async Slave does) SchoonerSQL SchoonerSQL supports multiple replication types in the same database cluster. An async Slave instance can be used for this purpose. p Schooner 2011 Schooner Information Information Technology, Technology. p40 All rights reserved.

41 #16 Very Large Databases Async/ semi-sync Issue: Working set may be larger than main-memory -> slow Slave replication Issue: Large databases take longer to backup Commits / sec TPCC- mysql 0.5 TB Master Slave Typical solution 500 Throttle backup and control database size Use snapshots for backup 0 Schooner Async Percona Async SchoonerSQL Adaptive backup helps with file copy based backup Parallel Slave replication helps to hide high rate of reads Gains seen hard disks as well as Flash p Schooner 2011 Schooner Information Information Technology, Technology. p41 All rights reserved.

42 #17 Automated ReplicaSon Failover Async/ semi-sync Issue: MySQL does not include failover of replication Typical solutions Use custom external tool-kits Manual work when instances fail SchoonerSQL Integrated support for failover of all replication types p Schooner 2011 Schooner Information Information Technology, Technology. p42 All rights reserved.

43 #17 Automated ReplicaSon Failover (with Sync replicason) Synchronous Cluster WRITES Synchronous Cluster WRITES WRITES Read Master REPL REPL REPL MASTER Read Master REPL REPL WRITES MASTER Read Master Read Master SchoonerSQL Read Master Read Master SchoonerSQL p Schooner 2011 Schooner Information Information Technology, Technology. p43 All rights reserved. Instantaneous Failover

44 #17 Automated ReplicaSon Failover (with Async replicason) 1/2 Synchronous Cluster WRITES Synchronous Cluster Read Master REPL REPL REPL MASTER WRITES Async REPL REPL MASTER Read Master Read Master Data Center #1 Read Master Data Center #2 Read Master p Schooner 2011 Schooner Information Information Technology, Technology. p44 All rights reserved.

45 #17 Automated ReplicaSon Failover (with Async replicason) 2/2 Synchronous Cluster WRITES Synchronous Cluster Read Master REPL REPL WRITES MASTER Async REPL REPL MASTER Read Master Read Master Data Center #1 ReplicaPon Failover Read Master Data Center #2 Read Master p Schooner 2011 Schooner Information Information Technology, Technology. p45 All rights reserved.

46 #18 Mixed Hardware Async/ semi-sync Issue: Smaller hardware for Slave causes it to lag Sync Issue: Cluster executes commits at the pace of the weakest H/W Typical solutions Use better (or identical) hardware for Slave servers Use Flash memory in Slave servers (alleviate single threaded Slave) SchoonerSQL SchoonerSQL sync commits at the pace of weakest H/W SchoonerSQL async with parallel replication has higher chances of staying close with Master s commit speed p Schooner 2011 Schooner Information Information Technology, Technology. p46 All rights reserved.

47 #19 Virtualized or Cloud Environments Async/ semi-sync/ sync Issue: IO latency and throughput is typically poor Sync Issue: Frequent failure detections stemming from resource starvation Typical solutions Working-set or database is maintained in main-memory (avoid read IOs) Databases are heavily sharded (to reduce read and write IOs) SchoonerSQL Support sync only on well provisioned servers, typically with elevated failure detection timeouts. Async provides speedup (parallel threads hide longer latencies) p Schooner 2011 Schooner Information Information Technology, Technology. p47 All rights reserved.

48 #20 ElasScity Requirements Async/ semi-sync/ sync Issue: Dynamically add/remove Slaves based on load or trends Sync Issue: Disables an instance while a new instances is provisioned Typical solutions Manual work, scripts, proxies SchoonerSQL Sync instance is online while provisioning another instance A click in the GUI provisions a Slave that starts servicing read load. A click removes an instance from the cluster Dynamically add virtual IPs that load balance between instances p Schooner 2011 Schooner Information Information Technology, Technology. p48 All rights reserved.

49 Part Three What is SchoonerSQL? SchoonerSQL is a complete distribution of MySQL+InnoDB mysqld smells & feels the same 100% client compatible, uses same database files Installer Cluster manager GUI, CLI Administer and monitor Backup & schedules System and MySQL metric collection & display Utility to capture an incident (optionally call-home) High performance & high availability Minimizes replication administration Automatic app failover Automatic repl connection repair Single click provisioning Online upgrades Online maintenance Elastic (user-driven) cluster Alerts p Schooner 2011 Schooner Information Information Technology, Technology. p49 All rights reserved.

50 SchoonerSQL Benefits Summary High Availability No service interrupson for planned or unplanned database downsme Instant automasc fail- over On- line upgrade and migrason 90% less downsme vs. MySQL 5.5 WAN/DR auto- failover High Performance and Scalability 4-20x more throughput/server vs. MySQL 5.5 Highest performance synchronous and asynchronous replicason clusters Compelling Economics TCO 50% cheaper than MySQL 5.5 Broad Industry Deployment ecommerce, Social Media, Telco, Financial Services, EducaSon High volume web sites Geographically distributed websites High Data Integrity No lost data Highest data consistency Ease of AdministraPon No error- prone manual processes Monitoring and OpSmizaSon Out- of- the- box Product Full MySQL + InnoDB: not a toolkit Free your staff to build your business, not a custom database 100% MySQL Enterprise InnoDB CompaPble p Schooner 2011 Schooner Information Information Technology, Technology. p50 All rights reserved.

51 Thank You!

Performance comparisons and trade-offs for various MySQL replication schemes

Performance comparisons and trade-offs for various MySQL replication schemes Performance comparisons and trade-offs for various MySQL replication schemes Darpan Dinker VP Engineering Brian O Krafka, Chief Architect Schooner Information Technology, Inc. http://www.schoonerinfotech.com/

More information

Maximizing MySQL Availability, Data Integrity, Performance, and Scalability

Maximizing MySQL Availability, Data Integrity, Performance, and Scalability Maximizing MySQL Availability, Data Integrity, Performance, and Scalability Dr John R Busch Founder and CTO Schooner Information Technology JohnBusch@SchoonerInfoTechcom 2011 Schooner Information Technology,

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 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 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

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

BERLIN. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

BERLIN. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved BERLIN 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved Amazon Aurora: Amazon s New Relational Database Engine Carlos Conde Technology Evangelist @caarlco 2015, Amazon Web Services,

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

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

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

Amazon Aurora Deep Dive

Amazon Aurora Deep Dive Amazon Aurora Deep Dive Enterprise-class database for the cloud Damián Arregui, Solutions Architect, AWS October 27 th, 2016 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Enterprise

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

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

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

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

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

MySQL usage of web applications from 1 user to 100 million. Peter Boros RAMP conference 2013

MySQL usage of web applications from 1 user to 100 million. Peter Boros RAMP conference 2013 MySQL usage of web applications from 1 user to 100 million Peter Boros RAMP conference 2013 Why MySQL? It's easy to start small, basic installation well under 15 minutes. Very popular, supported by a lot

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

Amazon Aurora Deep Dive

Amazon Aurora Deep Dive Amazon Aurora Deep Dive Anurag Gupta VP, Big Data Amazon Web Services April, 2016 Up Buffer Quorum 100K to Less Proactive 1/10 15 caches Custom, Shared 6-way Peer than read writes/second Automated Pay

More information

High Availability Solutions for the MySQL Database

High Availability Solutions for the MySQL Database www.skysql.com High Availability Solutions for the MySQL Database Introduction This paper introduces recommendations and some of the solutions used to create an availability or high availability environment

More information

Using MySQL for Distributed Database Architectures

Using MySQL for Distributed Database Architectures Using MySQL for Distributed Database Architectures Peter Zaitsev CEO, Percona SCALE 16x, Pasadena, CA March 9, 2018 1 About Percona Solutions for your success with MySQL,MariaDB and MongoDB Support, Managed

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

Highly Available Database Architectures in AWS. Santa Clara, California April 23th 25th, 2018 Mike Benshoof, Technical Account Manager, Percona

Highly Available Database Architectures in AWS. Santa Clara, California April 23th 25th, 2018 Mike Benshoof, Technical Account Manager, Percona Highly Available Database Architectures in AWS Santa Clara, California April 23th 25th, 2018 Mike Benshoof, Technical Account Manager, Percona Hello, Percona Live Attendees! What this talk is meant to

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

Step into the future. HP Storage Summit Converged storage for the next era of IT

Step into the future. HP Storage Summit Converged storage for the next era of IT HP Storage Summit 2013 Step into the future Converged storage for the next era of IT 1 HP Storage Summit 2013 Step into the future Converged storage for the next era of IT Karen van Warmerdam HP XP Product

More information

Amazon Aurora Deep Dive

Amazon Aurora Deep Dive Amazon Aurora Deep Dive Kevin Jernigan, Sr. Product Manager Amazon Aurora PostgreSQL Amazon RDS for PostgreSQL May 18, 2017 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda

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

Geographically Dispersed Percona XtraDB Cluster Deployment. Marco (the Grinch) Tusa September 2017 Dublin

Geographically Dispersed Percona XtraDB Cluster Deployment. Marco (the Grinch) Tusa September 2017 Dublin Geographically Dispersed Percona XtraDB Cluster Deployment Marco (the Grinch) Tusa September 2017 Dublin About me Marco The Grinch Open source enthusiast Percona consulting Team Leader 2 Agenda What is

More information

MyRocks deployment at Facebook and Roadmaps. Yoshinori Matsunobu Production Engineer / MySQL Tech Lead, Facebook Feb/2018, #FOSDEM #mysqldevroom

MyRocks deployment at Facebook and Roadmaps. Yoshinori Matsunobu Production Engineer / MySQL Tech Lead, Facebook Feb/2018, #FOSDEM #mysqldevroom MyRocks deployment at Facebook and Roadmaps Yoshinori Matsunobu Production Engineer / MySQL Tech Lead, Facebook Feb/2018, #FOSDEM #mysqldevroom Agenda MySQL at Facebook MyRocks overview Production Deployment

More information

Migrating to XtraDB Cluster 2014 Edition

Migrating to XtraDB Cluster 2014 Edition Migrating to XtraDB Cluster 2014 Edition Jay Janssen Managing Consultant Overview of XtraDB Cluster Percona Server + Galera Cluster of Innodb nodes Readable and Writable Virtually Synchronous All data

More information

Percona XtraDB Cluster powered by Galera. Peter Zaitsev CEO, Percona Slide Credits: Vadim Tkachenko Percona University, Washington,DC Sep 12,2013

Percona XtraDB Cluster powered by Galera. Peter Zaitsev CEO, Percona Slide Credits: Vadim Tkachenko Percona University, Washington,DC Sep 12,2013 powered by Galera Peter Zaitsev CEO, Percona Slide Credits: Vadim Tkachenko Percona University, Washington,DC Sep 12,2013 This talk High Availability Replication Cluster What is HA Availability Avail ~

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

How to Scale Out MySQL on EC2 or RDS. Victoria Dudin, Director R&D, ScaleBase

How to Scale Out MySQL on EC2 or RDS. Victoria Dudin, Director R&D, ScaleBase How to Scale Out MySQL on EC2 or RDS Victoria Dudin, Director R&D, ScaleBase Boston AWS Meetup August 11, 2014 Victoria Dudin Director of R&D, ScaleBase 15 years of product development experience Previously

More information

MySQL Reference Architectures for Massively Scalable Web Infrastructure

MySQL Reference Architectures for Massively Scalable Web Infrastructure MySQL Reference Architectures for Massively Scalable Web Infrastructure MySQL Best Practices for Innovating on the Web A MySQL Strategy White Paper December 2010 Table of Contents Executive Summary...

More information

High Noon at AWS. ~ Amazon MySQL RDS versus Tungsten Clustering running MySQL on AWS EC2

High Noon at AWS. ~ Amazon MySQL RDS versus Tungsten Clustering running MySQL on AWS EC2 High Noon at AWS ~ Amazon MySQL RDS versus Tungsten Clustering running MySQL on AWS EC2 Introduction Amazon Web Services (AWS) are gaining popularity, and for good reasons. The Amazon Relational Database

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

Multi-Data Center MySQL with Continuent Tungsten

Multi-Data Center MySQL with Continuent Tungsten Multi-Data Center MySQL with Continuent Tungsten Peter Boros, Consultant, Percona Robert Hodges, CEO, Continuent Percona Technical Webinars March 2, 2013 About This Presentation Why is multi-data center

More information

MySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona

MySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona MySQL Performance Optimization and Troubleshooting with PMM Peter Zaitsev, CEO, Percona In the Presentation Practical approach to deal with some of the common MySQL Issues 2 Assumptions You re looking

More information

<Insert Picture Here> MySQL Web Reference Architectures Building Massively Scalable Web Infrastructure

<Insert Picture Here> MySQL Web Reference Architectures Building Massively Scalable Web Infrastructure MySQL Web Reference Architectures Building Massively Scalable Web Infrastructure Mario Beck (mario.beck@oracle.com) Principal Sales Consultant MySQL Session Agenda Requirements for

More information

HA solution with PXC-5.7 with ProxySQL. Ramesh Sivaraman Krunal Bauskar

HA solution with PXC-5.7 with ProxySQL. Ramesh Sivaraman Krunal Bauskar HA solution with PXC-5.7 with ProxySQL Ramesh Sivaraman Krunal Bauskar Agenda What is Good HA eco-system? Understanding PXC-5.7 Understanding ProxySQL PXC + ProxySQL = Complete HA solution Monitoring using

More information

Using MHA in and out of the Cloud. Garrick Peterson Percona University, Toronto 2013

Using MHA in and out of the Cloud. Garrick Peterson Percona University, Toronto 2013 Using MHA in and out of the Cloud Garrick Peterson Percona University, Toronto 2013 Agenda Who am I MHA Overview HA In the Cloud IP Management options Simple use case What do we use Recommendations GTID

More information

! Design constraints. " Component failures are the norm. " Files are huge by traditional standards. ! POSIX-like

! Design constraints.  Component failures are the norm.  Files are huge by traditional standards. ! POSIX-like Cloud background Google File System! Warehouse scale systems " 10K-100K nodes " 50MW (1 MW = 1,000 houses) " Power efficient! Located near cheap power! Passive cooling! Power Usage Effectiveness = Total

More information

Conceptual Modeling on Tencent s Distributed Database Systems. Pan Anqun, Wang Xiaoyu, Li Haixiang Tencent Inc.

Conceptual Modeling on Tencent s Distributed Database Systems. Pan Anqun, Wang Xiaoyu, Li Haixiang Tencent Inc. Conceptual Modeling on Tencent s Distributed Database Systems Pan Anqun, Wang Xiaoyu, Li Haixiang Tencent Inc. Outline Introduction System overview of TDSQL Conceptual Modeling on TDSQL Applications Conclusion

More information

Datacenter replication solution with quasardb

Datacenter replication solution with quasardb Datacenter replication solution with quasardb Technical positioning paper April 2017 Release v1.3 www.quasardb.net Contact: sales@quasardb.net Quasardb A datacenter survival guide quasardb INTRODUCTION

More information

MySQL at Scale at Square

MySQL at Scale at Square MySQL at Scale at Square Bill Karwin, Square Inc. October, 2018 1 Square An honest financial network for everyone Global: USA, Canada, UK, Japan, Australia Payment transaction data stored in MySQL We are

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

Preventing and Resolving MySQL Downtime. Jervin Real, Michael Coburn Percona

Preventing and Resolving MySQL Downtime. Jervin Real, Michael Coburn Percona Preventing and Resolving MySQL Downtime Jervin Real, Michael Coburn Percona About Us Jervin Real, Technical Services Manager Engineer Engineering Engineers APAC Michael Coburn, Principal Technical Account

More information

HIGH PERFORMANCE SANLESS CLUSTERING THE POWER OF FUSION-IO THE PROTECTION OF SIOS

HIGH PERFORMANCE SANLESS CLUSTERING THE POWER OF FUSION-IO THE PROTECTION OF SIOS HIGH PERFORMANCE SANLESS CLUSTERING THE POWER OF FUSION-IO THE PROTECTION OF SIOS Proven Companies and Products Fusion-io Leader in PCIe enterprise flash platforms Accelerates mission-critical applications

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

Percona XtraDB Cluster ProxySQL. For your high availability and clustering needs

Percona XtraDB Cluster ProxySQL. For your high availability and clustering needs Percona XtraDB Cluster-5.7 + ProxySQL For your high availability and clustering needs Ramesh Sivaraman Krunal Bauskar Agenda What is Good HA eco-system? Understanding PXC-5.7 Understanding ProxySQL PXC

More information

What s New in MySQL and MongoDB Ecosystem Year 2017

What s New in MySQL and MongoDB Ecosystem Year 2017 What s New in MySQL and MongoDB Ecosystem Year 2017 Peter Zaitsev CEO Percona University, Ghent June 22 nd, 2017 1 In This Presentation Few Words about Percona Few Words about Percona University Program

More information

MySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona Percona Technical Webinars 9 May 2018

MySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona Percona Technical Webinars 9 May 2018 MySQL Performance Optimization and Troubleshooting with PMM Peter Zaitsev, CEO, Percona Percona Technical Webinars 9 May 2018 Few words about Percona Monitoring and Management (PMM) 100% Free, Open Source

More information

MySQL As A Service. Operationalizing 19 Years of Infrastructure at GoDaddy

MySQL As A Service. Operationalizing 19 Years of Infrastructure at GoDaddy MySQL As A Service Operationalizing 19 Years of Infrastructure at GoDaddy WHOAMI Nathan Northcutt Senior Software Engineer MySQL DevOps ~10 years performance engineering & distributed data services. Email:

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

What s new in Percona Xtradb Cluster 5.6. Jay Janssen Lead Consultant February 5th, 2014

What s new in Percona Xtradb Cluster 5.6. Jay Janssen Lead Consultant February 5th, 2014 What s new in Percona Xtradb Cluster 5.6 Jay Janssen Lead Consultant February 5th, 2014 Overview PXC 5.6 is the aggregation of Percona Server 5.6 Codership MySQL 5.6 patches Galera 3.x Agenda Major new

More information

Advanced Architectures for Oracle Database on Amazon EC2

Advanced Architectures for Oracle Database on Amazon EC2 Advanced Architectures for Oracle Database on Amazon EC2 Abdul Sathar Sait Jinyoung Jung Amazon Web Services November 2014 Last update: April 2016 Contents Abstract 2 Introduction 3 Oracle Database Editions

More information

MySQL in the Cloud Tricks and Tradeoffs

MySQL in the Cloud Tricks and Tradeoffs MySQL in the Cloud Tricks and Tradeoffs Thorsten von Eicken CTO RightScale 1 MySQL & Amazon EC2 @RightScale Operating in Amazon EC2 since fall 2006 Cloud Computing Management System Replicated MySQL product

More information

4 Myths about in-memory databases busted

4 Myths about in-memory databases busted 4 Myths about in-memory databases busted Yiftach Shoolman Co-Founder & CTO @ Redis Labs @yiftachsh, @redislabsinc Background - Redis Created by Salvatore Sanfilippo (@antirez) OSS, in-memory NoSQL k/v

More information

CISC 7610 Lecture 5 Distributed multimedia databases. Topics: Scaling up vs out Replication Partitioning CAP Theorem NoSQL NewSQL

CISC 7610 Lecture 5 Distributed multimedia databases. Topics: Scaling up vs out Replication Partitioning CAP Theorem NoSQL NewSQL CISC 7610 Lecture 5 Distributed multimedia databases Topics: Scaling up vs out Replication Partitioning CAP Theorem NoSQL NewSQL Motivation YouTube receives 400 hours of video per minute That is 200M hours

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

Introduction to Database Services

Introduction to Database Services Introduction to Database Services Shaun Pearce AWS Solutions Architect 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved Today s agenda Why managed database services? A non-relational

More information

MySQL Performance Improvements

MySQL Performance Improvements Taking Advantage of MySQL Performance Improvements Baron Schwartz, Percona Inc. Introduction About Me (Baron Schwartz) Author of High Performance MySQL 2 nd Edition Creator of Maatkit, innotop, and so

More information

MariaDB MaxScale 2.0, basis for a Two-speed IT architecture

MariaDB MaxScale 2.0, basis for a Two-speed IT architecture MariaDB MaxScale 2.0, basis for a Two-speed IT architecture Harry Timm, Business Development Manager harry.timm@mariadb.com Telef: +49-176-2177 0497 MariaDB FASTEST GROWING OPEN SOURCE DATABASE * Innovation

More information

High Availability and Disaster Recovery Solutions for Perforce

High Availability and Disaster Recovery Solutions for Perforce High Availability and Disaster Recovery Solutions for Perforce This paper provides strategies for achieving high Perforce server availability and minimizing data loss in the event of a disaster. Perforce

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 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

EBOOK. FROM DISASTER RECOVERY TO ACTIVE-ACTIVE: NuoDB AND MULTI-DATA CENTER DEPLOYMENTS

EBOOK. FROM DISASTER RECOVERY TO ACTIVE-ACTIVE: NuoDB AND MULTI-DATA CENTER DEPLOYMENTS FROM DISASTER RECOVERY TO ACTIVE-ACTIVE: NuoDB AND MULTI-DATA CENTER DEPLOYMENTS INTRODUCTION Traditionally, multi-data center strategies were deployed primarily to address disaster recovery scenarios.

More information

Storage Optimization with Oracle Database 11g

Storage Optimization with Oracle Database 11g Storage Optimization with Oracle Database 11g Terabytes of Data Reduce Storage Costs by Factor of 10x Data Growth Continues to Outpace Budget Growth Rate of Database Growth 1000 800 600 400 200 1998 2000

More information

Document Sub Title. Yotpo. Technical Overview 07/18/ Yotpo

Document Sub Title. Yotpo. Technical Overview 07/18/ Yotpo Document Sub Title Yotpo Technical Overview 07/18/2016 2015 Yotpo Contents Introduction... 3 Yotpo Architecture... 4 Yotpo Back Office (or B2B)... 4 Yotpo On-Site Presence... 4 Technologies... 5 Real-Time

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

PhxSQL: A High-Availability & Strong-Consistency MySQL Cluster. Ming

PhxSQL: A High-Availability & Strong-Consistency MySQL Cluster. Ming PhxSQL: A High-Availability & Strong-Consistency MySQL Cluster Ming CHEN@WeChat Why PhxSQL Highly expected features for MySql cluster Availability and consistency in MySQL cluster Master-slaves 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

Postgres-XC PG session #3. Michael PAQUIER Paris, 2012/02/02

Postgres-XC PG session #3. Michael PAQUIER Paris, 2012/02/02 Postgres-XC PG session #3 Michael PAQUIER Paris, 2012/02/02 Agenda Self-introduction Highlights of Postgres-XC Core architecture overview Performance High-availability Release status 2 Self-introduction

More information

What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering. Copyright 2015, Oracle and/or its affiliates. All rights reserved. What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes

More information

Capacity Planning for Application Design

Capacity Planning for Application Design WHITE PAPER Capacity Planning for Application Design By Mifan Careem Director - Solutions Architecture, WSO2 1. Introduction The ability to determine or forecast the capacity of a system or set of components,

More information

Making Non-Distributed Databases, Distributed. Ioannis Papapanagiotou, PhD Shailesh Birari

Making Non-Distributed Databases, Distributed. Ioannis Papapanagiotou, PhD Shailesh Birari Making Non-Distributed Databases, Distributed Ioannis Papapanagiotou, PhD Shailesh Birari Dynomite Ecosystem Dynomite - Proxy layer Dyno - Client Dynomite-manager - Ecosystem orchestrator Dynomite-explorer

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

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

DATABASE SCALE WITHOUT LIMITS ON AWS

DATABASE SCALE WITHOUT LIMITS ON AWS The move to cloud computing is changing the face of the computer industry, and at the heart of this change is elastic computing. Modern applications now have diverse and demanding requirements that leverage

More information

PolarDB. Cloud Native Alibaba. Lixun Peng Inaam Rana Alibaba Cloud Team

PolarDB. Cloud Native Alibaba. Lixun Peng Inaam Rana Alibaba Cloud Team PolarDB Cloud Native DB @ Alibaba Lixun Peng Inaam Rana Alibaba Cloud Team Agenda Context Architecture Internals HA Context PolarDB is a cloud native DB offering Based on MySQL-5.6 Uses shared storage

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

OS and Hardware Tuning

OS and Hardware Tuning OS and Hardware Tuning Tuning Considerations OS Threads Thread Switching Priorities Virtual Memory DB buffer size File System Disk layout and access Hardware Storage subsystem Configuring the disk array

More information

MySQL HA vs. HA. DOAG Konferenz 2016, Nürnberg. Oli Sennhauser. Senior MySQL Consultant, FromDual GmbH.

MySQL HA vs. HA. DOAG Konferenz 2016, Nürnberg. Oli Sennhauser. Senior MySQL Consultant, FromDual GmbH. MySQL HA vs. HA DOAG Konferenz 2016, Nürnberg Oli Sennhauser Senior MySQL Consultant, FromDual GmbH oli.sennhauser@fromdual.com 1 / 20 Über FromDual GmbH Support Beratung remote-dba Schulung 2 / 20 Contents

More information

Nutanix Tech Note. Virtualizing Microsoft Applications on Web-Scale Infrastructure

Nutanix Tech Note. Virtualizing Microsoft Applications on Web-Scale Infrastructure Nutanix Tech Note Virtualizing Microsoft Applications on Web-Scale Infrastructure The increase in virtualization of critical applications has brought significant attention to compute and storage infrastructure.

More information

Scaling Without Sharding. Baron Schwartz Percona Inc Surge 2010

Scaling Without Sharding. Baron Schwartz Percona Inc Surge 2010 Scaling Without Sharding Baron Schwartz Percona Inc Surge 2010 Web Scale!!!! http://www.xtranormal.com/watch/6995033/ A Sharding Thought Experiment 64 shards per proxy [1] 1 TB of data storage per node

More information

OS and HW Tuning Considerations!

OS and HW Tuning Considerations! Administração e Optimização de Bases de Dados 2012/2013 Hardware and OS Tuning Bruno Martins DEI@Técnico e DMIR@INESC-ID OS and HW Tuning Considerations OS " Threads Thread Switching Priorities " Virtual

More information

EMC RecoverPoint. EMC RecoverPoint Support

EMC RecoverPoint. EMC RecoverPoint Support Support, page 1 Adding an Account, page 2 RecoverPoint Appliance Clusters, page 3 Replication Through Consistency Groups, page 4 Group Sets, page 22 System Tasks, page 24 Support protects storage array

More information

SONAS Best Practices and options for CIFS Scalability

SONAS Best Practices and options for CIFS Scalability COMMON INTERNET FILE SYSTEM (CIFS) FILE SERVING...2 MAXIMUM NUMBER OF ACTIVE CONCURRENT CIFS CONNECTIONS...2 SONAS SYSTEM CONFIGURATION...4 SONAS Best Practices and options for CIFS Scalability A guide

More information

Reasons to Deploy Oracle on EMC Symmetrix VMAX

Reasons to Deploy Oracle on EMC Symmetrix VMAX Enterprises are under growing urgency to optimize the efficiency of their Oracle databases. IT decision-makers and business leaders are constantly pushing the boundaries of their infrastructures and applications

More information

A Guide to Architecting the Active/Active Data Center

A Guide to Architecting the Active/Active Data Center White Paper A Guide to Architecting the Active/Active Data Center 2015 ScaleArc. All Rights Reserved. White Paper The New Imperative: Architecting the Active/Active Data Center Introduction With the average

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

CSE 124: Networked Services Fall 2009 Lecture-19

CSE 124: Networked Services Fall 2009 Lecture-19 CSE 124: Networked Services Fall 2009 Lecture-19 Instructor: B. S. Manoj, Ph.D http://cseweb.ucsd.edu/classes/fa09/cse124 Some of these slides are adapted from various sources/individuals including but

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

Google File System. Arun Sundaram Operating Systems

Google File System. Arun Sundaram Operating Systems Arun Sundaram Operating Systems 1 Assumptions GFS built with commodity hardware GFS stores a modest number of large files A few million files, each typically 100MB or larger (Multi-GB files are common)

More information

The Google File System

The Google File System The Google File System Sanjay Ghemawat, Howard Gobioff, and Shun-Tak Leung SOSP 2003 presented by Kun Suo Outline GFS Background, Concepts and Key words Example of GFS Operations Some optimizations in

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

Building Highly Available and Scalable Real- Time Services with MySQL Cluster

Building Highly Available and Scalable Real- Time Services with MySQL Cluster Building Highly Available and Scalable Real- Time Services with MySQL Cluster MySQL Sales Consulting Director Philip Antoniades April, 3rd, 2012 1 Copyright 2012, Oracle and/or its affiliates. All rights

More information

Percona Software & Services Update

Percona Software & Services Update Percona Software & Services Update Q2 2017 Peter Zaitsev,CEO Percona Technical Webinars May 4, 2017 Why? Talking to Many Users and Customers Getting What have you been up to? Question This is a way to

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 in the Cloud: Creating a Market-Leading DBaaS

MySQL in the Cloud: Creating a Market-Leading DBaaS MySQL in the Cloud: Creating a Market-Leading DBaaS Today s Agenda New Market Opportunities MySQL in the Cloud Today Product Developments Supporting New Cloud Services Questions Safe Harbor Statement The

More information