第一种:begin
for r1 in 1..3000000 loop
insert into oracle_study(id,name) values(r1,'abc'|| r1);
commit;
end loop;
End;
35分钟57秒(2157.182秒):插入3000000条
每秒1390.7032条
第二种:INSERT INTO ORA_STUDY SELECT * FROM ORACLE_STUDY;
COMMIT;
613.662秒:插入3000000条
每秒4888.6847条