SlideShare una empresa de Scribd logo
1 de 51
Descargar para leer sin conexión
Tungsten University: 
                      Set Up and Manage
          Advanced Replication Topologies
                                Robert Hodges, CEO
                      Giuseppe Maxia, Director of QA


©Continuent 2013
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 2013                          2
A Review of Tungsten Replicator




©Continuent 2013                  3
Tungsten Replicator Overview
                                          Master
                                          Replicator           THL
                    Download
                   transactions
                   via network                         (Transactions + Metadata)


          DBMS
          Logs
                                  Slave   Replicator           THL

                         Apply using JDBC              (Transactions + Metadata)




©Continuent 2013                               4
Master Replication Service
                                      Pipeline
                          Stage                        Stage
                   Extract Filter   Apply    Extract Filter    Apply




                                                                                       Slave
                      Binlog
                                                                            tcp/ip   Replicators


                                       In-Memory              Transaction
    MySQL                                                     History Log
                                         Queue
    Master




©Continuent 2013                                   5
Slave Replication Service

                                           Pipeline
                   Stage                    Stage                    Stage
    Extract Filter         Apply    Extract Filter   Apply    Extract Filter   Apply
      tcp/ip




  Master
 Replicator
                             Transaction                In-Memory              Slave
                             History Log                  Queue                DBMS




©Continuent 2013                                6
Overview of Installation Process
               1. Set up hosts
               2. Prepare MySQL replicas
               3. Download software
               4. Install using tungsten-installer & con"gure-
                  service

                           Amazon Setup:
         https://docs.continuent.com/wiki/display/TEDOC/
                       Preparing+EC2+Servers


©Continuent 2013                      7
How tungsten-installer Works for
           Basic Master/Slave Deployment

         Staging copy                     db1
            of files


                                          db2


                   check prereqs
                      copy code           db3
                       configure
©Continuent 2013                   8
From Master/Slave Replication ...
                                                                    db2

                                                  Replicator
           db1
                           Replicator              Service alpha
                            Service alpha

                                                                    db3

                                                  Replicator
                                                   Service alpha
    tungsten-
    installer



                   Install master and slaves on the whole cluster


©Continuent 2013                            9
To Multi-Master
                                                                         db2
       db1          Replicator                  Replicator

                    Service alpha               Service alpha
                    Service bravo              Service bravo




    tungsten-         tungsten-              con!gure-          con!gure-
    installer         installer              service            service


Install master on      install master         install slave      install slave
        db1                on db2            service on db1     service on db2

©Continuent 2013                        10
tungsten-installer master 1
   TUNGSTEN_HOME=/home/tungsten/installs/cookbook

   ./tools/tungsten-installer
      --master-slave
      --master-host=$MASTER1
      --datasource-port=3306
      --datasource-user=tungsten
      --datasource-password=secret
      --datasource-log-directory=/var/lib/mysql
      --service-name=alpha
      --home-directory=$TUNGSTEN_HOME
      --cluster-hosts=$MASTER1
      --start

                      creating service 'alpha'
            Notice: --cluster-hosts has only one host
©Continuent 2013                 11
tungsten-installer master 2
   TUNGSTEN_HOME=/home/tungsten/installs/cookbook

   ./tools/tungsten-installer
      --master-slave
      --master-host=$MASTER2
      --datasource-port=3306
      --datasource-user=tungsten
      --datasource-password=secret
      --datasource-log-directory=/var/lib/mysql
      --service-name=bravo
      --home-directory=$TUNGSTEN_HOME
      --cluster-hosts=$MASTER2
      --start

                      creating service 'bravo'
            Notice: --cluster-hosts has only one host
©Continuent 2013                 12
Con"gure Service master 1
   TUNGSTEN_HOME=/home/tungsten/installs/cookbook

   $TUNGSTEN_HOME/tungsten/tools/configure-service -C
      --quiet
      --host=$MASTER1
      --datasource=$MASTER1
      --local-service-name=alpha
      --role=slave
      --service-type=remote
      --release-directory=$TUNGSTEN_HOME/tungsten
      --skip-validation-check=THLStorageCheck
      --master-thl-host=$MASTER2
      --master-thl-port=2112
      --svc-start bravo

           Notice: bravo is the master service in host 2
©Continuent 2013                 13
Con"gure Service master 2
   TUNGSTEN_HOME=/home/tungsten/installs/cookbook

   $TUNGSTEN_HOME/tungsten/tools/configure-service -C
      --quiet
      --host=$MASTER2
      --datasource=$MASTER2
      --local-service-name=bravo
      --role=slave
      --service-type=remote
      --release-directory=$TUNGSTEN_HOME/tungsten
      --skip-validation-check=THLStorageCheck
      --master-thl-host=$MASTER1
      --master-thl-port=2112
      --svc-start alpha

           Notice: alpha is the master service in host 1
©Continuent 2013                 14
Advanced Installation
                     using Cookbooks




©Continuent 2013             15
From Master/Slave Replication ...
                                                            db2

                                             Replicator
           db1
                         Replicator           Service db1
                          Service db1

                                                            db3

                                             Replicator
                                              Service db1




                   ./cooobook/install_master_slave.sh
©Continuent 2013                        16
How Do I Install Fan-In Replication?

           db1
                        Replicator
                          Service db1
                                             Replicator
                                              Service db1

                                              Service db2
           db2
                        Replicator
                         Service db2                        db3




                   ./cooobook/install_fan_in.sh
©Continuent 2013                        17
How Do I Install Multi-Master?

           db1           Replicator

                          Service db1
                          Service db2




           db2

                          Service db1
                          Service db2

                         Replicator

                   ./cooobook/install_all_masters.sh
©Continuent 2013                        18
How Do I Extend Multi-Master?

           db1      Replicator

                     Service db1
                     Service db2
                                        Replicator    db3
                     Service db3
                                        Service db1
                                        Service db2
           db2
                                        Service db3

                     Service db1
                     Service db2
                     Service db3

                   Replicator


