#ALTERNATIVE
You could create a table called monster_csv
as a MyISAM table with no indexes and do this:
CREATE TABLE monster_csv ENGINE=MyISAM AS SELECT * FROM monster WHERE 1=2;
ALTER TABLE monster RENAME monster_old;
CREATE TABLE monster LIKE monster_old;
ALTER TABLE monster DROP INDEX `party_id`;
Import your data into monster_csv
. Then, use mysqldump to create another import
mysqldump -t -uroot -p mydb monster_csv | sed 's/monster_csv/monster/g' > data.sql
The mysqldump file data.sql
will extended INSERT commands importing 10,000-20,000 rows at a time.
Now, just load the mysqldump
mysql -uroot -p mydb < data.sql
Finally, get rid of the MyISAM table
DROP TABLE monster_csv;