SlideShare une entreprise Scribd logo
1  sur  60
Télécharger pour lire hors ligne
State of the Art in
                           MySQL HA and Replication

                                            Robert Hodges, CEO
                                  Giuseppe Maxia, Director of QA


   ©Continuent 2012.


Tuesday, November 13, 12                                           1
Introducing Continuent

                   •       The leading provider of clustering and
                           replication for open source DBMS

                   •       Our Product: Continuent Tungsten
                           • Clustering - Commercial-grade HA, performance
                              scaling and data management for MySQL
                           • Replication - Flexible, high-performance data
                              movement




   ©Continuent 2012                               2


Tuesday, November 13, 12                                                     2
Quick Continuent Facts

                   •       Largest Tungsten clustering installation
                           processes about 500M transactions each day

                   •       Tungsten Replicator was application of the
                           year at the 2011 MySQL User Conference

                   •       Continuent is well known in the MySQL
                           community for its clustering and replication

                   •       Over 90 customers currently deployed




   ©Continuent 2012                            3


Tuesday, November 13, 12                                                  3
A Few Continuent Customers




   ©Continuent 2012            4


Tuesday, November 13, 12                    4
Future-Proof HA and
                           Replication for MySQL




   ©Continuent 2012                  5


Tuesday, November 13, 12                           5
What is Future-Proo!ng?

                   •       Future-proo!ng = creating systems that last
                           while parts change and improve

                   •       MySQL is not losing out to other solutions for
                           data management

                   •       The real problem is using MySQL as a building
                           block with other technologies that are
                           changing rapidly




   ©Continuent 2012                            6


Tuesday, November 13, 12                                                    6
But Wait... Isn’t MySQL Dead??

                              MySQL
                           “You were so open”
                                 Born
                              May 25, 1995
                                  Died
                            2008, 2009, 2010,
                             2011, 2012, ...

   ©Continuent 2012                   7


Tuesday, November 13, 12                        7
Oracle/MySQL 5.6 Replication
               (On the Way)

                   •       Global transaction IDs

                   •       Parallel slave threads

                   •       Crash safe slaves

                   •       Optimized row updates

                   •       Time delay replication

                   •       Informational log events




   ©Continuent 2012                             8


Tuesday, November 13, 12                              8
Galera Synchronous Clusters
               (New Arrival in 2012)

                   •       Multi-master for InnoDB

                   •       Synchronous replication avoids data loss

                   •       Automatic cluster membership management

                   •       Simple node provisioning model

                   •       Based on innovative state-machine work from
                           Fernando Pedone




   ©Continuent 2012                            9


Tuesday, November 13, 12                                                 9
Tungsten Async Replication
               (2011 Belle of the Ball)

                   •       All 5.6 features including parallel replication
                           for MySQL 5.0 onwards

                   •       Optimized support for failover

                   •       Programmable transaction !ltering

                   •       Backup/restore integration

                   •       Multi-master, fan-in, and star replication

                   •       Replication to/from Oracle and batch loading
                           of data warehouses

                   •       Replication to MongoDB
   ©Continuent 2012                             10


Tuesday, November 13, 12                                                     10
Not Bad for a Dying Market

                                                            THE$TOTAL$MARKET$FOR$MYSQL,$NOSQL$$
                           My/NewSQL,'                                 AND$NEWSQL$$
                               5%'
        NewSQL,'2%'                                1000"
                                                    900"
        NoSQL,'5%'                                  800"
                                                    700"
                                                    600"   Text
                                                    500"
                                     MySQL,'88%'    400"
                                                    300"
                                                    200"
                                                    100"
                                                      0"
                             (451Group)                      2011"   2012"   2013"   2014"    2015"




   ©Continuent 2012                                         11


Tuesday, November 13, 12                                                                              11
MySQL Is Part of Bigger Trends
                      •    Cloud and Big Data investment dwarf the
                           MySQL marketplace




   ©Continuent 2012                          12


Tuesday, November 13, 12                                             12
21st Century CRM/Call Center

         Fat Client                CRM Web            CRM Web
         Accounting                Application        Application




                                                                                         Call
                                                                                       Session
                                                                                        Data
                           Online
          Legacy
                           Transaction                Hadoop
          Oracle
                           Processing                 Analytics


      On-Premise              Amazon Web Services                    Telephony      Telephony
                                                                    Data Streams   Data Streams




   ©Continuent 2012                              13


Tuesday, November 13, 12                                                                          13
Revolutionary Challenges for MySQL

                   •       Failures in unstable cloud environments

                   •       Zero-downtime maintenance

                   •       Rapidly growing data volumes, esp. in cloud

                   •       Distributing data to geographical regions

                   •       Integration between MySQL, NoSQL,
                           commercial RDBMS

                   •       Supplying real-time analytics

                   •       Technology upgrade/replacement

   ©Continuent 2012                            14


Tuesday, November 13, 12                                                 14
Future-Proofed HA and Replication


                              Data Fabric
                           Encapsulated, fault-tolerant,
                           horizontally scalable, globally
                            accessible, integrated data



   ©Continuent 2012                      15


Tuesday, November 13, 12                                     15
Data Fabric Design Patterns

                   •       Fabric Connector

                   •       Fault-Tolerant Data Service

                   •       Sharded Data Service

                   •       Multi-Site Data Service

                   •       Real-Time Data Bridge




   ©Continuent 2012                            16


Tuesday, November 13, 12                                 16
1. Fabric Connector

                   •       Single point of entry for applications

                   •       Service catalog locates data within fabric

                   •       Transparent connectivity, multiple protocols

                   •       Security, auditing, performance management

                                        Fabric
                                      Connector

                   Application
                    Application
                     Stack
                      Stack

                                        Fabric
                                      Connector



   ©Continuent 2012                               17


