1.insert into employee select * from emp where deptno=20;
2.insert /*+APPEND*/ into employee select * from emp where deptno=20;
同样是大批量插入数据,第二种比第一种效率高很多。
本文对比了在数据库中使用`insert`和`insert/*APPEND*/`进行大批量数据插入的效率差异,后者在特定场景下表现出更高的效率。
1.insert into employee select * from emp where deptno=20;
2.insert /*+APPEND*/ into employee select * from emp where deptno=20;
同样是大批量插入数据,第二种比第一种效率高很多。
396

被折叠的 条评论
为什么被折叠?