©Continuent 2013                   19
How Do I Extend Multi-Master?
                    Replicator          Replicator
         db1
                                                        db3
                   Service db1          Service db1

                   Service db2          Service db2

                   Service db3          Service db3

                   Service db4          Service db4




         db2
                                                          db4
                     Service db1          Service db1
                     Service db2          Service db2
                     Service db3          Service db3
                     Service db4          Service db4
                    Replicator             Replicator
©Continuent 2013                   20
How Do I Install a Star Topology?

           db1
                          Replicator

                          Service db1
                                             Replicator     db3
                          Service db3
                                             Service db1   HUB
                                             Service db2
           db2
                                             Service db3


                          Service db2
                          Service db3

                        Replicator
                   ./cooobook/install_star.sh
©Continuent 2013                        21
How Do I Extend a Star Topology?
                    Replicator
         db1
                    Service db1
                                                       db3
                                        Service db1
                    Service db3
                                        Service db2    HUB
                                        Service db3
                    Replicator
        db2                             Service db4
                    Service db2
                    Service db3


                                                        db4
                                         Service db3
                                         Service db4

                                       Replicator

©Continuent 2013                  22
How Do I Extend a Star Topology?
                     Replicator
         db1
                    Service db1
                                                       db3
                                        Service db1
                    Service db3
                                        Service db2    HUB
                                        Service db3
                    Replicator
        db2                             Service db4
                    Service db2         Service db5
                    Service db3


                     Replicator
                                                        db4
         db5
                    Service db5          Service db3
                    Service db3          Service db4

                                       Replicator

©Continuent 2013                  23
Overview of Tungsten
                         Cookbook



©Continuent 2012.            24
Tungsten Cookbook
     tungsten-replicator-2.0.7-278
       |
       +--/cluster-home
       +--/cookbook
       +--/tools
       +--/tungsten-replicator




©Continuent 2013             25
Tungsten Cookbook
     tungsten-replicator-2.0.7-278
       |
       +--/cookbook
          |
          +--COMMON_NODES.sh
          +--USER_VALUES.sh
          +--NODES_MASTER_SLAVE.sh
          +--show_master_slave.sh
          +--test_master_slave.sh
          +--clear_cluster_master_slave.sh
     ...



©Continuent 2013             26
Tungsten Cookbook
     tungsten-replicator-2.0.7-278
       |
       +--/cookbook
          |
          +--COMMON_NODES.sh
          +--USER_VALUES.sh
          +--NODES_STAR.sh
          +--show_star.sh
          +--test_star.sh
          +--clear_cluster_star.sh
     ...



©Continuent 2013             27
Tungsten Cookbook
     tungsten-replicator-2.0.7-278
       |
       +--/cookbook
          |
          +--COMMON_NODES.sh
          +--USER_VALUES.sh
          +--NODES_ALL_MASTERS.sh
          +--show_all_masters.sh
          +--test_all_masters.sh
          +--clear_cluster_all_masters.sh
     ...



©Continuent 2013             28
Tungsten Cookbook
     tungsten-replicator-2.0.7-278
       |
       +--/cookbook
          |
          +--COMMON_NODES.sh
          +--USER_VALUES.sh
          +--NODES_FAN_IN.sh
          +--show_fan_in.sh
          +--test_fan_in.sh
          +--clear_cluster_fan_in.sh
     ...



©Continuent 2013             29
Tungsten Cookbook
     $ cat COMMON_NODES.sh

     export        NODE1=host1
     export        NODE2=host2
     export        NODE3=host3
     export        NODE4=host4




©Continuent 2013                 30
Tungsten Cookbook
     $ cat USER_VALUES.sh
     # User defined values for the cluster to be
     installed.

     export        TUNGSTEN_BASE=$HOME/installs/cookbook
     export        DATABASE_USER=tungsten
     export        BINLOG_DIRECTORY=/var/lib/mysql
     export        MY_CNF=/etc/my.cnf
     export        DATABASE_PASSWORD=secret
     export        DATABASE_PORT=3306
     export        TUNGSTEN_SERVICE=cookbook
     export        RMI_PORT=10000
     export        THL_PORT=2112
     export        START_OPTION=start
©Continuent 2013                    31
Sample Star Installation


               •   edit cookbook/COMMON_NODES.sh

               •   edit cookbook/USER_VALUES.sh

               •   run cookbook/install_star.sh

               •   and then:

               •   run cookbook/show_star.sh

               •   run cookbook/test_star.sh



©Continuent 2013                       32
CONFLICTS



©Continuent 2013       33
Con#ict Handling Strategies
               •   resolving                                           planned for
                                                                             future
                   •   after the fact

                   •   Needs information that is missing in async replication

               •   avoiding
                   •   requires synchronous replication with 2pc

               •   preventing                                         available now

                   •   setting and enforcing a split sources policy

               •   transforming and resolving                          planned for
                   •   all records are converted to INSERTs                  future

                   •   con"icts are resolved within a given time window

©Continuent 2013                             34
Multi-Master:
            Con#ict Prevention



©Continuent 2012.       35
Tungsten Con#ict Prevention Facts

               •   Sharded by database

               •   De"ned dynamically

               •   Applied on the slave services

               •   methods:
                   • error: make replication fail
                   • drop: drop silently
                   • warn: drop with warning


©Continuent 2013                           36
Tungsten Con#ict Prevention
           Applicability
               •   unknown shards
                   • The schema being updated is not planned
                   • actions: accept, drop, warn, error
               •   unwanted shards
                   • the schema is updated from the wrong master
                   • actions: accept, drop, warn, error
               •   whitelisted shards
                   • can be updated by any master

©Continuent 2013                          37
Con#ict Prevention Directives
--svc-extractor-filters=shardfilter

replicator.filter.shardfilter.unknownShardPolicy=error

replicator.filter.shardfilter.unwantedShardPolicy=error

replicator.filter.shardfilter.enforceHomes=false

replicator.filter.shardfilter.allowWhitelisted=false




©Continuent 2013                38
Con#ict Prevention in a Star Topology

                                            Host1
                                  A         master: alpha
                                       C    database: employees




                              A            Host3
                                           master: charlie (hub)
                              B    C
                                           database: vehicles

Host2
master: bravo
database: buildings   B   C