Tuesday, November 13, 12                                                  17
2. Fault-Tolerant Data Service

                   •        Encapsulate redundant database copies

                   •        Sync and async clustering models

                   •        Protect against local DBMS failure

                   •        Rolling maintenance of replicas


                           Master/                               Multi-
                            Slave                                Master




   ©Continuent 2012                             18


Tuesday, November 13, 12                                                  18
3. Sharded Data Service

                   •       Partition datasets based on RAM / storage
                           speed / resident set size

                   •       Multiple buckets per server

                   •       Look-up methods for locating data in buckets

                   •       Re-sharding / migration for high growth




   ©Continuent 2012                            19


Tuesday, November 13, 12                                                  19
4. Multi-Site Data Service

                   •       Robust protection against region/site failures

                   •       Geographic distribution of data

                   •       Primary/DR vs. multi-master

                   •       Eventually consistent replication for SQL
                                                             Amazon East
                       EU West




                US East                APAC Tokyo               Rackspace DFW

   ©Continuent 2012                                 20


Tuesday, November 13, 12                                                        20
5. Real-Time Data Bridge

                   •       Replicate from logs in real-time

                   •       Enable apps to get data from one data source

                   •       Heterogeneous transfer and transformation

                   •       High performance, low application impact


                                       Bridge
                                                      Bridge
                                       Bridge




   ©Continuent 2012                             21


Tuesday, November 13, 12                                                  21
Future-Proofed CRM/Call Center Data
         Fat Client                  CRM Web            CRM Web             Telephony      Telephony
         Accounting                  Application        Application        Data Streams   Data Streams




           Fabric                      Fabric             Fabric              Fabric         Fabric
         Connector                   Connector          Connector           Connector      Connector



                           Bridge                                        Bridge                Call
                                                                                             Session
                           Bridge                                        Bridge               Data

   Legacy Oracle                               OLTP
                                              Primary
                                                                         Bridge              Hadoop
                                                                                             Analytics

                                    OLTP DR                 Data Marts


   ©Continuent 2012                                22


Tuesday, November 13, 12                                                                                 22
Future-Proofed CRM/Call Center Data
         Fat Client                  CRM Web            CRM Web             Telephony      Telephony
         Accounting                  Application        Application        Data Streams   Data Streams




           Fabric                      Fabric             Fabric              Fabric         Fabric
         Connector                   Connector          Connector           Connector      Connector



                           Bridge                                        Bridge                Call
                                                                                             Session
                           Bridge                                        Bridge               Data

   Legacy Oracle                               OLTP
                                              Primary
                                                                         Bridge              Hadoop
                                                                                             Analytics

                                    OLTP DR                 Data Marts


   ©Continuent 2012                                23


Tuesday, November 13, 12                                                                                 23
Enabling Data Fabric With Tungsten




   ©Continuent 2012                24


Tuesday, November 13, 12                                24
Tungsten Fault Tolerant Data Service
                                                            GonzoPortal.com
           Tungsten clusters combine o"-
           the-shelf open source DBMS
           servers into data services with:
                                                                    apache
                                                                     /php
           • 24x7 data access
           • Scaling of load on replicas                Connector            Connector


           • Simple management commands
           ...without app changes or data
           migration
                                              Amazon
                                              US West


   ©Continuent 2012                  25


Tuesday, November 13, 12                                                                 25
Doesn’t Replication Do This Already?
                               Application                    Application
                            Libmysqlclient.a                Libmysqlclient.a




                            Db2                  Db1                 Db3



                           Replicator          Replicator          Replicator

                           Slave               Master               Slave
   ©Continuent 2012                                26


Tuesday, November 13, 12                                                        26
Replication Limitations
               Replication alone cannot enable constant access
               to data...

               •       What happens if the master fails?

               •       What happens if a slave is lagging too far
                       behind to be usable?

               •       How do I maintain the DBMS without stopping
                       apps?




   ©Continuent 2012                          27


Tuesday, November 13, 12                                             27
From Replicating to a Data Service
                                         Application                         Application
                                     Tungsten Connector                  Tungsten Connector
            Monitoring and Control




                                                                                              Monitoring and Control
                                      Db2                     Db1                  Db3

                                     Manager                Manager               Manager
                                     Replicator             Replicator           Replicator

                                      Slave                Master                 Slave
                                                       Data Service: sjc
   ©Continuent 2012                                             28


Tuesday, November 13, 12                                                                                               28
Basic Operations

               •       Switch -- Promote a slave node to master
               •       Shun -- Kick node out of cluster
               •       Welcome -- Return node to cluster
               •       Backup -- Run a backup
               •       Restore -- [Re-]provision a node
               •       Recover -- Return a broken node to slave
               •       Heartbeat -- Check cluster liveness



   ©Continuent 2012                          29


Tuesday, November 13, 12                                          29
Automatic Failover

                                 Application
                             Tungsten Connector




   ©Continuent 2012                  30


Tuesday, November 13, 12                          30
Automatic Failover

                                            Application
                                       Tungsten Connector

                                                     2. Halt master connections


                           1. Detect non-
                              responsive
                               master




   ©Continuent 2012                             31


Tuesday, November 13, 12                                                          31
Automatic Failover

                                 Application
                             Tungsten Connector




                                               3. Select most advanced
                                               slave and wait for pending
                                               transactions to apply




   ©Continuent 2012                  32


Tuesday, November 13, 12                                                    32
Automatic Failover

                                 Application
                             Tungsten Connector




                                               4. Promote to master   ,
                                               reconfigure slave(s), and
                                               re-enable connections




   ©Continuent 2012                  33


Tuesday, November 13, 12                                                   33
Automatic Failover

                                 Application
                             Tungsten Connector




                                                  5. Recover failed master




   ©Continuent 2012                  34


