SlideShare a Scribd company logo
MySQL Native Replication vs Tungsten
1
Topics
In this short course we will:
• Features and limitations of Native MySQL Replication
• Explore Tungsten Replicator
• Review various Replicator Topologies
• Talk about Replication Filtering
• Learn about Tungsten Cluster
2
2
MySQL Native Replication
MySQL Native Replication
4
4
• It’s easy to setup and it’s free
• Embedded within MySQL Engine
• One-to-Many Topology only
• Parallel Threads by Schema
• Stale reads possible on slave
• No easy mechanism to failover
• Manual operation required to switch roles
• Only Basic Include/Exclude filtering available
• Many additional components required to function as a fully fault tolerant cluster
• MySQL to MySQL Only
Tungsten Replicator
Tungsten Replicator
6
6
• Open Source (free!!) and Commercial Builds available
• One-to-Many / Many-to-One Topologies
• Parallel Threads by Schema
• Complex filtering
• Heterogeneous replication
– Extract from MySQL (Incl RDS and Google SQL) or Oracle
– Apply to MySQL (Incl RDS and Google SQL), Oracle, Redshift, Vertica, Hadoop, Mongo, Elasticsearch,
Kafka (and more coming soon)
Tungsten Replicator – How it works
7
7
DBMS
Logs
Download transactions
via network
Apply using JDBC
THL = Events + Metadata
MySQL
MySQL Binary
Logging
Option 1: Local Install
Extractor reads directly
from the logs, even when
the DBMS service is
down. This is the default.
Option 2: Remote
Extractor gets log data
via MySQL Replication
Slave protocols (which
requires the DBMS
service to be online). This
is how we handle RDS
extraction tasks.
Extractor
Options
Master Replicator:
Extractor
THL
2 1
Slave Replicator:
Applier
THL
MySQL
Tungsten Replicator - Topologies
8
8
Tungsten Replicator - Topologies
9
9
Tungsten Replicator – Complex Heterogeneous Topology
10
10
Filtering with Tungsten Replicator
Types of Filters
1212
• Auditing – Can be used for tracking database updates
• Content – Modify contents of transactions, such as enumerating integers or remove columns,
tables, or schemas
• Logging – Log information about transactions in replicator log file
• Optimization – Optimize statements and improve speed of updates on destination
• Transformation – Rename, reformat schemas and tables, even merge schemas into a single
schema
• Validation – Validation and Consistency checking of data
• Miscellaneous – Others
• Over 40 filters included with Tungsten Replicator which can be ordered as desired!
Popular Filters
1313
• DatabaseTransform filter – rename databases or tables, supports regex
• InsertOnly filter – filter to include only “INSERT” events, ignoring others
• ReplicateColumn filter – replicate columns, either by inclusion or by exclusion
• Replicate filter - explicit inclusion or exclusion of schemas and tables to replicate. Can use
wildcards
• SkipEventsByType filter – skip events for entire schemas or tables. For instance, skip all
deletes to SALES.INVOICE
• TimeDelay filter – delays writing events to THL. Allows having a slave that is behind the
master for a specified time period.
• SkipRowByData – replicate rows matching a condition
Tungsten Replicator - Filtering
14
14
Master
replicator
THL
Parallel Queue
(Events+ metadata)
Slave
Extract Filter Apply Extract Filter Apply Extract Filter Apply
Extract Filter Apply
Extract Filter Apply
StageStage Stage
Slave Replicator Pipeline
remote-to-thl thl-to-q q-to-dbms
Tungsten Cluster for HA/DR
Tungsten Cluster
16
16
• Sits outside the MySQL Engine
• Uses Commercial release of Tungsten Replicator at its core
• Connector layer provides transparent read/write splitting
• Automatic Failover
• Simple, single command to switch masters
• Tungsten Replicator can be used to provide cluster-slaves
• Add/Remove nodes to scale reads
• Zero Downtime Maintenance
• Works with all “flavours” of MySQL (Community, Oracle, Percona and Maria)
• Multi-Master and Composite Topologies for expanding HA/DR capabilities
Tungsten Cluster Architecture
1717
Tungsten Multi-Site/Multi-Master Cluster Architecture
18
18
Tungsten Cluster using Tungsten Replicator to Apply to a Cluster Slave
19
19
Next Steps
• If you are interested in knowing more and would like to try it out for yourself, please contact our
sales team who will be able to take you through the details and setup a POC –
sales@continuent.com
• Read the documentation at http://docs.continuent.com/
• Follow us on Social Media
– Facebook / Twitter / LinkedIn
– Tungsten University YouTube channel! http://tinyurl.com/TungstenUni
• Visit the events calendar on our website for upcoming Webinars and Training Sessions
https://www.continuent.com/events/
20
20
For more information, contact us:
MC Brown
VP Products
mc.brown@continuent.com
Chris Parker
Director, Professional Services EMEA & APAC
chris.parker@continuent.com
Matthew Lang
Director, Professional Services Americas
matthew.lang@continuent.com
Eero Teerikorpi
Founder, CEO
eero.teerikorpi@continuent.com
+1 (408) 431-3305
Eric Stone
COO
eric.stone@continuent.com