©Continuent 2013              39
Setting Con#ict Prevention Rules
     trepctl -host host1 -service charlie 
       shard -insert < shards.map

     cat shards.map
     shard_id          master        critical
     personnel         alpha         false
     buildings         bravo         false
     vehicles          charlie       false
     test              whitelisted   false


     # charlie is slave service in host 1


©Continuent 2013             40
Sample Correct Operation (1)
     mysql #1> create table employees.names( ... )


     # all servers receive the table
     # all servers keep working well




©Continuent 2013             41
Sample Correct Operation (2)
     mysql #2> create table buildings.homes( ... )


     # all servers receive the table
     # all servers keep working well




©Continuent 2013             42
Sample Incorrect Operation (1)
     mysql #2> create table employees.nicknames( ... )


     # Only server #2 receives the table
     # slave service in hub gets an error
     # slave service in #1 does not receive anything




©Continuent 2013             43
Sample Incorrect Operation (2)
     #3 $ trepct services | simple_services
     alpha    [slave]
     seqno:           7 - latency:   0.136 - ONLINE

     bravo         [slave]
     seqno:              -1   - latency:        -1.000 - OFFLINE:ERROR

     charlie       [master]
     seqno:              66   - latency:        0.440 - ONLINE




©Continuent 2013                           44
Sample Incorrect Operation (3)
     #3 $ trepct -service bravo status
     NAME                     VALUE
     ----                     -----
     appliedLastEventId     : NONE
     appliedLastSeqno       : -1
     appliedLatency         : -1.0
     (...)
     offlineRequests        : NONE
     pendingError           : Stage task failed: q-to-dbms
     pendingErrorCode       : NONE
     pendingErrorEventId    : mysql-bin.000002:0000000000001241;0
     pendingErrorSeqno      : 7
     pendingExceptionMessage: Rejected event from unknown shard:
     seqno=7 shard ID=employees
     (...)



©Continuent 2013                  45
Fixing the Issue
     mysql #1> drop table if exists employees.nicknames;
     mysql #1> create table if exists employees.nicknames ( ... ) ;

     #3 $ trepct -service bravo online -skip-seqno 7




     # all servers receive the new table




©Continuent 2013                  46
Joining the Community




©Continuent 2013             47
Tungsten Replicator is Open Source

           •       Project home:
                   http://code.google.com/p/tungsten-replicator/

           •       Log bugs, "nd builds, post in replicator discussion
                   group

           •       Documentation:
                   https://docs.continuent.com/wiki/display/TEDOC/
                   Tungsten+Documentation+Home




©Continuent 2013                         48
Wrapping Up




©Continuent 2013        49
Tungsten University Sessions

           •       Zero-Downtime Maintenance And Upgrade
                   - Thursday March 21st
                   - Tuesday March 26th

           •       Geographically Distributed Tungsten Clusters
                   - Thursday April 11th
                   - Tuesday April 16th

           •       Replicate Between MySQL And Oracle
                   - Thursday May 2nd
                   - Tuesday May 7th

           •       Send any feedback to: tu@continuent.com

©Continuent 2013                        50
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.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (14)

ABC of Teradata System Performance Analysis
ABC of Teradata System Performance AnalysisABC of Teradata System Performance Analysis
ABC of Teradata System Performance Analysis
 
Dean Keynote Ladis2009 Google
Dean Keynote Ladis2009 GoogleDean Keynote Ladis2009 Google
Dean Keynote Ladis2009 Google
 
MOW2010: Under the Hood of Oracle Clusterware by Alex Gorbachev, Pythian
MOW2010: Under the Hood of Oracle Clusterware by Alex Gorbachev, PythianMOW2010: Under the Hood of Oracle Clusterware by Alex Gorbachev, Pythian
MOW2010: Under the Hood of Oracle Clusterware by Alex Gorbachev, Pythian
 
Infrastrucutre as sdlc
Infrastrucutre as sdlcInfrastrucutre as sdlc
Infrastrucutre as sdlc
 
Implement Checkpointing for Android (ELCE2012)
Implement Checkpointing for Android (ELCE2012)Implement Checkpointing for Android (ELCE2012)
Implement Checkpointing for Android (ELCE2012)
 
Infrastrucutre as sdlc
Infrastrucutre as sdlcInfrastrucutre as sdlc
Infrastrucutre as sdlc
 
Teradata Co-existing Systems Parallel Efficiency -- Calculation & Reconfigura...
Teradata Co-existing Systems Parallel Efficiency -- Calculation & Reconfigura...Teradata Co-existing Systems Parallel Efficiency -- Calculation & Reconfigura...
Teradata Co-existing Systems Parallel Efficiency -- Calculation & Reconfigura...
 
System events concept presentation
System events concept presentationSystem events concept presentation
System events concept presentation
 
XS Boston 2008 Memory Overcommit
XS Boston 2008 Memory OvercommitXS Boston 2008 Memory Overcommit
XS Boston 2008 Memory Overcommit
 
Implement Checkpointing for Android
Implement Checkpointing for AndroidImplement Checkpointing for Android
Implement Checkpointing for Android
 
XS Boston 2008 ARM
XS Boston 2008 ARMXS Boston 2008 ARM
XS Boston 2008 ARM
 
How LCDS works
How LCDS worksHow LCDS works
How LCDS works
 
XS Boston 2008 Security
XS Boston 2008 SecurityXS Boston 2008 Security
XS Boston 2008 Security
 
MapReduce Using Perl and Gearman
MapReduce Using Perl and GearmanMapReduce Using Perl and Gearman
MapReduce Using Perl and Gearman
 

Destacado

Building simple and complex clusters with tungsten replicator
Building simple and complex clusters with tungsten replicatorBuilding simple and complex clusters with tungsten replicator
Building simple and complex clusters with tungsten replicatorGiuseppe Maxia
 
Continuent Tungsten - Scalable Saa S Data Management
Continuent Tungsten - Scalable Saa S Data ManagementContinuent Tungsten - Scalable Saa S Data Management
Continuent Tungsten - Scalable Saa S Data Managementguest2e11e8
 
