环境: oracle 9i
表rate中有4个字段:PayEndYear,InsureYear,AppYear,Amount
现在有一个大小为4.34MB的SQL文件,其中为大约2W条如下的插入语句:
insert into rate(PayEndYear,InsureYear,AppYear,Amount) values(1,2,2,300.00);
insert into rate(PayEndYear,InsureYear,AppYear,Amount) values(1,2,3,300.00);
insert into rate(PayEndYear,InsureYear,AppYear,Amount) values(1,3,2,300.00);
...
insert into rate(PayEndYear,InsureYear,AppYear,Amount) values(20,500,2,1000.00);
commit;
复制该文件文件内容到剪贴版中,在PL/Sql的Comand Window中按下Ctrl+V,执行时间大约得5min……如果一次导入不成功则需要再花5min……
该如何提高导入速度????
各位老大,帮帮忙,谢谢了~~~
表rate中有4个字段:PayEndYear,InsureYear,AppYear,Amount
现在有一个大小为4.34MB的SQL文件,其中为大约2W条如下的插入语句:
insert into rate(PayEndYear,InsureYear,AppYear,Amount) values(1,2,2,300.00);
insert into rate(PayEndYear,InsureYear,AppYear,Amount) values(1,2,3,300.00);
insert into rate(PayEndYear,InsureYear,AppYear,Amount) values(1,3,2,300.00);
...
insert into rate(PayEndYear,InsureYear,AppYear,Amount) values(20,500,2,1000.00);
commit;
复制该文件文件内容到剪贴版中,在PL/Sql的Comand Window中按下Ctrl+V,执行时间大约得5min……如果一次导入不成功则需要再花5min……
该如何提高导入速度????
各位老大,帮帮忙,谢谢了~~~