Tuesday, November 13, 12                                                     34
Rolling SQL Schema Upgrade

     Slave Upgrade          Slave Upgrade            Switch     Final Upgrade


   • Shun slave 1,         • Repeat for          • Switch       • Upgrade old
    run upgrade,             additional            master to      master.
    and return to            slave(s)              promote an     Cluster
    cluster.                                       upgraded       schema is now
    Discard and                                    slave          fully upgraded
    recover on
    failure




   ©Continuent 2012                         35


Tuesday, November 13, 12                                                           35
Backup, Recovery, and Restore

               •       Backups
                       /cluster > datasource DB1 backup

               •       Recover
                       /cluster > datasource DB2 recover

               •       Restore
                       /cluster > datasource DB2 restore
               • Out-of-box support for mysqldump/
                       XtraBackup; simple integration for others

   ©Continuent 2012                         36


Tuesday, November 13, 12                                           36
Data Fabric Connectivity




   ©Continuent 2012                   37


Tuesday, November 13, 12                              37
Tungsten Connector Basics

                   •       Any MySQL/PostgreSQL client can connect

                   •       Initiates connections using JDBC




                           App      Native
                                   protocol       Connector
                                     COM_QUERY
                                    COM_INIT_DB
                                    COM_DROP_DB




   ©Continuent 2012                                  38


Tuesday, November 13, 12                                             38
Tungsten Connector Basics

                   •       Pass-through operation after connection

                   •       Full transparency & low overhead for clients
                                  Protocol packet
                                       COM_QUERY
                                    select * from t




                       App
                                                      Connector
                                                                  Protocol packet
                                                                           OK
                                                                    ResultSet Rows:1




   ©Continuent 2012                                         39


Tuesday, November 13, 12                                                               39
Simple Read/Write Splitting

                   •       Very fast, easy-to-understand scaling model

                   •       Transactions go to master

                   •       Auto-commit SELECTs go to slaves, if
                           available, but...

                   •       Reads potentially outdated data

                   •       Ephemeral SQL objects won’t be available

                   •       May miss: select update_function()



   ©Continuent 2012                           40


Tuesday, November 13, 12                                                 40
SmartScale Session Load Balancing
                                                                   Master   Transaction
                                                                   DBMS     History Log




                           Connect/Write
                                                       Session x
                   App                                 Session y
                                           Connector
                                                                                       Slave
                                                                                      replay
                                                                                     position

                                                                   Slave
                                                                   DBMS



   ©Continuent 2012                               41


Tuesday, November 13, 12                                                                        41
SmartScale Session Load Balancing
                                                          Master   Transaction
                                                          DBMS     History Log




                           Read
                                              Session x
                   App                        Session y
                                  Connector
                                                                              Slave
                                                                             replay
                                                                            position

                                                          Slave
                                                          DBMS



   ©Continuent 2012                      42


Tuesday, November 13, 12                                                               42
SmartScale Session Load Balancing
                                                          Master   Transaction
                                                          DBMS     History Log




                           Read
                                              Session x
                   App
                                  Connector
                                                                              Slave
                                                                             replay
                                                                            position

                                                          Slave
                                                          DBMS



   ©Continuent 2012                      43


Tuesday, November 13, 12                                                               43
Multi-Site Data Service




   ©Continuent 2012                   44


Tuesday, November 13, 12                             44
Multi-Master Pattern

                   •       Updates on 2+ sites (active-active mode)

                   •       Enables geographic distribution of data

                   •       No failover necessary if network fails or site
                           becomes unavailable

                   •       Not all applications can handle multi-master
                           •   Applications must avoid con!icts

                           •   Careful testing required

                           •   Restoration of broken systems may not be easy



   ©Continuent 2012                                 45


Tuesday, November 13, 12                                                       45
Simple Multi-Master Con!guration

             NYC           Replicator                           Frankfurt
                                                Replicator
                             fra (slave)         fra (master)

                            nyc (master)          nyc (slave)




                                Database-to-Database




   ©Continuent 2012                        46


Tuesday, November 13, 12                                                    46
Clustered Multi-Master Con!guration

                           NYC                           Frankfurt



                             master                    master
                                      fra        nyc




                             slave    fra        nyc   slave




   ©Continuent 2012                         47


Tuesday, November 13, 12                                             47
Clustered Multi-Master Con!guration

                           NYC                              Frankfurt



                             slave                        master
                                         fra        nyc




                             master      fra        nyc   slave




                                      NYC Master Offline

   ©Continuent 2012                            48


Tuesday, November 13, 12                                                48
Clustered Multi-Master Con!guration

                           NYC                                  Frankfurt



                             master                           master
                                           fra        nyc




                             slave         fra        nyc     slave




                                      NYC Replicator Offline

   ©Continuent 2012                              49


Tuesday, November 13, 12                                                    49
Complex Multi-Master Topologies

                                               All
                                             Masters


           Star
        Replication




   ©Continuent 2012             50


Tuesday, November 13, 12                               50
Primary/DR Pattern

                   •       Updates go to primary site master

                   •       DR site receives updates in real time

                   •       Simple command promotion

                   •       Tungsten connectors can route to primary
                           and DR sites

                   •       No application changes required

                   •       Simplest way to protect against region/site
                           failures


   ©Continuent 2012                            51


Tuesday, November 13, 12                                                 51
Tungsten Composite Data Services
                                      App Server             App Server
                                      + Connector            + Connector




                           San Jose                                        New York




                                                    sj_nyc
                                      Master                  Slave

   ©Continuent 2012                                  52


Tuesday, November 13, 12                                                              52
Real-Time Data Bridge




   ©Continuent 2012                  53


