Presentation is loading. Please wait.

Presentation is loading. Please wait.

MySQL Migration Toolkit

Similar presentations


Presentation on theme: "MySQL Migration Toolkit"— Presentation transcript:

1 MySQL Migration Toolkit
Michael G. Zinner Lead Developer GUI Team

2 MySQL Migration Toolkit
Features Easy to use, Wizard like Interface Plug-in Architecture (Oracle, MSSQL, Sybase, …) Support for Java and Native C modules Oracle Migration (no SPs) / MS Access modules Others to follow Every database with a JDBC driver can be addressed Scriptable Store / Restore Application State (e.g. to repeatedly trigger the data transfer)

3 Customization Support for new RDBMS can be added
Reverse engineering module and migration module need to be added The migration process can be customized New “methods” can be added to existing modules A new module can be derived Everything can be scripted Migration Toolkit can output a script Script can be executed from the command line

4 Generic Runtime Environment (GRT)
Thin C layer Inspired by Objective C Enables dynamic typing in C Provides dynamic data objects / package definitions Allows to add modules written in C / Java / PHP / Lua (Perl / Python / …) Base for all upcoming GUI tools Everything that can be done in the GUI, can be done from the shell First used for the MySQL Mirgation Toolkit to embed Java / JDBC Will add scripting and plugin functionality for Workbench, Enterprise Manager Nice Integration into Java / PHP / … Totally transparent to Java / PHP / … developers Table table = new Table(schema); table.setName("new_table"); return table;

5 Internal Architecture

6 Modules used for the MT Reverse Engineer Modules Migration Modules
Analyze and return the schema information One needed for every database vendor The generic JDBC module can be used Migration Modules Offer methods to migrate source objects to target (MySQL) objects Handles the data bulk transfer Every migration module derives from the base class Only specific methods (e.g. datatype mapping) need to be rewritten (Transformation Modules) Used to generate the actual SQL commands Used to execute / export the SQL commands

7 Implementation Details
For the MT, Java & C Modules are used Make use of JDBC drivers Easy to read / expand Java code Smooth integration of Java into the GRT C library (JNI) Cross platform Ships with Eclipse project Use the power of Eclipse Understand the code easier Instant compilation of changes into the MT classpath Base Schema Object Package All vendor specific schema objects derive from com.mysql.grt.db e.g. com.mysql.grt.db.mysql, com.mysql.grt.db.oracle

8 Migration Toolkit Summary
• Offers an open platform for migration • Comes with modules for various RDBMS vendors • Is totally customizable and scriptable • First tool to make use of the GRT Environment


Download ppt "MySQL Migration Toolkit"

Similar presentations


Ads by Google