More Related Content

PDF
What's New In PostgreSQL 9.4
PDF
Training Slides: Basics 103: The Power of Tungsten Connector / Proxy
PDF
What’s New In PostgreSQL 9.3
PDF
Making MySQL Administration a Breeze - A look into a MySQL DBA's toolchest
PDF
Streaming Replication (Keynote @ PostgreSQL Conference 2009 Japan)
PDF
Oracle to PostgreSQL migration
PPTX
Linq To XML Overview
PDF
Chicago Kafka Meetup
What's New In PostgreSQL 9.4
Training Slides: Basics 103: The Power of Tungsten Connector / Proxy
What’s New In PostgreSQL 9.3
Making MySQL Administration a Breeze - A look into a MySQL DBA's toolchest
Streaming Replication (Keynote @ PostgreSQL Conference 2009 Japan)
Oracle to PostgreSQL migration
Linq To XML Overview
Chicago Kafka Meetup

What's hot (20)

PPTX
How Incremental Compaction Reduces Your Storage Footprint
PPTX
One Tool to Rule Them All- Seamless SQL on MongoDB, MySQL and Redis with Apac...
PDF
What's new in MySQL 5.5? FOSDEM 2011
PDF
Demystifying postgres logical replication percona live sc
PPTX
Percona FT / TokuDB
PDF
Zero Downtime Schema Changes - Galera Cluster - Best Practices
PPTX
Db spof(mssql, my sql)
PPTX
Monitoring MongoDB’s Engines in the Wild
PPTX
OSGifying the repository
PPTX
Apache Pulsar First Overview
PDF
M|18 PolarDB: Extending Shared-storage to MyRocks
PPTX
User Camp High Availability Presentation
PPTX
M|18 Creating a Reference Architecture for High Availability at Nokia
PPTX
Eventually, Scylla Chooses Consistency
PDF
Case Studies on PostgreSQL
PPTX
Creating a Benchmarking Infrastructure That Just Works
PPTX
Introduction to TokuDB v7.5 and Read Free Replication
PDF
M|18 Under the Hood: Galera Cluster
PPTX
How to instantiate pinta in a domain
PDF
Percona XtraDB Cluster ( Ensure high Availability )
How Incremental Compaction Reduces Your Storage Footprint
One Tool to Rule Them All- Seamless SQL on MongoDB, MySQL and Redis with Apac...
What's new in MySQL 5.5? FOSDEM 2011
Demystifying postgres logical replication percona live sc
Percona FT / TokuDB
Zero Downtime Schema Changes - Galera Cluster - Best Practices
Db spof(mssql, my sql)
Monitoring MongoDB’s Engines in the Wild
OSGifying the repository
Apache Pulsar First Overview
M|18 PolarDB: Extending Shared-storage to MyRocks
User Camp High Availability Presentation
M|18 Creating a Reference Architecture for High Availability at Nokia
Eventually, Scylla Chooses Consistency
Case Studies on PostgreSQL
Creating a Benchmarking Infrastructure That Just Works
Introduction to TokuDB v7.5 and Read Free Replication
M|18 Under the Hood: Galera Cluster
How to instantiate pinta in a domain
Percona XtraDB Cluster ( Ensure high Availability )
Ad

Similar to Webinar Slides: MySQL Native Replication vs. Tungsten Clustering (20)