Tuesday, November 13, 12                           53
Problem: Real-Time Order Ful!llment

          Web-Facing Sales                                  Purchase Ordering

                           PHP/                                    Java/
                           Perl                                   JBoss




                                  1-2M transactions daily                  3M
                                                                           Order
                                                                           Items
                                  Real-Time Replication
                      MySQL                                      Oracle

   ©Continuent 2012                                  54


Tuesday, November 13, 12                                                           54
How Does Tungsten Do That?

                  MySQL     Tungsten Master               Tungsten Slave             Oracle
                               Replicator                   Replicator
                             Service oracle               Service oracle

                            MySQLExtractor               Special Filters
                            Special Filters              * Ignore extra tables
                            * Transform enum to string   * Map names to upper case
                                                         * Optimize updates to
                 MySQL                                   remove unchanged columns
                 Binlog

        binlog_format=row




   ©Continuent 2012                             55


Tuesday, November 13, 12                                                                      55
Batch Loading to Data Warehouses



              MySQL                                                             Vertica
              Master                                                             Data
                                               Replicator                      Warehouse
                                           Service batch
                                                                               London


                           Transaction                     Csv    Csv           Csv
                           History Log   THL
                                                           File   File   ...    File



   ©Continuent 2012                                   56


Tuesday, November 13, 12                                                                   56
Possibilities for Analytics...

                                                Complex, near
                                                real-time
    MySQL Master                                reporting


                                                Light-weight,
                                                real-time
                                                operational
                                                status
              OLTP Data
                                                Web-facing mini-
                                                data marts for
                                                SaaS users


   ©Continuent 2012                 57


Tuesday, November 13, 12                                           57
Getting Started




   ©Continuent 2012               58


Tuesday, November 13, 12                     58
How Do I Obtain Tungsten?

               •       Register at Continuent to get downloads for Oracle
                       replication:
                       http://www.continuent.com/downloads/software

               •       Documentation is available on Continuent website

               •       MySQL replication is available from Tungsten
                       Replicator project on code.google.com
                       http://code.google.com/p/tungsten-replicator/




   ©Continuent 2012                                59


Tuesday, November 13, 12                                                    59
560 S. Winchester Blvd., Suite 500   Our Blogs:
   San Jose, CA 95128                   http://scale-out-blog.blogspot.com
   Tel +1 (866) 998-3642                http://datacharmer.org/blog
   Fax +1 (408) 668-1009                http://www.continuent.com/news/blogs
   e-mail: sales@continuent.com



                               Continuent Web Page:
                            http://www.continuent.com

                              Tungsten Replicator 2.0:
                    http://code.google.com/p/tungsten-replicator

   ©Continuent 2012.


Tuesday, November 13, 12                                                       60

Contenu connexe

Tendances

Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningSeveralnines
 
MySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summaryMySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summaryLouis liu
 
MySQL Features & Implementation
MySQL Features & ImplementationMySQL Features & Implementation
MySQL Features & ImplementationOSSCube
 
NoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worldsNoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worldsAndrew Morgan
 
My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012sqlhjalp
 
Mysql cluster introduction
Mysql cluster introductionMysql cluster introduction
Mysql cluster introductionAndrew Morgan
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 Geir Høydalsvik
 
MySQL 5.6 Updates
MySQL 5.6 UpdatesMySQL 5.6 Updates
MySQL 5.6 UpdatesDave Stokes
 
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoServer Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoJUG Genova
 
MySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL ServersMySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL ServersMats Kindahl
 
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011Henrik Ingo
 
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7New awesome features in MySQL 5.7
New awesome features in MySQL 5.7Zhaoyang Wang
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlsqlhjalp
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCRyusuke Kajiyama
 
High-Availability using MySQL Fabric
High-Availability using MySQL FabricHigh-Availability using MySQL Fabric
High-Availability using MySQL FabricMats Kindahl
 
2012 scale replication
2012 scale replication2012 scale replication
2012 scale replicationsqlhjalp
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech UpdatesRyusuke Kajiyama
 

Tendances (20)

MySQL 开发
MySQL 开发MySQL 开发
MySQL 开发
 
MySQL Cluster Basics
MySQL Cluster BasicsMySQL Cluster Basics
MySQL Cluster Basics
 
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning
 
MySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summaryMySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summary
 
MySQL Features & Implementation
MySQL Features & ImplementationMySQL Features & Implementation
MySQL Features & Implementation
 
NoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worldsNoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worlds
 
My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012
 
Mysql cluster introduction
Mysql cluster introductionMysql cluster introduction
Mysql cluster introduction
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
 
MySQL 5.6 Updates
MySQL 5.6 UpdatesMySQL 5.6 Updates
MySQL 5.6 Updates
 
MySQL Cluster
MySQL ClusterMySQL Cluster
MySQL Cluster
 
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoServer Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
 
MySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL ServersMySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL Servers
 
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011
 
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7New awesome features in MySQL 5.7
New awesome features in MySQL 5.7
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
 
High-Availability using MySQL Fabric
High-Availability using MySQL FabricHigh-Availability using MySQL Fabric
High-Availability using MySQL Fabric
 
2012 scale replication
2012 scale replication2012 scale replication
2012 scale replication
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
 

Similaire à State of the art of MySQL replication and clustering

Future Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, ContinuentFuture Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, ContinuentEero Teerikorpi
 
Social Gaming & Gambling Summit - London Chris Anderson
Social Gaming & Gambling Summit - London Chris AndersonSocial Gaming & Gambling Summit - London Chris Anderson
Social Gaming & Gambling Summit - London Chris AndersonMediabistro
 
Flexible heterogenous replication
Flexible heterogenous replicationFlexible heterogenous replication
Flexible heterogenous replicationJeff Mace
 
Solving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenSolving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenGiuseppe Maxia
 
Posscon my sql56
Posscon my sql56Posscon my sql56
Posscon my sql56Dave Stokes
 
