[color=red][b]1.设置setFetchSize进行优化[/b][/color]
[color=red][b]2.在sql语句中加入PARALLEL执行策略[/b][/color]
// 可以优化
jdbcTemplate.setFetchSize(10000);
[color=red][b]2.在sql语句中加入PARALLEL执行策略[/b][/color]
select /*+PARALLEL(tablename,8)*/ * from tablename