吴伟贤のBlog

Feed Rss

mysql insert into select

03.05.2010, mysql, by .

今天数据迁移用到的

insert into `wetao_mobile2` (mobile,addtime,name,address,haomaleibie,price)
SELECT mobilenumber,addtime,name,address,brand,price FROM `wetao_mobile`

 

插入的行数: 1292483 (查询花费 21.7822 秒)

 

good速度快。

评论已关闭。