Currently, our application is running using Oracle 11g database. We are developing a newer version of the application which runs on the MySQL cluster. We need to migrate the data from the Oracle database to the MySQL database. This is not a direct copy of database objects. In newer version of the application schema(table structure and relationships) is changed. And audit tables also need to be copied. Is there any way to map tables, columns from old Oracle schema and new MySQL schema and apply copy so that the data will be copied?
We are thinking of doing this activity in two steps.
- Convert Oracle database to MySQL database.
- Writing stored procedure to copy table by table.
Are there any best practices while performing this kind of database migration from one RDBMS vendor to another? Are there any open-source or commercial tools available for this?