PDF
Training Slides: 151 - Tungsten Replicator - Moving your Data
PDF
Training Slides: Basics 102: Introduction to Tungsten Clustering
PPTX
Maria DB Galera Cluster for High Availability
PPTX
MariaDB Galera Cluster
PDF
Training Slides: Basics 101: Introduction to Tungsten Replicator
PDF
3450 - Writing and optimising applications for performance in a hybrid messag...
PDF
Training Slides: 101 - Basics: Tungsten Clustering - Under The Hood
PDF
Training Slides: Basics 107: Simple Tungsten Replicator Installation to Extra...
PDF
MySQL 5.7 what's new
PDF
Training Slides: Intermediate 202: Performing Cluster Maintenance with Zero-D...
PDF
Collaborate 2012 - Administering MySQL for Oracle DBAs
PDF
Motivation for multithreaded architectures
PDF
Using MySQL in Automated Testing
PPTX
Benchmarking Solr Performance at Scale
PDF
Performance Tuning RocksDB for Kafka Streams' State Stores (Dhruba Borthakur,...
PPTX
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
PDF
Migrate.pdf
PDF
Performance Tuning RocksDB for Kafka Streams’ State Stores
PDF
Training Slides: 253 - Filter like a Pro
PDF
MySQL 5.7: What's New, Nov. 2015
Training Slides: 151 - Tungsten Replicator - Moving your Data
Training Slides: Basics 102: Introduction to Tungsten Clustering
Maria DB Galera Cluster for High Availability
MariaDB Galera Cluster
Training Slides: Basics 101: Introduction to Tungsten Replicator
3450 - Writing and optimising applications for performance in a hybrid messag...
Training Slides: 101 - Basics: Tungsten Clustering - Under The Hood
Training Slides: Basics 107: Simple Tungsten Replicator Installation to Extra...
MySQL 5.7 what's new
Training Slides: Intermediate 202: Performing Cluster Maintenance with Zero-D...
Collaborate 2012 - Administering MySQL for Oracle DBAs
Motivation for multithreaded architectures
Using MySQL in Automated Testing
Benchmarking Solr Performance at Scale
Performance Tuning RocksDB for Kafka Streams' State Stores (Dhruba Borthakur,...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Migrate.pdf
Performance Tuning RocksDB for Kafka Streams’ State Stores
Training Slides: 253 - Filter like a Pro
MySQL 5.7: What's New, Nov. 2015
Ad

More from Continuent (20)

PDF
Tungsten Webinar: v6 & v7 Release Recap, and Beyond
PDF
Continuent Tungsten Value Proposition Webinar
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS Aurora
PDF
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...
PDF
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
PDF
Webinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
PPTX
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
PDF
Training Slides: 205 - Installing and Configuring Tungsten Dashboard
PDF
Training Slides: 352 - Tungsten Replicator for MongoDB & Kafka
PDF
Training Slides: 351 - Tungsten Replicator for Data Warehouses
PDF
Training Slides: 303 - Replicating out of a Cluster
PDF
Training Slides: 206 - Using the Tungsten Cluster AMI
PDF
Training Slides: 254 - Using the Tungsten Replicator AMI
PDF
Training Slides: 252 - Monitoring & Troubleshooting
PDF
Training Slides: 302 - Securing Your Cluster With SSL
PDF
Webinar Slides: Global MySQL Availability: SaaS Cloud Contact Center Secures ...
Tungsten Webinar: v6 & v7 Release Recap, and Beyond
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 #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 #2: Galera Cluster
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: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
Webinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
Training Slides: 205 - Installing and Configuring Tungsten Dashboard
Training Slides: 352 - Tungsten Replicator for MongoDB & Kafka
Training Slides: 351 - Tungsten Replicator for Data Warehouses
Training Slides: 303 - Replicating out of a Cluster
Training Slides: 206 - Using the Tungsten Cluster AMI
Training Slides: 254 - Using the Tungsten Replicator AMI
Training Slides: 252 - Monitoring & Troubleshooting
Training Slides: 302 - Securing Your Cluster With SSL
Webinar Slides: Global MySQL Availability: SaaS Cloud Contact Center Secures ...

Recently uploaded (20)

PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
Internet___Basics___Styled_ presentation
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPTX
international classification of diseases ICD-10 review PPT.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
Tenda Login Guide: Access Your Router in 5 Easy Steps
Internet___Basics___Styled_ presentation
PptxGenJS_Demo_Chart_20250317130215833.pptx
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Cloud-Scale Log Monitoring _ Datadog.pdf
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Design_with_Watersergyerge45hrbgre4top (1).ppt
Paper PDF World Game (s) Great Redesign.pdf
international classification of diseases ICD-10 review PPT.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
Unit-1 introduction to cyber security discuss about how to secure a system
The New Creative Director: How AI Tools for Social Media Content Creation Are...
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Module 1 - Cyber Law and Ethics 101.pptx
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
RPKI Status Update, presented by Makito Lay at IDNOG 10
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx

