Data Migration To MySQL Anil Yadav OSSCube
What is Migration? <ul><li>Data migration is the process of transferring data between storage types, formats, or computer ...
Why MySQL? <ul><li>Cost </li></ul><ul><li>EOL H/W and S/W </li></ul><ul><li>Integration to newer system </li></ul><ul><li>...
Migration Checklist   <ul><li>What are characteristics of the application?  </li></ul><ul><ul><ul><ul><ul><li>OLTP, Data w...
Migration Checklist   <ul><li>How large is the database?  </li></ul><ul><ul><ul><ul><ul><li>MB, GB, TB  </li></ul></ul></u...
Data Migration Life Cycle <ul><li>Document Source </li></ul><ul><li>Objects </li></ul><ul><li>Relationship </li></ul><ul><...
<ul><li>Migration from Oracle </li></ul>
How to Migrate? <ul><li>Manually </li></ul><ul><li>Automated </li></ul><ul><ul><ul><li>MySQL Migration tool kit </li></ul>...
Oracle Datatypes   <ul><li>Oracle 10g supports 22 native datatypes  </li></ul><ul><li>MySQL supports most except . </li></...
Oracle Compatible Datatype MEDIUMTEXT  CLOB, RAW  REAL  FLOAT (24)  VARCHAR VARCHAR2  MEDIUM OR LONGBLOB  LONG RAW  BLOB  ...
Oracle Predicates Supported by MySQL  <ul><li>Comparison conditions  </li></ul><ul><li>Exists conditions  </li></ul><ul><l...
Constraint <ul><li>There are some constraint for migration. MySQL does not support some major  function. </li></ul><ul><ul...
<ul><li>Migration Using MySQL Migration tool kit </li></ul>
Migration using MySQL Migration Toolkit <ul><li>Open Source </li></ul><ul><li>Does </li></ul><ul><ul><ul><li>Tables/View <...
Migration Using MySQL migration tool kit Choose Source Database
Migration Using MySQL migration tool kit Choose Target Database
Migration Using MySQL migration tool kit Choose Schema To Migrate
Migration Using MySQL migration tool kit Select Object to Migrate
Migration Using MySQL migration tool kit Select Migration Method
Migration Using MySQL migration tool kit Create MySQL Target Objects
Migration Using MySQL migration tool kit Migrate Data to MySQL
Migration Using MySQL migration tool kit Review Migration
Migration using other tool <ul><li>Some Object can not migrate using MySQL migration tool kit. </li></ul><ul><ul><ul><li>S...
Migration using other tool <ul><li>SQLWays can migrate following object alos  </li></ul><ul><ul><ul><li>Stored Procedure <...
<ul><li>Any Question? </li></ul>
Thank You!
Upcoming SlideShare
Loading in...5
×

My Sql Data Migration

3,076

Published on

This is a presentation to migrate database from any DB to MySQL.

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

  • Be the first to like this

