本帖最后由 u013798929 于 2015-03-10 13:27:44 编辑

解决方案 »

  1.   

    先建立新表,将原表的数据处理导入即可create table newTable as select * from user where 1=0insert ignore into 新表 select id,  substring(name, 4) from user
      

  2.   


    那请问比如我6000W数据是按id顺序遍历更新的,我可不可以多线程分段执行,比如我分3个线程出来同步执行,每个线程均遍历200W数据,这样花的时间会变成原来的1/3吗?