Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Migrating NuoDB
CLOUD DATABASE
MIGRATION MADE EASY
October 19, 2017
Copyright © 2017 NuoDB - NuoDB Confidential
LOGISTICS
+ You will be on mute
+ Submit questions in the
Q&A box on the right...
Copyright © 2017 NuoDB - NuoDB Confidential
MOVING TO THE CLOUD,
RETHINKING EVERYTHING
3
Microservices and
Containers
Grow...
Copyright © 2017 NuoDB - NuoDB Confidential
CLOUD DATABASE REQUIREMENTS
4
Required Capabilities
SQL
Business Database of R...
Copyright © 2017 NuoDB - NuoDB Confidential
CLOUD DATABASE OPTIONS
5
Traditional
RDBMS
NoSQL
Required Capabilities
SQL
Bus...
Copyright © 2017 NuoDB - NuoDB Confidential
ELASTIC SQL: A BETTER CHOICE
6
Traditional
RDBMS
NoSQL
Elastic SQL
Required Ca...
Copyright © 2017 NuoDB - NuoDB Confidential
NuoDB: THE ELASTIC SQL DATABASE
NuoDB combines the scale-out simplicity, elast...
Copyright © 2017 NuoDB - NuoDB Confidential
NuoDB: THE ELASTIC SQL DATABASE
8
Fast in-memory transaction
processing
with d...
Copyright © 2017 NuoDB - NuoDB Confidential
MIGRATING DATA INTO NuoDB:
4 EASY STEPS
Once the Setup is complete you can run...
ON TO THE DEMO!
10
Let’s get started!
Copyright © 2017 NuoDB - NuoDB Confidential
11
Setting Value
Source JDBC driver class name --source.driver=com.mysql.jdbc....
Copyright © 2017 NuoDB - NuoDB Confidential
Register for our
December
webinar with
NayaTech to hear
about the other
steps!...
READY TO TRY IT?
Get the scripts
nuodb.com/migrate-scripts
Watch the NuoDB demo:
nuodb.com/full-demo
Download Community Ed...
Copyright © 2017 NuoDB - NuoDB Confidential
MIGRATING DATA INTO NUODB
Sample MySQL to NuoDB working run scripts
Get schema...
Copyright © 2017 NuoDB - NuoDB Confidential
MIGRATING DATA INTO NUODB
Sample MySQL to NuoDB working run scripts
Dump schem...
Copyright © 2017 NuoDB - NuoDB Confidential
MIGRATING DATA INTO NUODB
Sample MySQL to NuoDB working run scripts
Load schem...
Upcoming SlideShare
Loading in …5
×

Cloud Database Migration Made Easy: Migrating MySQL to NuoDB

192 views

Published on

For organizations moving to cloud infrastructure, database migration can be the stuff of nightmares. When selecting a cloud-centric database, balancing ease of migration with the on-demand scaling and continuous availability your modern application needs can seem like a series of compromises... But it doesn’t have to be.

In these slides, we showcase how simple it is to move from a traditional relational database to NuoDB’s elastic SQL database and talk about how this compares to the complexity of moving to a NoSQL database.

Senior Product Manager Joe Leslie demonstrates how to use NuoDB’s built-in migrator facility to simplify migration from databases such as MySQL, Microsoft SQL Server, or Oracle over to NuoDB, minimizing the transition time, and making it easy to get started sooner.

Published in: Software
  • Be the first to comment

