I have a huge 200 GB sql file mostly with inserts statements. I basically create some few tables with ENGINE = innoDB. Regarding the insert statements, I have a table called Person, another one called Target, whose primary key is a foreign key referencing to Person. Then I have and two more tables, one called Source, which is pretty much the same as Target, and another one called Shoot connecting Source to Target.
So I insert about 8k targets and over 100 MI sources, so there you can have a picture of over 1,3 BI rows in Shoot table.
There is no error in my sql file, I've checked it before with smaller files. I just want to be able to load this file in my database at a speed faster than 1000 lines per minute.
Any tips are welcomed.