关于insert 数据导入表中问题

t240034137 t240034137 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
1.insert into tables value(xxx1,xxxx,xxx,.....);insert into tables value(xxx2,xxxx,xxx,.....);insert into tables value(xxx3,xxxx,xxx,.....);......
与
insert into tables select (xxx1,xxxx,xxx,.....)union all select (xxx2,xxxx,xxx,.....)union all select (xxx3,xxxx,xxx,.....)union all.....

数据导入表中谁快点?(百万数据)

2.每次执行一条insert into tables 的时候先导入数据 然后在建立索引!还是一条SQL全部执行完成后 在执行建立索引?(如果这个问题解决上面的问题就知道了)
...全文

相关推荐

评论 10
收藏 已收藏
分享
返回顶部
t240034137
基础编程 21,889 成员 140,329 内容