MySQL Forums
Forum List  »  Performance

Re: Load Data Infile takes a long time
Posted by: Rick James
Date: March 16, 2013 06:15PM

Please provide SHOW CREATE TABLE.

SHOW VARIABLES LIKE '%buffer%';

What order were the original rows in?

LOAD DATA Is normally very fast. This will help:
Setting the cache size appropriately.
Sorting the data in PK order.
Getting rid of useless indexes.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Load Data Infile takes a long time
2391
March 16, 2013 06:15PM


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.