Flexible Heterogenous                                    Replication                                        Je! Mace   ©Co...
Overview                        •   Introducing Tungsten Replicator                        •   Installation               ...
Introducing Tungsten Replicator                        •   Alternative to MySQL replication                        •   Sti...
Break speed limits   ©Continuent 2012                 4Thursday, June 28, 12
Break speed limits   ©Continuent 2012                        ✗           4Thursday, June 28, 12
Replicate from many masters   ©Continuent 2012             5Thursday, June 28, 12
Replication Pipeline                                                Pipeline                        Stage                 ...
Heterogenous Replication                        •   Row replication                        •   DDL must be compatible     ...
Installing Tungsten                        •   tungsten-installer                        •   Written in Ruby              ...
Installing a MySQL Master       tools/tungsten-installer --master-slave -a        --cluster-hosts=my1        --home-direct...
Installing a MongoDB Slave       tools/tungsten-installer --master-slave -a        --cluster-hosts=mon2        --home-dire...
Installing a PostgreSQL Slave       tools/tungsten-installer --master-slave -a        --cluster-hosts=pg3        --home-di...
Demo   ©Continuent 2012     12Thursday, June 28, 12
Supported slave databases                        •   MySQL                        •   PostgreSQL                        • ...
Supported master databases                        •   MySQL                        •   PostgreSQL (Experimental)          ...
Next Steps                        •   Test in your environment                        •   Sponsor support for new database...
We’re Hiring                        •   Cluster Implementation Engineer                        •   QA Engineer            ...
Jeff Mace            jeff.mace@continuent.com            sales@continuent.com            560 S. Winchester Blvd. Suite 500...
Upcoming SlideShare
Loading in …5
×

Flexible heterogenous replication

535 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
535
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Flexible heterogenous replication

  1. 1. Flexible Heterogenous Replication Je! Mace ©Continuent 2012.Thursday, June 28, 12
  2. 2. Overview • Introducing Tungsten Replicator • Installation • Demo • Next Steps ©Continuent 2012 2Thursday, June 28, 12
  3. 3. Introducing Tungsten Replicator • Alternative to MySQL replication • Still requires binary logs • Crash-safe with ACID storage engines • Compatible across branches and versions • Provides heterogenous replication • 100% GPL v2 ©Continuent 2012 3Thursday, June 28, 12
  4. 4. Break speed limits ©Continuent 2012 4Thursday, June 28, 12
  5. 5. Break speed limits ©Continuent 2012 ✗ 4Thursday, June 28, 12
  6. 6. Replicate from many masters ©Continuent 2012 5Thursday, June 28, 12
  7. 7. Replication Pipeline Pipeline Stage Stage Stage Extract Filter Apply Extract Filter Apply Extract Filter Apply Master Transaction In-Memory Slave DBMS History Log Queue DBMS ©Continuent 2012 6Thursday, June 28, 12
  8. 8. Heterogenous Replication • Row replication • DDL must be compatible • Create schema ahead of time on the slave • Primary Keys on every table ©Continuent 2012 7Thursday, June 28, 12
  9. 9. Installing Tungsten • tungsten-installer • Written in Ruby • Simple installation using SSH between database servers • Validates prior to installation ©Continuent 2012 8Thursday, June 28, 12
  10. 10. Installing a MySQL Master tools/tungsten-installer --master-slave -a --cluster-hosts=my1 --home-directory=/opt/continuent --datasource-type=mysql --master-host=my1 --datasource-user=tungsten --datasource-password=secret --service-name=mongodb --mysql-use-bytes-for-string=false --svc-extractor-filters=colnames,pkey --datasource-log-directory=/var/lib/mysql --datasource-log-pattern=mysql-bin --datasource-mysql-conf=/etc/mysql/my.cnf --start-and-report ©Continuent 2012 9Thursday, June 28, 12
  11. 11. Installing a MongoDB Slave tools/tungsten-installer --master-slave -a --cluster-hosts=mon2 --home-directory=/opt/continuent --datasource-type=mongodb --master-host=my1 --datasource-user=tungsten --datasource-password=secret --service-name=mongodb --property=replicator.pipeline.slave.services="" --skip-validation-check=InstallerMasterSlaveCheck --start-and-report ©Continuent 2012 10Thursday, June 28, 12
  12. 12. Installing a PostgreSQL Slave tools/tungsten-installer --master-slave -a --cluster-hosts=pg3 --home-directory=/var/lib/postgresql/continuent --datasource-type=postgresql --master-host=my1 --datasource-user=postgres --datasource-password=secret --service-name=mongodb --skip-validation-check=InstallerMasterSlaveCheck --user=postgres --postgresql-dbname=postgres --start-and-report ©Continuent 2012 11Thursday, June 28, 12
  13. 13. Demo ©Continuent 2012 12Thursday, June 28, 12
  14. 14. Supported slave databases • MySQL • PostgreSQL • Oracle • MongoDB • Vertica ©Continuent 2012 13Thursday, June 28, 12
  15. 15. Supported master databases • MySQL • PostgreSQL (Experimental) • Oracle (Commercial) ©Continuent 2012 14Thursday, June 28, 12
  16. 16. Next Steps • Test in your environment • Sponsor support for new database types • Looking for sponsorship to build out a provisioning framework • Contact us with questions ©Continuent 2012 15Thursday, June 28, 12
  17. 17. We’re Hiring • Cluster Implementation Engineer • QA Engineer • Technical Writer ©Continuent 2012 16Thursday, June 28, 12
  18. 18. Jeff Mace jeff.mace@continuent.com sales@continuent.com 560 S. Winchester Blvd. Suite 500 San Jose, CA 95128 Tel (866) 998-3642 Fax (408) 668-1009 http://www.continuent.com http://code.google.com/p/tungsten-replicator ©Continuent 2012 17Thursday, June 28, 12

×