摘要: Oracle实现的批处理更新效果不错,至于每次批处理的记录数还需要根据每条记录的大小,服务器的负载情况等多种因素进行微调。 1 private static void batchInsertTest(OracleDataSource ds)throws SQLException{ 2 3 final int NUM=1000000; 4 final int COL=200000; 5 final int ROW=NUM/COL; 6 /*GregorianCalendar c = new GregorianCalendar(2010,1,1); 7 Date[] atimes=new Date 阅读全文
posted @ 2011-08-13 11:26 freewater 阅读(3157) 评论(0) 推荐(0) 编辑