MySQL Forums
Forum List  »  Performance

Re: Load Data Infile takes a long time
Posted by: Øystein Grøvlen
Date: March 18, 2013 03:04AM

Hi,

The load should go faster if you drop all secondary indexes from the table and recreate them when the load is finished. It is much faster to build an index over an existing table than to maintain the index for every new row that is inserted. Also, the index will normally use less disk space that way.

Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Load Data Infile takes a long time
2073
March 18, 2013 03:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.