My sql 5.6_replwebinar_may12
My sql 5.6_replwebinar_may12My sql 5.6_replwebinar_may12
My sql 5.6_replwebinar_may12Mat Keep
 
Oracle my sql cluster cge
Oracle my sql cluster cgeOracle my sql cluster cge
Oracle my sql cluster cgeseungdon1
 
MySQL high availability power and usability
MySQL high availability power and usabilityMySQL high availability power and usability
MySQL high availability power and usabilityGiuseppe Maxia
 
Sharepoint and SQL Server 2012
Sharepoint and SQL Server 2012Sharepoint and SQL Server 2012
Sharepoint and SQL Server 2012James Tramel
 
My sql 5.5_product_update
My sql 5.5_product_updateMy sql 5.5_product_update
My sql 5.5_product_updatehenriquesidney
 
UKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA'sUKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA'sFromDual GmbH
 
Keith Larson Replication
Keith Larson ReplicationKeith Larson Replication
Keith Larson ReplicationDave Stokes
 
What is new in MySQL? (Lars Thalmann)
What is new in MySQL? (Lars Thalmann)What is new in MySQL? (Lars Thalmann)
What is new in MySQL? (Lars Thalmann)Ontico
 
Netherlands Tech Tour 03 - MySQL Cluster
Netherlands Tech Tour 03 -   MySQL ClusterNetherlands Tech Tour 03 -   MySQL Cluster
Netherlands Tech Tour 03 - MySQL ClusterMark Swarbrick
 
Accelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQLAccelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQLSumeet Bansal
 
Vote NO for MySQL
Vote NO for MySQLVote NO for MySQL
Vote NO for MySQLUlf Wendel
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraJeff Bollinger
 
1 architecture & design
1   architecture & design1   architecture & design
1 architecture & designMark Swarbrick
 

Similaire à State of the art of MySQL replication and clustering (20)

Future Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, ContinuentFuture Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, Continuent
 
My Sql Presentation
My Sql PresentationMy Sql Presentation
My Sql Presentation
 
Social Gaming & Gambling Summit - London Chris Anderson
Social Gaming & Gambling Summit - London Chris AndersonSocial Gaming & Gambling Summit - London Chris Anderson
Social Gaming & Gambling Summit - London Chris Anderson
 
Flexible heterogenous replication
Flexible heterogenous replicationFlexible heterogenous replication
Flexible heterogenous replication
 
Solving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenSolving MySQL replication problems with Tungsten
Solving MySQL replication problems with Tungsten
 
Posscon my sql56
Posscon my sql56Posscon my sql56
Posscon my sql56
 
My sql 5.6_replwebinar_may12
My sql 5.6_replwebinar_may12My sql 5.6_replwebinar_may12
My sql 5.6_replwebinar_may12
 
Oracle my sql cluster cge
Oracle my sql cluster cgeOracle my sql cluster cge
Oracle my sql cluster cge
 
MySQL high availability power and usability
MySQL high availability power and usabilityMySQL high availability power and usability
MySQL high availability power and usability
 
Sharepoint and SQL Server 2012
Sharepoint and SQL Server 2012Sharepoint and SQL Server 2012
Sharepoint and SQL Server 2012
 
My sql 5.5_product_update
My sql 5.5_product_updateMy sql 5.5_product_update
My sql 5.5_product_update
 
UKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA'sUKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA's
 
Keith Larson Replication
Keith Larson ReplicationKeith Larson Replication
Keith Larson Replication
 
What is new in MySQL? (Lars Thalmann)
What is new in MySQL? (Lars Thalmann)What is new in MySQL? (Lars Thalmann)
What is new in MySQL? (Lars Thalmann)
 
MySQL cluster 7.4
MySQL cluster 7.4 MySQL cluster 7.4
MySQL cluster 7.4
 
Netherlands Tech Tour 03 - MySQL Cluster
Netherlands Tech Tour 03 -   MySQL ClusterNetherlands Tech Tour 03 -   MySQL Cluster
Netherlands Tech Tour 03 - MySQL Cluster
 
Accelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQLAccelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQL
 
Vote NO for MySQL
Vote NO for MySQLVote NO for MySQL
Vote NO for MySQL
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with Cassandra
 
1 architecture & design
1   architecture & design1   architecture & design
1 architecture & design
 

Plus de Giuseppe Maxia

MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerMySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerGiuseppe Maxia
 
Dbdeployer, the universal installer
Dbdeployer, the universal installerDbdeployer, the universal installer
Dbdeployer, the universal installerGiuseppe Maxia
 
Test complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerTest complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerGiuseppe Maxia
 
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesA quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesGiuseppe Maxia
 
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBSynchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBGiuseppe Maxia
 
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorJuggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorGiuseppe Maxia
 
Tungsten Replicator tutorial
Tungsten Replicator tutorialTungsten Replicator tutorial
Tungsten Replicator tutorialGiuseppe Maxia
 
Preventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenPreventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenGiuseppe Maxia
 
Testing mysql creatively in a sandbox
Testing mysql creatively in a sandboxTesting mysql creatively in a sandbox
Testing mysql creatively in a sandboxGiuseppe Maxia
 
Mysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationMysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationGiuseppe Maxia
 
Lightning talks percona live mysql_2012
Lightning talks percona live mysql_2012Lightning talks percona live mysql_2012
Lightning talks percona live mysql_2012Giuseppe Maxia
 
Testing early mysql releases in a sandbox
Testing early mysql releases in a sandboxTesting early mysql releases in a sandbox
Testing early mysql releases in a sandboxGiuseppe Maxia
 

Plus de Giuseppe Maxia (20)

MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerMySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployer
 
Test like a_boss
Test like a_bossTest like a_boss
Test like a_boss
 
