MySQL workbench table data import wizard extremely slow

后端 未结 6 1785
时光说笑
时光说笑 2020-12-28 14:21

I need to import a csv file with 20 million rows and 2 columns into a database, but when I try to do this with MySQL Workbench\'s data import wizard it is extremely slow, p

6条回答
  •  孤城傲影
    2020-12-28 14:49

    Always use Load Data Infile as a first attempt for huge sets of data.

    Mysql Manual page on Load Data Infile.

    Wrote up several answers for this question, but for a peer comparison, see this guy's question and my Answer and his time comparisons of Workbench vs Load Data Infile.

提交回复
热议问题