Tungsten University: Geographically Distributed Multi-Master MySQL Clusters
Tungsten University: Geographically Distributed Multi-Master MySQL ClustersTungsten University: Geographically Distributed Multi-Master MySQL Clusters
Tungsten University: Geographically Distributed Multi-Master MySQL ClustersContinuent
 
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...Continuent
 
Percona and Continuent present: Multi-Data Center MySQL with Continuent Tungsten
Percona and Continuent present: Multi-Data Center MySQL with Continuent TungstenPercona and Continuent present: Multi-Data Center MySQL with Continuent Tungsten
Percona and Continuent present: Multi-Data Center MySQL with Continuent TungstenContinuent
 
Setup & Operate Tungsten Replicator
Setup & Operate Tungsten ReplicatorSetup & Operate Tungsten Replicator
Setup & Operate Tungsten ReplicatorContinuent
 
Tungsten University: Replicate Between MySQL And Oracle
Tungsten University: Replicate Between MySQL And OracleTungsten University: Replicate Between MySQL And Oracle
Tungsten University: Replicate Between MySQL And OracleContinuent
 
Real-Time Data Loading from MySQL to Hadoop with New Tungsten Replicator 3.0
Real-Time Data Loading from MySQL to Hadoop with New Tungsten Replicator 3.0Real-Time Data Loading from MySQL to Hadoop with New Tungsten Replicator 3.0
Real-Time Data Loading from MySQL to Hadoop with New Tungsten Replicator 3.0Continuent
 
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
 

Destacado (10)

Building simple and complex clusters with tungsten replicator
Building simple and complex clusters with tungsten replicatorBuilding simple and complex clusters with tungsten replicator
Building simple and complex clusters with tungsten replicator
 
Continuent Tungsten - Scalable Saa S Data Management
Continuent Tungsten - Scalable Saa S Data ManagementContinuent Tungsten - Scalable Saa S Data Management
Continuent Tungsten - Scalable Saa S Data Management
 
Tungsten University: Geographically Distributed Multi-Master MySQL Clusters
Tungsten University: Geographically Distributed Multi-Master MySQL ClustersTungsten University: Geographically Distributed Multi-Master MySQL Clusters
Tungsten University: Geographically Distributed Multi-Master MySQL Clusters
 
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...
 
Percona and Continuent present: Multi-Data Center MySQL with Continuent Tungsten
Percona and Continuent present: Multi-Data Center MySQL with Continuent TungstenPercona and Continuent present: Multi-Data Center MySQL with Continuent Tungsten
Percona and Continuent present: Multi-Data Center MySQL with Continuent Tungsten
 
Setup & Operate Tungsten Replicator
Setup & Operate Tungsten ReplicatorSetup & Operate Tungsten Replicator
Setup & Operate Tungsten Replicator
 
Tungsten University: Replicate Between MySQL And Oracle
Tungsten University: Replicate Between MySQL And OracleTungsten University: Replicate Between MySQL And Oracle
Tungsten University: Replicate Between MySQL And Oracle
 
Real-Time Data Loading from MySQL to Hadoop with New Tungsten Replicator 3.0
Real-Time Data Loading from MySQL to Hadoop with New Tungsten Replicator 3.0Real-Time Data Loading from MySQL to Hadoop with New Tungsten Replicator 3.0
Real-Time Data Loading from MySQL to Hadoop with New Tungsten Replicator 3.0
 
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorJuggle your data with Tungsten Replicator
Juggle your data with Tungsten Replicator
 
Tungsten Replicator tutorial
Tungsten Replicator tutorialTungsten Replicator tutorial
Tungsten Replicator tutorial
 

Similar a Tungsten University: Set Up And Manage Advanced Replication Topologies

Tungsten University: Setup and Operate Tungsten Replicators
Tungsten University: Setup and Operate Tungsten ReplicatorsTungsten University: Setup and Operate Tungsten Replicators
Tungsten University: Setup and Operate Tungsten ReplicatorsContinuent
 
Set Up & Operate Tungsten Replicator
Set Up & Operate Tungsten ReplicatorSet Up & Operate Tungsten Replicator
Set Up & Operate Tungsten ReplicatorContinuent
 
Tungsten University: Configure and provision Tungsten clusters
Tungsten University: Configure and provision Tungsten clustersTungsten University: Configure and provision Tungsten clusters
Tungsten University: Configure and provision Tungsten clustersContinuent
 
Database Performance With Proxy Architectures
Database  Performance With  Proxy  ArchitecturesDatabase  Performance With  Proxy  Architectures
Database Performance With Proxy ArchitecturesPerconaPerformance
 
Implementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with TungstenImplementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with TungstenCommand Prompt., Inc
 
Set Up & Operate Open Source Oracle Replication
Set Up & Operate Open Source Oracle ReplicationSet Up & Operate Open Source Oracle Replication
Set Up & Operate Open Source Oracle ReplicationContinuent
 
Tungsten University: Unleashing the Power of Tungsten Connectors
Tungsten University: Unleashing the Power of Tungsten ConnectorsTungsten University: Unleashing the Power of Tungsten Connectors
Tungsten University: Unleashing the Power of Tungsten ConnectorsContinuent
 
Set Up & Operate Tungsten Clusters
Set Up & Operate Tungsten ClustersSet Up & Operate Tungsten Clusters
Set Up & Operate Tungsten ClustersContinuent
 
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to analytics
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to analyticsReplicate from Oracle to Oracle, Oracle to MySQL, and Oracle to analytics
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to analyticsContinuent
 
Living the Easy Life with Rules-Based Autonomic Database Clusters
Living the Easy Life with Rules-Based Autonomic Database ClustersLiving the Easy Life with Rules-Based Autonomic Database Clusters
Living the Easy Life with Rules-Based Autonomic Database ClustersLinas Virbalas
 
Performance evaluation of cloudera impala 0.6 beta with comparison to Hive
Performance evaluation of cloudera impala 0.6 beta with comparison to HivePerformance evaluation of cloudera impala 0.6 beta with comparison to Hive
Performance evaluation of cloudera impala 0.6 beta with comparison to HiveYukinori Suda
 
