load data local infile 'e:/B/a_tb_call.txt' into table tb_call
fields terminated by '\t' lines terminated by '\r\n'
MySQL使用这条语句载入5.7G的数据,花费6个小时还没完成,发现载入过程中cpu使用率不高
这是为什么呢?有什么办法让速度提上来!
谢谢解答!
fields terminated by '\t' lines terminated by '\r\n'
MySQL使用这条语句载入5.7G的数据,花费6个小时还没完成,发现载入过程中cpu使用率不高
这是为什么呢?有什么办法让速度提上来!
谢谢解答!
不禁用速度没多大区别,我没有试验过,我现在是没有禁用索引,大概是这个问题了。