I need to migrate my Database in Amazon Redshift to MySQL DB. What are the steps I need to follow? The DB has around 200 tables
-
-
Answer:
Well, I dont think that's a very nice problem to have. Redshift is an MPP columnar database, while MySQL is a traditional row-store RDBMS. There are a lot of thing which are implemented differently in these two database systems. For instance, your tables in Redshift must be having distribution styles, compression schemes etc. You will not find any equivalent things in MySQL. Redshift has a concept of schema within the same database( just like Microsoft SQL Server), while MySQL follows a more Oracle-like methodology where you can have different schema within the same instance (and not within the same database). So, if you have your tables in Redshift with different schema withing the same database, you will have to rethink how you want to implement those tables in MySQL. Solutions: If you just have to do it, I would suggest to use Aginity workbench and extract the scripts for DDLs and DMLs for your Redshift tables, then apply the changes which are incompatible with MySQL manually. Another approach can to be use Unload command to push data into CSV files and then move them to MySQL. But unload command might give multiple files for each table based on the amount of data in the table, so you might face some problems in importing them back into MySQL.
Kautuk Pandey at Quora Visit the source
Related Q & A:
- What is an .emz file and what is the software I need to open it?Best solution by Yahoo! Answers
- What digital box do I need if i get Comcast Cable for free?Best solution by Yahoo! Answers
- What are some things I need to know about living in Germany before I go there for a year?Best solution by Yahoo! Answers
- What size snowboard do I need if I am about 5'7?Best solution by frostyrider.com
- What are the steps I need to take to be a psychologist?Best solution by learn.org
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.