Dbdeployer, the universal installer
Dbdeployer, the universal installerDbdeployer, the universal installer
Dbdeployer, the universal installer
 
Test complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerTest complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployer
 
Dbdeployer
DbdeployerDbdeployer
Dbdeployer
 
Dbdeployer
DbdeployerDbdeployer
Dbdeployer
 
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesA quick tour of Mysql 8 roles
A quick tour of Mysql 8 roles
 
MySQL document_store
MySQL document_storeMySQL document_store
MySQL document_store
 
Replication skeptic
Replication skepticReplication skeptic
Replication skeptic
 
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBSynchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDB
 
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorJuggle your data with Tungsten Replicator
Juggle your data with Tungsten Replicator
 
MySQL in your laptop
MySQL in your laptopMySQL in your laptop
MySQL in your laptop
 
Script it
Script itScript it
Script it
 
Tungsten Replicator tutorial
Tungsten Replicator tutorialTungsten Replicator tutorial
Tungsten Replicator tutorial
 
Preventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenPreventing multi master conflicts with tungsten
Preventing multi master conflicts with tungsten
 
Testing mysql creatively in a sandbox
Testing mysql creatively in a sandboxTesting mysql creatively in a sandbox
Testing mysql creatively in a sandbox
 
Mysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationMysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replication
 
Lightning talks percona live mysql_2012
Lightning talks percona live mysql_2012Lightning talks percona live mysql_2012
Lightning talks percona live mysql_2012
 
Replication 101
Replication 101Replication 101
Replication 101
 
Testing early mysql releases in a sandbox
Testing early mysql releases in a sandboxTesting early mysql releases in a sandbox
Testing early mysql releases in a sandbox
 

Dernier

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 

