蛋糕网站建设,网站设计开发工程师,请人做网站卖东西好吗,额尔古纳做网站--方案1#xff1a;如果有索引#xff0c;先把索引删除后#xff0c;再update#xff0c;最后把索引重新创建一下因为索引对update影响很大。--方案2:1.create table newA as select id,name,age1 age from A;2.drop table A;3.rename newA to A--方案3:set autocommit 100… --方案1如果有索引先把索引删除后再update最后把索引重新创建一下因为索引对update影响很大。--方案2:1.create table newA as select id,name,age1 age from A;2.drop table A;3.rename newA to A--方案3:set autocommit 1000;update table_name set ageage1;--方案4:批量更新 转载于:https://www.cnblogs.com/huangbiquan/p/7746795.html