Cloud Database Migration Made Easy: Migrating MySQL to NuoDB

  1. 1. Migrating NuoDB CLOUD DATABASE MIGRATION MADE EASY October 19, 2017
  2. 2. Copyright © 2017 NuoDB - NuoDB Confidential LOGISTICS + You will be on mute + Submit questions in the Q&A box on the right + Webinar is being recorded & will be available for replay Joe Leslie Senior Product Manager
  3. 3. Copyright © 2017 NuoDB - NuoDB Confidential MOVING TO THE CLOUD, RETHINKING EVERYTHING 3 Microservices and Containers Growing Data Workloads Developer Scarcity Dev-ops & Agile Data Security Purchasing Patterns
  4. 4. Copyright © 2017 NuoDB - NuoDB Confidential CLOUD DATABASE REQUIREMENTS 4 Required Capabilities SQL Business Database of Record ANSI-Standard SQL Migrate existing SQL apps In-memory performance Elastic Simple elastic scale-out/in (reads and writes) Zero downtime Hybrid cloud deployment
  5. 5. Copyright © 2017 NuoDB - NuoDB Confidential CLOUD DATABASE OPTIONS 5 Traditional RDBMS NoSQL Required Capabilities SQL Business Database of Record ✓ ✗ ✓ ANSI-Standard SQL ✓ ✗ ✓ Migrate existing SQL apps (✓) ✗ (✓) In-memory performance ✓ ✓ ✓ Elastic Simple elastic scale-out/in (reads and writes) ✗ ✓ (✗) Zero downtime ✗ ✓ ✗ Hybrid cloud deployment ✗ ✓ ✗
  6. 6. Copyright © 2017 NuoDB - NuoDB Confidential ELASTIC SQL: A BETTER CHOICE 6 Traditional RDBMS NoSQL Elastic SQL Required Capabilities SQL Business Database of Record ✓ ✗ ✓ ✓ ✓ ANSI-Standard SQL ✓ ✗ ✓ (✓) ✓ Migrate existing SQL apps (✓) ✗ (✓) ✗ (✓) In-memory performance ✓ ✓ ✓ ✓ ✓ Elastic Simple elastic scale-out/in (reads and writes) ✗ ✓ (✗) ✓ ✓ Zero downtime ✗ ✓ ✗ ✓ ✓ Hybrid cloud deployment ✗ ✓ ✗ ✗ ✓
  7. 7. Copyright © 2017 NuoDB - NuoDB Confidential NuoDB: THE ELASTIC SQL DATABASE NuoDB combines the scale-out simplicity, elasticity, and continuous availability that cloud applications require with the transactional consistency and durability that databases of record demand.
  8. 8. Copyright © 2017 NuoDB - NuoDB Confidential NuoDB: THE ELASTIC SQL DATABASE 8 Fast in-memory transaction processing with dynamic application data affinity Durable storage management with scale-out storage NuoDB Architecture Legacy RDBMS Architecture Modern distributed, peer-to-peer services acting as a single, logical database + New modern database architecture with independent database services + Services scale independently and elastically + Straightforward ANSI SQL interface + Deploy across containers, clouds & data centers + Continuous availability for planned (upgrades) and unplanned outages Storage
  9. 9. Copyright © 2017 NuoDB - NuoDB Confidential MIGRATING DATA INTO NuoDB: 4 EASY STEPS Once the Setup is complete you can run the Get, Dump, and Load from a single migration command. For this video we will migrate the MySQL “employees” ~ 3M rows star-schema demo database to NuoDB 9 Setup Get Schema Dump Data Load Data 1 1 1 1 1 1 1 1 1 2 1 1 1 1 3 1 1 1 1 4
  10. 10. ON TO THE DEMO! 10 Let’s get started!
  11. 11. Copyright © 2017 NuoDB - NuoDB Confidential 11 Setting Value Source JDBC driver class name --source.driver=com.mysql.jdbc.Driver Source database connection URL --source.url=jdbc:mysql://localhost:3306/schema? NuoDB target database connection URL . --target.url=jdbc:com.nuodb://localhost/test CLASSPATH environment variable export CLASSPATH=/mysql-connector-java- 5.1.41/mysql-connector-java-5.1.41- bin.jar:$CLASSPATH Capture the source schema (e.g. tables, columns, data types, constraints, sequences, and indexes) and apply to the target schema Extract source data into a common file format (e.g. csv, xml, bson) Insert extracted data into NuoDB! Setup Get Schema Dump Data Load Data 1 1 1 1 1 1 1 1 1 2 1 1 1 1 3 1 1 1 1 4
  12. 12. Copyright © 2017 NuoDB - NuoDB Confidential Register for our December webinar with NayaTech to hear about the other steps! www.nuodb.com/mig ration-webinar …OBVIOUSLY THIS IS ONLY ONE PART OF THE MIGRATION 12
  13. 13. READY TO TRY IT? Get the scripts nuodb.com/migrate-scripts Watch the NuoDB demo: nuodb.com/full-demo Download Community Edition: www.nuodb.com/download
  14. 14. Copyright © 2017 NuoDB - NuoDB Confidential MIGRATING DATA INTO NUODB Sample MySQL to NuoDB working run scripts Get schema $ nuodb-migrator schema --source.driver=com.mysql.jdbc.Driver --source.url=jdbc:mysql://localhost:3306/employees? --source.username=dbuser --source.password=Dbuser:10 --identifier.quoting=minimal --output.path=schema.sql $ nuosql test --user dba --password goalie --file schema.sql 14
  15. 15. Copyright © 2017 NuoDB - NuoDB Confidential MIGRATING DATA INTO NUODB Sample MySQL to NuoDB working run scripts Dump schema $ nuodb-migrator dump --source.driver=com.mysql.jdbc.Driver --source.url=jdbc:mysql://localhost:3306/employees? --source.username=dbuser --source.password=Dbuser:10 --output.type=csv --output.csv.delimiter=~ --output.path=/tmp/migrate_mysql_to_nuodb 15
  16. 16. Copyright © 2017 NuoDB - NuoDB Confidential MIGRATING DATA INTO NUODB Sample MySQL to NuoDB working run scripts Load schema $ nuodb-migrator load --target.url=jdbc:com.nuodb://localhost/test --target.schema=employees --target.username=dba --target.password=goalie --input.csv.delimiter=~ --input.path=/tmp/migrate_mysql_to_nuodb 16

×