Dernier (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 

State of the art of MySQL replication and clustering

  • 1. State of the Art in MySQL HA and Replication Robert Hodges, CEO Giuseppe Maxia, Director of QA ©Continuent 2012. Tuesday, November 13, 12 1
  • 2. Introducing Continuent • The leading provider of clustering and replication for open source DBMS • Our Product: Continuent Tungsten • Clustering - Commercial-grade HA, performance scaling and data management for MySQL • Replication - Flexible, high-performance data movement ©Continuent 2012 2 Tuesday, November 13, 12 2
  • 3. Quick Continuent Facts • Largest Tungsten clustering installation processes about 500M transactions each day • Tungsten Replicator was application of the year at the 2011 MySQL User Conference • Continuent is well known in the MySQL community for its clustering and replication • Over 90 customers currently deployed ©Continuent 2012 3 Tuesday, November 13, 12 3
  • 4. A Few Continuent Customers ©Continuent 2012 4 Tuesday, November 13, 12 4
  • 5. Future-Proof HA and Replication for MySQL ©Continuent 2012 5 Tuesday, November 13, 12 5
  • 6. What is Future-Proo!ng? • Future-proo!ng = creating systems that last while parts change and improve • MySQL is not losing out to other solutions for data management • The real problem is using MySQL as a building block with other technologies that are changing rapidly ©Continuent 2012 6 Tuesday, November 13, 12 6
  • 7. But Wait... Isn’t MySQL Dead?? MySQL “You were so open” Born May 25, 1995 Died 2008, 2009, 2010, 2011, 2012, ... ©Continuent 2012 7 Tuesday, November 13, 12 7
  • 8. Oracle/MySQL 5.6 Replication (On the Way) • Global transaction IDs • Parallel slave threads • Crash safe slaves • Optimized row updates • Time delay replication • Informational log events ©Continuent 2012 8 Tuesday, November 13, 12 8
  • 9. Galera Synchronous Clusters (New Arrival in 2012) • Multi-master for InnoDB • Synchronous replication avoids data loss • Automatic cluster membership management • Simple node provisioning model • Based on innovative state-machine work from Fernando Pedone ©Continuent 2012 9 Tuesday, November 13, 12 9
  • 10. Tungsten Async Replication (2011 Belle of the Ball) • All 5.6 features including parallel replication for MySQL 5.0 onwards • Optimized support for failover • Programmable transaction !ltering • Backup/restore integration • Multi-master, fan-in, and star replication • Replication to/from Oracle and batch loading of data warehouses • Replication to MongoDB ©Continuent 2012 10 Tuesday, November 13, 12 10
  • 11. Not Bad for a Dying Market THE$TOTAL$MARKET$FOR$MYSQL,$NOSQL$$ My/NewSQL,' AND$NEWSQL$$ 5%' NewSQL,'2%' 1000" 900" NoSQL,'5%' 800" 700" 600" Text 500" MySQL,'88%' 400" 300" 200" 100" 0" (451Group) 2011" 2012" 2013" 2014" 2015" ©Continuent 2012 11 Tuesday, November 13, 12 11
  • 12. MySQL Is Part of Bigger Trends • Cloud and Big Data investment dwarf the MySQL marketplace ©Continuent 2012 12 Tuesday, November 13, 12 12
  • 13. 21st Century CRM/Call Center Fat Client CRM Web CRM Web Accounting Application Application Call Session Data Online Legacy Transaction Hadoop Oracle Processing Analytics On-Premise Amazon Web Services Telephony Telephony Data Streams Data Streams ©Continuent 2012 13 Tuesday, November 13, 12 13
  • 14. Revolutionary Challenges for MySQL • Failures in unstable cloud environments • Zero-downtime maintenance • Rapidly growing data volumes, esp. in cloud • Distributing data to geographical regions • Integration between MySQL, NoSQL, commercial RDBMS • Supplying real-time analytics • Technology upgrade/replacement ©Continuent 2012 14 Tuesday, November 13, 12 14
  • 15. Future-Proofed HA and Replication Data Fabric Encapsulated, fault-tolerant, horizontally scalable, globally accessible, integrated data ©Continuent 2012 15 Tuesday, November 13, 12 15
  • 16. Data Fabric Design Patterns • Fabric Connector • Fault-Tolerant Data Service • Sharded Data Service • Multi-Site Data Service • Real-Time Data Bridge ©Continuent 2012 16 Tuesday, November 13, 12 16
  • 17. 1. Fabric Connector • Single point of entry for applications • Service catalog locates data within fabric • Transparent connectivity, multiple protocols • Security, auditing, performance management Fabric Connector Application Application Stack Stack Fabric Connector ©Continuent 2012 17 Tuesday, November 13, 12 17
  • 18. 2. Fault-Tolerant Data Service • Encapsulate redundant database copies • Sync and async clustering models • Protect against local DBMS failure • Rolling maintenance of replicas Master/ Multi- Slave Master ©Continuent 2012 18 Tuesday, November 13, 12 18
  • 19. 3. Sharded Data Service • Partition datasets based on RAM / storage speed / resident set size • Multiple buckets per server • Look-up methods for locating data in buckets • Re-sharding / migration for high growth ©Continuent 2012 19 Tuesday, November 13, 12 19
  • 20. 4. Multi-Site Data Service • Robust protection against region/site failures • Geographic distribution of data • Primary/DR vs. multi-master • Eventually consistent replication for SQL Amazon East EU West US East APAC Tokyo Rackspace DFW ©Continuent 2012 20 Tuesday, November 13, 12 20
  • 21. 5. Real-Time Data Bridge • Replicate from logs in real-time • Enable apps to get data from one data source • Heterogeneous transfer and transformation • High performance, low application impact Bridge Bridge Bridge ©Continuent 2012 21 Tuesday, November 13, 12 21
  • 22. Future-Proofed CRM/Call Center Data Fat Client CRM Web CRM Web Telephony Telephony Accounting Application Application Data Streams Data Streams Fabric Fabric Fabric Fabric Fabric Connector Connector Connector Connector Connector Bridge Bridge Call Session Bridge Bridge Data Legacy Oracle OLTP Primary Bridge Hadoop Analytics OLTP DR Data Marts ©Continuent 2012 22 Tuesday, November 13, 12 22
  • 23. Future-Proofed CRM/Call Center Data Fat Client CRM Web CRM Web Telephony Telephony Accounting Application Application Data Streams Data Streams Fabric Fabric Fabric Fabric Fabric Connector Connector Connector Connector Connector Bridge Bridge Call Session Bridge Bridge Data Legacy Oracle OLTP Primary Bridge Hadoop Analytics OLTP DR Data Marts ©Continuent 2012 23 Tuesday, November 13, 12 23
  • 24. Enabling Data Fabric With Tungsten ©Continuent 2012 24 Tuesday, November 13, 12 24
  • 25. Tungsten Fault Tolerant Data Service GonzoPortal.com Tungsten clusters combine o"- the-shelf open source DBMS servers into data services with: apache /php • 24x7 data access • Scaling of load on replicas Connector Connector • Simple management commands ...without app changes or data migration Amazon US West ©Continuent 2012 25 Tuesday, November 13, 12 25
  • 26. Doesn’t Replication Do This Already? Application Application Libmysqlclient.a Libmysqlclient.a Db2 Db1 Db3 Replicator Replicator Replicator Slave Master Slave ©Continuent 2012 26 Tuesday, November 13, 12 26
  • 27. Replication Limitations Replication alone cannot enable constant access to data... • What happens if the master fails? • What happens if a slave is lagging too far behind to be usable? • How do I maintain the DBMS without stopping apps? ©Continuent 2012 27 Tuesday, November 13, 12 27
  • 28. From Replicating to a Data Service Application Application Tungsten Connector Tungsten Connector Monitoring and Control Monitoring and Control Db2 Db1 Db3 Manager Manager Manager Replicator Replicator Replicator Slave Master Slave Data Service: sjc ©Continuent 2012 28 Tuesday, November 13, 12 28
  • 29. Basic Operations • Switch -- Promote a slave node to master • Shun -- Kick node out of cluster • Welcome -- Return node to cluster • Backup -- Run a backup • Restore -- [Re-]provision a node • Recover -- Return a broken node to slave • Heartbeat -- Check cluster liveness ©Continuent 2012 29 Tuesday, November 13, 12 29
  • 30. Automatic Failover Application Tungsten Connector ©Continuent 2012 30 Tuesday, November 13, 12 30
  • 31. Automatic Failover Application Tungsten Connector 2. Halt master connections 1. Detect non- responsive master ©Continuent 2012 31 Tuesday, November 13, 12 31
  • 32. Automatic Failover Application Tungsten Connector 3. Select most advanced slave and wait for pending transactions to apply ©Continuent 2012 32 Tuesday, November 13, 12 32
  • 33. Automatic Failover Application Tungsten Connector 4. Promote to master , reconfigure slave(s), and re-enable connections ©Continuent 2012 33 Tuesday, November 13, 12 33
  • 34. Automatic Failover Application Tungsten Connector 5. Recover failed master ©Continuent 2012 34 Tuesday, November 13, 12 34
  • 35. Rolling SQL Schema Upgrade Slave Upgrade Slave Upgrade Switch Final Upgrade • Shun slave 1, • Repeat for • Switch • Upgrade old run upgrade, additional master to master. and return to slave(s) promote an Cluster cluster. upgraded schema is now Discard and slave fully upgraded recover on failure ©Continuent 2012 35 Tuesday, November 13, 12 35
  • 36. Backup, Recovery, and Restore • Backups /cluster > datasource DB1 backup • Recover /cluster > datasource DB2 recover • Restore /cluster > datasource DB2 restore • Out-of-box support for mysqldump/ XtraBackup; simple integration for others ©Continuent 2012 36 Tuesday, November 13, 12 36
  • 37. Data Fabric Connectivity ©Continuent 2012 37 Tuesday, November 13, 12 37
  • 38. Tungsten Connector Basics • Any MySQL/PostgreSQL client can connect • Initiates connections using JDBC App Native protocol Connector COM_QUERY COM_INIT_DB COM_DROP_DB ©Continuent 2012 38 Tuesday, November 13, 12 38
  • 39. Tungsten Connector Basics • Pass-through operation after connection • Full transparency & low overhead for clients Protocol packet COM_QUERY select * from t App Connector Protocol packet OK ResultSet Rows:1 ©Continuent 2012 39 Tuesday, November 13, 12 39
  • 40. Simple Read/Write Splitting • Very fast, easy-to-understand scaling model • Transactions go to master • Auto-commit SELECTs go to slaves, if available, but... • Reads potentially outdated data • Ephemeral SQL objects won’t be available • May miss: select update_function() ©Continuent 2012 40 Tuesday, November 13, 12 40
  • 41. SmartScale Session Load Balancing Master Transaction DBMS History Log Connect/Write Session x App Session y Connector Slave replay position Slave DBMS ©Continuent 2012 41 Tuesday, November 13, 12 41
  • 42. SmartScale Session Load Balancing Master Transaction DBMS History Log Read Session x App Session y Connector Slave replay position Slave DBMS ©Continuent 2012 42 Tuesday, November 13, 12 42
  • 43. SmartScale Session Load Balancing Master Transaction DBMS History Log Read Session x App Connector Slave replay position Slave DBMS ©Continuent 2012 43 Tuesday, November 13, 12 43
  • 44. Multi-Site Data Service ©Continuent 2012 44 Tuesday, November 13, 12 44
  • 45. Multi-Master Pattern • Updates on 2+ sites (active-active mode) • Enables geographic distribution of data • No failover necessary if network fails or site becomes unavailable • Not all applications can handle multi-master • Applications must avoid con!icts • Careful testing required • Restoration of broken systems may not be easy ©Continuent 2012 45 Tuesday, November 13, 12 45
  • 46. Simple Multi-Master Con!guration NYC Replicator Frankfurt Replicator fra (slave) fra (master) nyc (master) nyc (slave) Database-to-Database ©Continuent 2012 46 Tuesday, November 13, 12 46
  • 47. Clustered Multi-Master Con!guration NYC Frankfurt master master fra nyc slave fra nyc slave ©Continuent 2012 47 Tuesday, November 13, 12 47
  • 48. Clustered Multi-Master Con!guration NYC Frankfurt slave master fra nyc master fra nyc slave NYC Master Offline ©Continuent 2012 48 Tuesday, November 13, 12 48
  • 49. Clustered Multi-Master Con!guration NYC Frankfurt master master fra nyc slave fra nyc slave NYC Replicator Offline ©Continuent 2012 49 Tuesday, November 13, 12 49
  • 50. Complex Multi-Master Topologies All Masters Star Replication ©Continuent 2012 50 Tuesday, November 13, 12 50
  • 51. Primary/DR Pattern • Updates go to primary site master • DR site receives updates in real time • Simple command promotion • Tungsten connectors can route to primary and DR sites • No application changes required • Simplest way to protect against region/site failures ©Continuent 2012 51 Tuesday, November 13, 12 51
  • 52. Tungsten Composite Data Services App Server App Server + Connector + Connector San Jose New York sj_nyc Master Slave ©Continuent 2012 52 Tuesday, November 13, 12 52
  • 53. Real-Time Data Bridge ©Continuent 2012 53 Tuesday, November 13, 12 53
  • 54. Problem: Real-Time Order Ful!llment Web-Facing Sales Purchase Ordering PHP/ Java/ Perl JBoss 1-2M transactions daily 3M Order Items Real-Time Replication MySQL Oracle ©Continuent 2012 54 Tuesday, November 13, 12 54
  • 55. How Does Tungsten Do That? MySQL Tungsten Master Tungsten Slave Oracle Replicator Replicator Service oracle Service oracle MySQLExtractor Special Filters Special Filters * Ignore extra tables * Transform enum to string * Map names to upper case * Optimize updates to MySQL remove unchanged columns Binlog binlog_format=row ©Continuent 2012 55 Tuesday, November 13, 12 55
  • 56. Batch Loading to Data Warehouses MySQL Vertica Master Data Replicator Warehouse Service batch London Transaction Csv Csv Csv History Log THL File File ... File ©Continuent 2012 56 Tuesday, November 13, 12 56
  • 57. Possibilities for Analytics... Complex, near real-time MySQL Master reporting Light-weight, real-time operational status OLTP Data Web-facing mini- data marts for SaaS users ©Continuent 2012 57 Tuesday, November 13, 12 57
  • 58. Getting Started ©Continuent 2012 58 Tuesday, November 13, 12 58
  • 59. How Do I Obtain Tungsten? • Register at Continuent to get downloads for Oracle replication: http://www.continuent.com/downloads/software • Documentation is available on Continuent website • MySQL replication is available from Tungsten Replicator project on code.google.com http://code.google.com/p/tungsten-replicator/ ©Continuent 2012 59 Tuesday, November 13, 12 59
  • 60. 560 S. Winchester Blvd., Suite 500 Our Blogs: San Jose, CA 95128 http://scale-out-blog.blogspot.com Tel +1 (866) 998-3642 http://datacharmer.org/blog Fax +1 (408) 668-1009 http://www.continuent.com/news/blogs e-mail: sales@continuent.com Continuent Web Page: http://www.continuent.com Tungsten Replicator 2.0: http://code.google.com/p/tungsten-replicator ©Continuent 2012. Tuesday, November 13, 12 60