• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Flexible heterogenous replication
 

Flexible heterogenous replication

on

  • 456 views

 

Statistics

Views

Total Views
456
Views on SlideShare
456
Embed Views
0

Actions

Likes
0
Downloads
8
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Flexible heterogenous replication Flexible heterogenous replication Presentation Transcript

    • Flexible Heterogenous Replication Je! Mace ©Continuent 2012.Thursday, June 28, 12
    • Overview • Introducing Tungsten Replicator • Installation • Demo • Next Steps ©Continuent 2012 2Thursday, June 28, 12
    • 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
    • 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 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
    • 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
    • Installing Tungsten • tungsten-installer • Written in Ruby • Simple installation using SSH between database servers • Validates prior to installation ©Continuent 2012 8Thursday, June 28, 12
    • 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
    • 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
    • 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
    • Demo ©Continuent 2012 12Thursday, June 28, 12
    • Supported slave databases • MySQL • PostgreSQL • Oracle • MongoDB • Vertica ©Continuent 2012 13Thursday, June 28, 12
    • Supported master databases • MySQL • PostgreSQL (Experimental) • Oracle (Commercial) ©Continuent 2012 14Thursday, June 28, 12
    • 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
    • We’re Hiring • Cluster Implementation Engineer • QA Engineer • Technical Writer ©Continuent 2012 16Thursday, June 28, 12
    • 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