I've about 400k data and maybe more (in sql format) and going to insert it to mysql database. which one have better performance, to write the sql command in the sql file to insert the data :
- repeat this command for each data till 400k - INSERT INTO table (col1, col2, coln) VALUES (val1, val2, valn); 
- write INSERT command at first and then write the 400k data in the next VALUE statement - INSERT INTO table (col1, col2, coln) VALUES (val1, val2, valn), (val1, val2, valn), (val1, val2, valn), ..... till the 400k data 
- repeat this command like no.2 but only for maybe each 100 data - INSERT INTO table (col1, col2, coln) VALUES (val1, val2, valn), (val1, val2, valn), (val1, val2, valn), ..... [till 100 data] 
 INSERT INTO table (col1, col2, coln) VALUES (val1, val2, valn), (val1, val2, valn), (val1, val2, valn), ..... [till the next 100 data]
- or maybe there are another good options? 
 
     
    