Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • how are you inserting the data? one insert statement per record or a batch approach; inserting multiple records with one insert statement? Commented Mar 16, 2013 at 17:29
  • 1
    @jurgenreza I am inserting the data in a batch approach with the LOAD DATA INFILE Syntax Commented Mar 16, 2013 at 17:35
  • 1
    Mysql website claims LOAD DATA INFILE is 20 times faster than insert! This link has some tips like avoiding index updates and consistency checking. take a look in case you haven't already: dev.mysql.com/doc/refman/5.5/en/insert-speed.html Commented Mar 16, 2013 at 18:26
  • Is the DB on an SSD? If not, you might want to get one, it should speed this up dramatically. Commented Mar 16, 2013 at 19:35