My Oracle Support Banner

LOAD DATA LOCAL INFILE REPLACE Statement Took Very Long Time to Complete (Doc ID 2250068.1)

Last updated on FEBRUARY 03, 2019

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.


When loading data into database. It took very long time to complete, even to an empty table.

Target table has primary key and unique keys.

Script to load:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.