Reputation: 76
Im generating a lot of data that i would like to store in DB, sometime part of data that i would store already exists in DB. How can i insert bulk amount of records without looping them all?
Upvotes: 2
Views: 271
Reputation: 76
I am walking for this problem before, I have like 3000k of the row to insert in MySQL so the only reasonable way that I can resolve this problem was with:
LOAD DATA LOCAL INFILE
Upvotes: 1