Your SlideShare is downloading. ×
0
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
My Sql Data Migration
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

My Sql Data Migration

3,040

Published on

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

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,040
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
53
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Procdeure, Function, Trigger
  • Transcript

    • 1. Data Migration To MySQL Anil Yadav OSSCube
    • 2. What is Migration? <ul><li>Data migration is the process of transferring data between storage types, formats, or computer systems. </li></ul>
    • 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. 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. 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. 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. <ul><li>Migration from Oracle </li></ul>
    • 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. 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. 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. 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. 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. <ul><li>Migration Using MySQL Migration tool kit </li></ul>
    • 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. Migration Using MySQL migration tool kit Choose Source Database
    • 16. Migration Using MySQL migration tool kit Choose Target Database
    • 17. Migration Using MySQL migration tool kit Choose Schema To Migrate
    • 18. Migration Using MySQL migration tool kit Select Object to Migrate
    • 19. Migration Using MySQL migration tool kit Select Migration Method
    • 20. Migration Using MySQL migration tool kit Create MySQL Target Objects
    • 21. Migration Using MySQL migration tool kit Migrate Data to MySQL
    • 22. Migration Using MySQL migration tool kit Review Migration
    • 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. 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. <ul><li>Any Question? </li></ul>
    • 26. Thank You!

    ×