Tungsten Use Case: How Gittigidiyor (a subsidiary of eBay) Replicates Data In...
Tungsten Use Case: How Gittigidiyor (a subsidiary of eBay) Replicates Data In...Tungsten Use Case: How Gittigidiyor (a subsidiary of eBay) Replicates Data In...
Tungsten Use Case: How Gittigidiyor (a subsidiary of eBay) Replicates Data In...Continuent
 
Tungsten University: Configure & Provision Tungsten Clusters
Tungsten University: Configure & Provision Tungsten ClustersTungsten University: Configure & Provision Tungsten Clusters
Tungsten University: Configure & Provision Tungsten ClustersContinuent
 
DPDK Integration: A Product's Journey - Roger B. Melton
DPDK Integration: A Product's Journey - Roger B. MeltonDPDK Integration: A Product's Journey - Roger B. Melton
DPDK Integration: A Product's Journey - Roger B. Meltonharryvanhaaren
 
PostgreSQL replication
PostgreSQL replicationPostgreSQL replication
PostgreSQL replicationMasao Fujii
 
Large customers want postgresql too !!
Large customers want postgresql too !!Large customers want postgresql too !!
Large customers want postgresql too !!rosensteel
 
Built-in Replication in PostgreSQL
Built-in Replication in PostgreSQLBuilt-in Replication in PostgreSQL
Built-in Replication in PostgreSQLMasao Fujii
 

Similar a Tungsten University: Set Up And Manage Advanced Replication Topologies (20)

Tungsten University: Setup and Operate Tungsten Replicators
Tungsten University: Setup and Operate Tungsten ReplicatorsTungsten University: Setup and Operate Tungsten Replicators
Tungsten University: Setup and Operate Tungsten Replicators
 
Set Up & Operate Tungsten Replicator
Set Up & Operate Tungsten ReplicatorSet Up & Operate Tungsten Replicator
Set Up & Operate Tungsten Replicator
 
Tungsten University: Configure and provision Tungsten clusters
Tungsten University: Configure and provision Tungsten clustersTungsten University: Configure and provision Tungsten clusters
Tungsten University: Configure and provision Tungsten clusters
 
Database Performance With Proxy Architectures
Database  Performance With  Proxy  ArchitecturesDatabase  Performance With  Proxy  Architectures
Database Performance With Proxy Architectures
 
Implementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with TungstenImplementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with Tungsten
 
Set Up & Operate Open Source Oracle Replication
Set Up & Operate Open Source Oracle ReplicationSet Up & Operate Open Source Oracle Replication
Set Up & Operate Open Source Oracle Replication
 
Tungsten University: Unleashing the Power of Tungsten Connectors
Tungsten University: Unleashing the Power of Tungsten ConnectorsTungsten University: Unleashing the Power of Tungsten Connectors
Tungsten University: Unleashing the Power of Tungsten Connectors
 
PostgreSQL replication
PostgreSQL replicationPostgreSQL replication
PostgreSQL replication
 
Set Up & Operate Tungsten Clusters
Set Up & Operate Tungsten ClustersSet Up & Operate Tungsten Clusters
Set Up & Operate Tungsten Clusters
 
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to analytics
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to analyticsReplicate from Oracle to Oracle, Oracle to MySQL, and Oracle to analytics
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to analytics
 
MySQL Replication
MySQL ReplicationMySQL Replication
MySQL Replication
 
Living the Easy Life with Rules-Based Autonomic Database Clusters
Living the Easy Life with Rules-Based Autonomic Database ClustersLiving the Easy Life with Rules-Based Autonomic Database Clusters
Living the Easy Life with Rules-Based Autonomic Database Clusters
 
Performance evaluation of cloudera impala 0.6 beta with comparison to Hive
Performance evaluation of cloudera impala 0.6 beta with comparison to HivePerformance evaluation of cloudera impala 0.6 beta with comparison to Hive
Performance evaluation of cloudera impala 0.6 beta with comparison to Hive
 
Tungsten Use Case: How Gittigidiyor (a subsidiary of eBay) Replicates Data In...
Tungsten Use Case: How Gittigidiyor (a subsidiary of eBay) Replicates Data In...Tungsten Use Case: How Gittigidiyor (a subsidiary of eBay) Replicates Data In...
Tungsten Use Case: How Gittigidiyor (a subsidiary of eBay) Replicates Data In...
 
Tungsten University: Configure & Provision Tungsten Clusters
Tungsten University: Configure & Provision Tungsten ClustersTungsten University: Configure & Provision Tungsten Clusters
Tungsten University: Configure & Provision Tungsten Clusters
 
DPDK Integration: A Product's Journey - Roger B. Melton
DPDK Integration: A Product's Journey - Roger B. MeltonDPDK Integration: A Product's Journey - Roger B. Melton
DPDK Integration: A Product's Journey - Roger B. Melton
 
Tremashark
TremasharkTremashark
Tremashark
 
PostgreSQL replication
PostgreSQL replicationPostgreSQL replication
PostgreSQL replication
 
Large customers want postgresql too !!
Large customers want postgresql too !!Large customers want postgresql too !!
Large customers want postgresql too !!
 
Built-in Replication in PostgreSQL
Built-in Replication in PostgreSQLBuilt-in Replication in PostgreSQL
Built-in Replication in PostgreSQL
 

Más de Continuent

Tungsten Webinar: v6 & v7 Release Recap, and Beyond
Tungsten Webinar: v6 & v7 Release Recap, and BeyondTungsten Webinar: v6 & v7 Release Recap, and Beyond
Tungsten Webinar: v6 & v7 Release Recap, and BeyondContinuent
 
Continuent Tungsten Value Proposition Webinar
Continuent Tungsten Value Proposition WebinarContinuent Tungsten Value Proposition Webinar
Continuent Tungsten Value Proposition WebinarContinuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControlWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControlContinuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB ClusterContinuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQLWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQLContinuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera ClusterContinuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS Aurora
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS AuroraWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS Aurora
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS AuroraContinuent
 
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...Continuent
 
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...Continuent
 
Webinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
Webinar Slides: Intelligent Database Proxies: Routing & Transparent FailoverWebinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
Webinar Slides: Intelligent Database Proxies: Routing & Transparent FailoverContinuent
 
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...Continuent
 
Training Slides: 205 - Installing and Configuring Tungsten Dashboard
Training Slides: 205 - Installing and Configuring Tungsten DashboardTraining Slides: 205 - Installing and Configuring Tungsten Dashboard
Training Slides: 205 - Installing and Configuring Tungsten DashboardContinuent
 
Training Slides: 352 - Tungsten Replicator for MongoDB & Kafka
Training Slides: 352 - Tungsten Replicator for MongoDB & KafkaTraining Slides: 352 - Tungsten Replicator for MongoDB & Kafka
Training Slides: 352 - Tungsten Replicator for MongoDB & KafkaContinuent
 
Training Slides: 351 - Tungsten Replicator for Data Warehouses
Training Slides: 351 - Tungsten Replicator for Data WarehousesTraining Slides: 351 - Tungsten Replicator for Data Warehouses
Training Slides: 351 - Tungsten Replicator for Data WarehousesContinuent
 
Training Slides: 303 - Replicating out of a Cluster
Training Slides: 303 - Replicating out of a ClusterTraining Slides: 303 - Replicating out of a Cluster
Training Slides: 303 - Replicating out of a ClusterContinuent
 
Training Slides: 206 - Using the Tungsten Cluster AMI
Training Slides: 206 - Using the Tungsten Cluster AMITraining Slides: 206 - Using the Tungsten Cluster AMI
Training Slides: 206 - Using the Tungsten Cluster AMIContinuent
 
Training Slides: 254 - Using the Tungsten Replicator AMI
Training Slides: 254 - Using the Tungsten Replicator AMITraining Slides: 254 - Using the Tungsten Replicator AMI
Training Slides: 254 - Using the Tungsten Replicator AMIContinuent
 
Training Slides: 253 - Filter like a Pro
Training Slides: 253 - Filter like a ProTraining Slides: 253 - Filter like a Pro
Training Slides: 253 - Filter like a ProContinuent
 
Training Slides: 252 - Monitoring & Troubleshooting
Training Slides: 252 - Monitoring & TroubleshootingTraining Slides: 252 - Monitoring & Troubleshooting
Training Slides: 252 - Monitoring & TroubleshootingContinuent
 
Training Slides: 302 - Securing Your Cluster With SSL
Training Slides: 302 - Securing Your Cluster With SSLTraining Slides: 302 - Securing Your Cluster With SSL
Training Slides: 302 - Securing Your Cluster With SSLContinuent
 

Más de Continuent (20)

Tungsten Webinar: v6 & v7 Release Recap, and Beyond
Tungsten Webinar: v6 & v7 Release Recap, and BeyondTungsten Webinar: v6 & v7 Release Recap, and Beyond
Tungsten Webinar: v6 & v7 Release Recap, and Beyond
 
Continuent Tungsten Value Proposition Webinar
Continuent Tungsten Value Proposition WebinarContinuent Tungsten Value Proposition Webinar
Continuent Tungsten Value Proposition Webinar
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControlWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQLWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS Aurora
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS AuroraWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS Aurora
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS Aurora
 
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...
 
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
 
Webinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
Webinar Slides: Intelligent Database Proxies: Routing & Transparent FailoverWebinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
Webinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
 
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
 
Training Slides: 205 - Installing and Configuring Tungsten Dashboard
Training Slides: 205 - Installing and Configuring Tungsten DashboardTraining Slides: 205 - Installing and Configuring Tungsten Dashboard
Training Slides: 205 - Installing and Configuring Tungsten Dashboard
 
Training Slides: 352 - Tungsten Replicator for MongoDB & Kafka
Training Slides: 352 - Tungsten Replicator for MongoDB & KafkaTraining Slides: 352 - Tungsten Replicator for MongoDB & Kafka
Training Slides: 352 - Tungsten Replicator for MongoDB & Kafka
 
Training Slides: 351 - Tungsten Replicator for Data Warehouses
Training Slides: 351 - Tungsten Replicator for Data WarehousesTraining Slides: 351 - Tungsten Replicator for Data Warehouses
Training Slides: 351 - Tungsten Replicator for Data Warehouses
 
Training Slides: 303 - Replicating out of a Cluster
Training Slides: 303 - Replicating out of a ClusterTraining Slides: 303 - Replicating out of a Cluster
Training Slides: 303 - Replicating out of a Cluster
 
Training Slides: 206 - Using the Tungsten Cluster AMI
Training Slides: 206 - Using the Tungsten Cluster AMITraining Slides: 206 - Using the Tungsten Cluster AMI
Training Slides: 206 - Using the Tungsten Cluster AMI
 
Training Slides: 254 - Using the Tungsten Replicator AMI
Training Slides: 254 - Using the Tungsten Replicator AMITraining Slides: 254 - Using the Tungsten Replicator AMI
Training Slides: 254 - Using the Tungsten Replicator AMI
 
Training Slides: 253 - Filter like a Pro
Training Slides: 253 - Filter like a ProTraining Slides: 253 - Filter like a Pro
Training Slides: 253 - Filter like a Pro
 
Training Slides: 252 - Monitoring & Troubleshooting
Training Slides: 252 - Monitoring & TroubleshootingTraining Slides: 252 - Monitoring & Troubleshooting
Training Slides: 252 - Monitoring & Troubleshooting
 
Training Slides: 302 - Securing Your Cluster With SSL
Training Slides: 302 - Securing Your Cluster With SSLTraining Slides: 302 - Securing Your Cluster With SSL
Training Slides: 302 - Securing Your Cluster With SSL
 