Webinar Slides: MySQL Native Replication vs. Tungsten Clustering

  • 1. MySQL Native Replication vs Tungsten 1
  • 2. Topics In this short course we will: • Features and limitations of Native MySQL Replication • Explore Tungsten Replicator • Review various Replicator Topologies • Talk about Replication Filtering • Learn about Tungsten Cluster 2 2
  • 4. MySQL Native Replication 4 4 • It’s easy to setup and it’s free • Embedded within MySQL Engine • One-to-Many Topology only • Parallel Threads by Schema • Stale reads possible on slave • No easy mechanism to failover • Manual operation required to switch roles • Only Basic Include/Exclude filtering available • Many additional components required to function as a fully fault tolerant cluster • MySQL to MySQL Only
  • 6. Tungsten Replicator 6 6 • Open Source (free!!) and Commercial Builds available • One-to-Many / Many-to-One Topologies • Parallel Threads by Schema • Complex filtering • Heterogeneous replication – Extract from MySQL (Incl RDS and Google SQL) or Oracle – Apply to MySQL (Incl RDS and Google SQL), Oracle, Redshift, Vertica, Hadoop, Mongo, Elasticsearch, Kafka (and more coming soon)
  • 7. Tungsten Replicator – How it works 7 7 DBMS Logs Download transactions via network Apply using JDBC THL = Events + Metadata MySQL MySQL Binary Logging Option 1: Local Install Extractor reads directly from the logs, even when the DBMS service is down. This is the default. Option 2: Remote Extractor gets log data via MySQL Replication Slave protocols (which requires the DBMS service to be online). This is how we handle RDS extraction tasks. Extractor Options Master Replicator: Extractor THL 2 1 Slave Replicator: Applier THL MySQL
  • 8. Tungsten Replicator - Topologies 8 8
  • 9. Tungsten Replicator - Topologies 9 9
  • 10. Tungsten Replicator – Complex Heterogeneous Topology 10 10
  • 12. Types of Filters 1212 • Auditing – Can be used for tracking database updates • Content – Modify contents of transactions, such as enumerating integers or remove columns, tables, or schemas • Logging – Log information about transactions in replicator log file • Optimization – Optimize statements and improve speed of updates on destination • Transformation – Rename, reformat schemas and tables, even merge schemas into a single schema • Validation – Validation and Consistency checking of data • Miscellaneous – Others • Over 40 filters included with Tungsten Replicator which can be ordered as desired!
  • 13. Popular Filters 1313 • DatabaseTransform filter – rename databases or tables, supports regex • InsertOnly filter – filter to include only “INSERT” events, ignoring others • ReplicateColumn filter – replicate columns, either by inclusion or by exclusion • Replicate filter - explicit inclusion or exclusion of schemas and tables to replicate. Can use wildcards • SkipEventsByType filter – skip events for entire schemas or tables. For instance, skip all deletes to SALES.INVOICE • TimeDelay filter – delays writing events to THL. Allows having a slave that is behind the master for a specified time period. • SkipRowByData – replicate rows matching a condition
  • 14. Tungsten Replicator - Filtering 14 14 Master replicator THL Parallel Queue (Events+ metadata) Slave Extract Filter Apply Extract Filter Apply Extract Filter Apply Extract Filter Apply Extract Filter Apply StageStage Stage Slave Replicator Pipeline remote-to-thl thl-to-q q-to-dbms
  • 16. Tungsten Cluster 16 16 • Sits outside the MySQL Engine • Uses Commercial release of Tungsten Replicator at its core • Connector layer provides transparent read/write splitting • Automatic Failover • Simple, single command to switch masters • Tungsten Replicator can be used to provide cluster-slaves • Add/Remove nodes to scale reads • Zero Downtime Maintenance • Works with all “flavours” of MySQL (Community, Oracle, Percona and Maria) • Multi-Master and Composite Topologies for expanding HA/DR capabilities
  • 19. Tungsten Cluster using Tungsten Replicator to Apply to a Cluster Slave 19 19
  • 20. Next Steps • If you are interested in knowing more and would like to try it out for yourself, please contact our sales team who will be able to take you through the details and setup a POC – sales@continuent.com • Read the documentation at http://docs.continuent.com/ • Follow us on Social Media – Facebook / Twitter / LinkedIn – Tungsten University YouTube channel! http://tinyurl.com/TungstenUni • Visit the events calendar on our website for upcoming Webinars and Training Sessions https://www.continuent.com/events/ 20 20
  • 21. For more information, contact us: MC Brown VP Products mc.brown@continuent.com Chris Parker Director, Professional Services EMEA & APAC chris.parker@continuent.com Matthew Lang Director, Professional Services Americas matthew.lang@continuent.com Eero Teerikorpi Founder, CEO eero.teerikorpi@continuent.com +1 (408) 431-3305 Eric Stone COO eric.stone@continuent.com