Quantcast
Channel: Yet Another Math Programming Consultant
Viewing all articles
Browse latest Browse all 809

MySQL Import Wizard vs LOAD INFILE

$
0
0

The MySQL workbench has a handy tool to import CSV files:

image

image

Unfortunately it is extremely slow. Here are some timing figures when compared with the LOAD INFILE command.

image

Timings are in seconds. Extrapolating this, it would take about 22 hours to import my 1.7 million record CSV file using the Import Wizard. So better use the LOAD INFILE command:

image

PS. Be aware that using the import wizard, the cancel button does not work during the import:

image


Viewing all articles
Browse latest Browse all 809

Trending Articles