No Downloads
Views
Total Views
3,076
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
54
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Procdeure, Function, Trigger
  • My Sql Data Migration

    1. 1. Data Migration To MySQL Anil Yadav OSSCube
    2. 2. What is Migration? <ul><li>Data migration is the process of transferring data between storage types, formats, or computer systems. </li></ul>
    3. 3. Why MySQL? <ul><li>Cost </li></ul><ul><li>EOL H/W and S/W </li></ul><ul><li>Integration to newer system </li></ul><ul><li>Trend </li></ul><ul><li>Supports all features now (Reason) </li></ul>
    4. 4. Migration Checklist <ul><li>What are characteristics of the application? </li></ul><ul><ul><ul><ul><ul><li>OLTP, Data warehouse etc </li></ul></ul></ul></ul></ul><ul><li>How quickly do you need to migrate? </li></ul><ul><ul><ul><ul><ul><li>Weeks, Months </li></ul></ul></ul></ul></ul><ul><li>What tools are available too perform the migration? </li></ul><ul><ul><ul><ul><ul><li>ETL, Scripts, ER Tools, Manual </li></ul></ul></ul></ul></ul><ul><li>How many objects will be migrated? </li></ul><ul><ul><ul><ul><ul><li>Tables, Indexes, Views, Stored Procedures </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Triggers, Sequences, Others </li></ul></ul></ul></ul></ul>
    5. 5. Migration Checklist <ul><li>How large is the database? </li></ul><ul><ul><ul><ul><ul><li>MB, GB, TB </li></ul></ul></ul></ul></ul><ul><li>Are you looking to increase capacity or scalability? </li></ul><ul><ul><ul><ul><ul><li>If so, how much? </li></ul></ul></ul></ul></ul><ul><li>How many concurrent users? </li></ul>
    6. 6. Data Migration Life Cycle <ul><li>Document Source </li></ul><ul><li>Objects </li></ul><ul><li>Relationship </li></ul><ul><li>Rules </li></ul>Design targets Objects Relationship Rules Design ETL Flow Simple move Transformation Aggregation Build/Run Migrations ETL Runs Scheduled/Recurring Validation Migrate Code? Performance Test Simulation Metric Analysis Review
    7. 7. <ul><li>Migration from Oracle </li></ul>
    8. 8. How to Migrate? <ul><li>Manually </li></ul><ul><li>Automated </li></ul><ul><ul><ul><li>MySQL Migration tool kit </li></ul></ul></ul><ul><ul><ul><li>SwissSQL </li></ul></ul></ul><ul><ul><ul><li>SQLWays </li></ul></ul></ul>
    9. 9. Oracle Datatypes <ul><li>Oracle 10g supports 22 native datatypes </li></ul><ul><li>MySQL supports most except . </li></ul><ul><ul><ul><ul><ul><li>INTERVAL DAY TO SECOND </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>INTERVAL YEAR TO M MONTH </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>ROWID </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>TIMESTAMP WITH LOCAL TIME ZONE </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>TIMESTAMP WITH TIM ME ZONE </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>UROWID </li></ul></ul></ul></ul></ul>
    10. 10. Oracle Compatible Datatype MEDIUMTEXT CLOB, RAW REAL FLOAT (24) VARCHAR VARCHAR2 MEDIUM OR LONGBLOB LONG RAW BLOB RAW LONGBLOB BLOB LONGBLOB BFILE MySQL Oracle
    11. 11. Oracle Predicates Supported by MySQL <ul><li>Comparison conditions </li></ul><ul><li>Exists conditions </li></ul><ul><li>Floating-point conditions </li></ul><ul><li>In conditions </li></ul><ul><li>Is/member conditions </li></ul><ul><li>Null conditions </li></ul><ul><li>Pattern matching conditionss </li></ul><ul><li>Range conditions </li></ul><ul><li>XML conditions </li></ul>
    12. 12. Constraint <ul><li>There are some constraint for migration. MySQL does not support some major function. </li></ul><ul><ul><ul><li>Package </li></ul></ul></ul><ul><ul><ul><li>No Raise error capability </li></ul></ul></ul><ul><ul><ul><li>Mail sending </li></ul></ul></ul><ul><ul><ul><li>Application error generation </li></ul></ul></ul><ul><ul><ul><li>Exception handling </li></ul></ul></ul><ul><li>Is there any solution for above? </li></ul>
    13. 13. <ul><li>Migration Using MySQL Migration tool kit </li></ul>
    14. 14. Migration using MySQL Migration Toolkit <ul><li>Open Source </li></ul><ul><li>Does </li></ul><ul><ul><ul><li>Tables/View </li></ul></ul></ul><ul><ul><ul><li>Data </li></ul></ul></ul><ul><li>Does Not (Yet) </li></ul><ul><ul><ul><li>Sequence </li></ul></ul></ul><ul><ul><ul><li>Stored procedure </li></ul></ul></ul><ul><ul><ul><li>Trigger </li></ul></ul></ul>
    15. 15. Migration Using MySQL migration tool kit Choose Source Database
    16. 16. Migration Using MySQL migration tool kit Choose Target Database
    17. 17. Migration Using MySQL migration tool kit Choose Schema To Migrate
    18. 18. Migration Using MySQL migration tool kit Select Object to Migrate
    19. 19. Migration Using MySQL migration tool kit Select Migration Method
    20. 20. Migration Using MySQL migration tool kit Create MySQL Target Objects
    21. 21. Migration Using MySQL migration tool kit Migrate Data to MySQL
    22. 22. Migration Using MySQL migration tool kit Review Migration
    23. 23. Migration using other tool <ul><li>Some Object can not migrate using MySQL migration tool kit. </li></ul><ul><ul><ul><li>Stored procedure </li></ul></ul></ul><ul><ul><ul><li>Function </li></ul></ul></ul><ul><ul><ul><li>Sequence </li></ul></ul></ul><ul><ul><ul><li>Package </li></ul></ul></ul><ul><ul><ul><li>Trigger </li></ul></ul></ul><ul><li>Write code manually or use other tool </li></ul>
    24. 24. Migration using other tool <ul><li>SQLWays can migrate following object alos </li></ul><ul><ul><ul><li>Stored Procedure </li></ul></ul></ul><ul><ul><ul><li>Function </li></ul></ul></ul><ul><ul><ul><li>Sequence </li></ul></ul></ul><ul><li>Still no tool available to migrate </li></ul><ul><ul><ul><li>Package </li></ul></ul></ul><ul><ul><ul><li>Trigger </li></ul></ul></ul><ul><li>We have alternative for package and triggers. </li></ul>
    25. 25. <ul><li>Any Question? </li></ul>
    26. 26. Thank You!
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×