阅读背景:

用Django和转换将大型CSV文件加载到MySQL

来源:互联网 

I have a large CSV file (5.4GB) of data. It's a table with 6 columns a lot of rows. I want to import it into MySQL across several tables. Additionally I have to do some transformations to the data before import (e.g. parse a cell, and input the parts into several table values etc.). Now I can either do a script does a transformation and inserts a row at a time but it will take weeks to import the data. I know there is the LOAD DATA INFILE for MySQL but I am not sure how or if I can do the needed transformations in SQL. I have a large CSV file (5.4GB) of data. It's a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: