I am working on Data Transfer Utility which transfers data from Oracle to MySQL.
While moving data from Oracle to MySQL, the engine selected for MySQL table is MyISAM which speedily inserts data. If I change Engine type to InnoDB it takes much time to insert as Innodb follows ACID rules.
How can I achieve the best performance by InnoDB engine? I also want to add Foreign Key to table before inserting data into table. With MyISAM engine this is not possible.
I have tested the below scenario,
With Engine type MyISAM 50 lac data moved in 2 hrs but unable to add foreign key With Engine type InnoDB 50 lac data moved in 20 hrs approx.
Please help me to get performance with Innodb Engine type. I am using MySQL 5.1.6 version working with all the default settings.