Último

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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Último (20)

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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Tungsten University: Set Up And Manage Advanced Replication Topologies

  • 1. Tungsten University:  Set Up and Manage Advanced Replication Topologies Robert Hodges, CEO Giuseppe Maxia, Director of QA ©Continuent 2013
  • 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 2013 2
  • 3. A Review of Tungsten Replicator ©Continuent 2013 3
  • 4. Tungsten Replicator Overview Master Replicator THL Download transactions via network (Transactions + Metadata) DBMS Logs Slave Replicator THL Apply using JDBC (Transactions + Metadata) ©Continuent 2013 4
  • 5. Master Replication Service Pipeline Stage Stage Extract Filter Apply Extract Filter Apply Slave Binlog tcp/ip Replicators In-Memory Transaction MySQL History Log Queue Master ©Continuent 2013 5
  • 6. Slave Replication Service Pipeline Stage Stage Stage Extract Filter Apply Extract Filter Apply Extract Filter Apply tcp/ip Master Replicator Transaction In-Memory Slave History Log Queue DBMS ©Continuent 2013 6
  • 7. Overview of Installation Process 1. Set up hosts 2. Prepare MySQL replicas 3. Download software 4. Install using tungsten-installer & con"gure- service Amazon Setup: https://docs.continuent.com/wiki/display/TEDOC/ Preparing+EC2+Servers ©Continuent 2013 7
  • 8. How tungsten-installer Works for Basic Master/Slave Deployment Staging copy db1 of files db2 check prereqs copy code db3 configure ©Continuent 2013 8
  • 9. From Master/Slave Replication ... db2 Replicator db1 Replicator Service alpha Service alpha db3 Replicator Service alpha tungsten- installer Install master and slaves on the whole cluster ©Continuent 2013 9
  • 10. To Multi-Master db2 db1 Replicator Replicator Service alpha Service alpha Service bravo Service bravo tungsten- tungsten- con!gure- con!gure- installer installer service service Install master on install master install slave install slave db1 on db2 service on db1 service on db2 ©Continuent 2013 10
  • 11. tungsten-installer master 1 TUNGSTEN_HOME=/home/tungsten/installs/cookbook ./tools/tungsten-installer --master-slave --master-host=$MASTER1 --datasource-port=3306 --datasource-user=tungsten --datasource-password=secret --datasource-log-directory=/var/lib/mysql --service-name=alpha --home-directory=$TUNGSTEN_HOME --cluster-hosts=$MASTER1 --start creating service 'alpha' Notice: --cluster-hosts has only one host ©Continuent 2013 11
  • 12. tungsten-installer master 2 TUNGSTEN_HOME=/home/tungsten/installs/cookbook ./tools/tungsten-installer --master-slave --master-host=$MASTER2 --datasource-port=3306 --datasource-user=tungsten --datasource-password=secret --datasource-log-directory=/var/lib/mysql --service-name=bravo --home-directory=$TUNGSTEN_HOME --cluster-hosts=$MASTER2 --start creating service 'bravo' Notice: --cluster-hosts has only one host ©Continuent 2013 12
  • 13. Con"gure Service master 1 TUNGSTEN_HOME=/home/tungsten/installs/cookbook $TUNGSTEN_HOME/tungsten/tools/configure-service -C --quiet --host=$MASTER1 --datasource=$MASTER1 --local-service-name=alpha --role=slave --service-type=remote --release-directory=$TUNGSTEN_HOME/tungsten --skip-validation-check=THLStorageCheck --master-thl-host=$MASTER2 --master-thl-port=2112 --svc-start bravo Notice: bravo is the master service in host 2 ©Continuent 2013 13
  • 14. Con"gure Service master 2 TUNGSTEN_HOME=/home/tungsten/installs/cookbook $TUNGSTEN_HOME/tungsten/tools/configure-service -C --quiet --host=$MASTER2 --datasource=$MASTER2 --local-service-name=bravo --role=slave --service-type=remote --release-directory=$TUNGSTEN_HOME/tungsten --skip-validation-check=THLStorageCheck --master-thl-host=$MASTER1 --master-thl-port=2112 --svc-start alpha Notice: alpha is the master service in host 1 ©Continuent 2013 14
  • 15. Advanced Installation using Cookbooks ©Continuent 2013 15
  • 16. From Master/Slave Replication ... db2 Replicator db1 Replicator Service db1 Service db1 db3 Replicator Service db1 ./cooobook/install_master_slave.sh ©Continuent 2013 16
  • 17. How Do I Install Fan-In Replication? db1 Replicator Service db1 Replicator Service db1 Service db2 db2 Replicator Service db2 db3 ./cooobook/install_fan_in.sh ©Continuent 2013 17
  • 18. How Do I Install Multi-Master? db1 Replicator Service db1 Service db2 db2 Service db1 Service db2 Replicator ./cooobook/install_all_masters.sh ©Continuent 2013 18
  • 19. How Do I Extend Multi-Master? db1 Replicator Service db1 Service db2 Replicator db3 Service db3 Service db1 Service db2 db2 Service db3 Service db1 Service db2 Service db3 Replicator ©Continuent 2013 19
  • 20. How Do I Extend Multi-Master? Replicator Replicator db1 db3 Service db1 Service db1 Service db2 Service db2 Service db3 Service db3 Service db4 Service db4 db2 db4 Service db1 Service db1 Service db2 Service db2 Service db3 Service db3 Service db4 Service db4 Replicator Replicator ©Continuent 2013 20
  • 21. How Do I Install a Star Topology? db1 Replicator Service db1 Replicator db3 Service db3 Service db1 HUB Service db2 db2 Service db3 Service db2 Service db3 Replicator ./cooobook/install_star.sh ©Continuent 2013 21
  • 22. How Do I Extend a Star Topology? Replicator db1 Service db1 db3 Service db1 Service db3 Service db2 HUB Service db3 Replicator db2 Service db4 Service db2 Service db3 db4 Service db3 Service db4 Replicator ©Continuent 2013 22
  • 23. How Do I Extend a Star Topology? Replicator db1 Service db1 db3 Service db1 Service db3 Service db2 HUB Service db3 Replicator db2 Service db4 Service db2 Service db5 Service db3 Replicator db4 db5 Service db5 Service db3 Service db3 Service db4 Replicator ©Continuent 2013 23
  • 24. Overview of Tungsten Cookbook ©Continuent 2012. 24
  • 25. Tungsten Cookbook tungsten-replicator-2.0.7-278 | +--/cluster-home +--/cookbook +--/tools +--/tungsten-replicator ©Continuent 2013 25
  • 26. Tungsten Cookbook tungsten-replicator-2.0.7-278 | +--/cookbook | +--COMMON_NODES.sh +--USER_VALUES.sh +--NODES_MASTER_SLAVE.sh +--show_master_slave.sh +--test_master_slave.sh +--clear_cluster_master_slave.sh ... ©Continuent 2013 26
  • 27. Tungsten Cookbook tungsten-replicator-2.0.7-278 | +--/cookbook | +--COMMON_NODES.sh +--USER_VALUES.sh +--NODES_STAR.sh +--show_star.sh +--test_star.sh +--clear_cluster_star.sh ... ©Continuent 2013 27
  • 28. Tungsten Cookbook tungsten-replicator-2.0.7-278 | +--/cookbook | +--COMMON_NODES.sh +--USER_VALUES.sh +--NODES_ALL_MASTERS.sh +--show_all_masters.sh +--test_all_masters.sh +--clear_cluster_all_masters.sh ... ©Continuent 2013 28
  • 29. Tungsten Cookbook tungsten-replicator-2.0.7-278 | +--/cookbook | +--COMMON_NODES.sh +--USER_VALUES.sh +--NODES_FAN_IN.sh +--show_fan_in.sh +--test_fan_in.sh +--clear_cluster_fan_in.sh ... ©Continuent 2013 29
  • 30. Tungsten Cookbook $ cat COMMON_NODES.sh export NODE1=host1 export NODE2=host2 export NODE3=host3 export NODE4=host4 ©Continuent 2013 30
  • 31. Tungsten Cookbook $ cat USER_VALUES.sh # User defined values for the cluster to be installed. export TUNGSTEN_BASE=$HOME/installs/cookbook export DATABASE_USER=tungsten export BINLOG_DIRECTORY=/var/lib/mysql export MY_CNF=/etc/my.cnf export DATABASE_PASSWORD=secret export DATABASE_PORT=3306 export TUNGSTEN_SERVICE=cookbook export RMI_PORT=10000 export THL_PORT=2112 export START_OPTION=start ©Continuent 2013 31
  • 32. Sample Star Installation • edit cookbook/COMMON_NODES.sh • edit cookbook/USER_VALUES.sh • run cookbook/install_star.sh • and then: • run cookbook/show_star.sh • run cookbook/test_star.sh ©Continuent 2013 32
  • 34. Con#ict Handling Strategies • resolving planned for future • after the fact • Needs information that is missing in async replication • avoiding • requires synchronous replication with 2pc • preventing available now • setting and enforcing a split sources policy • transforming and resolving planned for • all records are converted to INSERTs future • con"icts are resolved within a given time window ©Continuent 2013 34
  • 35. Multi-Master: Con#ict Prevention ©Continuent 2012. 35
  • 36. Tungsten Con#ict Prevention Facts • Sharded by database • De"ned dynamically • Applied on the slave services • methods: • error: make replication fail • drop: drop silently • warn: drop with warning ©Continuent 2013 36
  • 37. Tungsten Con#ict Prevention Applicability • unknown shards • The schema being updated is not planned • actions: accept, drop, warn, error • unwanted shards • the schema is updated from the wrong master • actions: accept, drop, warn, error • whitelisted shards • can be updated by any master ©Continuent 2013 37
  • 39. Con#ict Prevention in a Star Topology Host1 A master: alpha C database: employees A Host3 master: charlie (hub) B C database: vehicles Host2 master: bravo database: buildings B C ©Continuent 2013 39
  • 40. Setting Con#ict Prevention Rules trepctl -host host1 -service charlie shard -insert < shards.map cat shards.map shard_id master critical personnel alpha false buildings bravo false vehicles charlie false test whitelisted false # charlie is slave service in host 1 ©Continuent 2013 40
  • 41. Sample Correct Operation (1) mysql #1> create table employees.names( ... ) # all servers receive the table # all servers keep working well ©Continuent 2013 41
  • 42. Sample Correct Operation (2) mysql #2> create table buildings.homes( ... ) # all servers receive the table # all servers keep working well ©Continuent 2013 42
  • 43. Sample Incorrect Operation (1) mysql #2> create table employees.nicknames( ... ) # Only server #2 receives the table # slave service in hub gets an error # slave service in #1 does not receive anything ©Continuent 2013 43
  • 44. Sample Incorrect Operation (2) #3 $ trepct services | simple_services alpha [slave] seqno: 7 - latency: 0.136 - ONLINE bravo [slave] seqno: -1 - latency: -1.000 - OFFLINE:ERROR charlie [master] seqno: 66 - latency: 0.440 - ONLINE ©Continuent 2013 44
  • 45. Sample Incorrect Operation (3) #3 $ trepct -service bravo status NAME VALUE ---- ----- appliedLastEventId : NONE appliedLastSeqno : -1 appliedLatency : -1.0 (...) offlineRequests : NONE pendingError : Stage task failed: q-to-dbms pendingErrorCode : NONE pendingErrorEventId : mysql-bin.000002:0000000000001241;0 pendingErrorSeqno : 7 pendingExceptionMessage: Rejected event from unknown shard: seqno=7 shard ID=employees (...) ©Continuent 2013 45
  • 46. Fixing the Issue mysql #1> drop table if exists employees.nicknames; mysql #1> create table if exists employees.nicknames ( ... ) ; #3 $ trepct -service bravo online -skip-seqno 7 # all servers receive the new table ©Continuent 2013 46
  • 48. Tungsten Replicator is Open Source • Project home: http://code.google.com/p/tungsten-replicator/ • Log bugs, "nd builds, post in replicator discussion group • Documentation: https://docs.continuent.com/wiki/display/TEDOC/ Tungsten+Documentation+Home ©Continuent 2013 48
  • 50. Tungsten University Sessions • Zero-Downtime Maintenance And Upgrade - Thursday March 21st - Tuesday March 26th • Geographically Distributed Tungsten Clusters - Thursday April 11th - Tuesday April 16th • Replicate Between MySQL And Oracle - Thursday May 2nd - Tuesday May 7th • Send any feedback to: tu@continuent.com ©Continuent 2013 50
  • 51. 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.