dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14598
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5013: Performance improvement by increasing number of rows fetched by jdbc iterator.
------------------------------------------------------------
revno: 5013
committer: Bob Jolliffe bobjolliffe@xxxxxxxxx
branch nick: dhis2
timestamp: Sun 2011-10-23 21:17:33 +0100
message:
Performance improvement by increasing number of rows fetched by jdbc iterator.
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/aggregation/jdbc/JdbcAggregatedDataValueStore.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/aggregation/jdbc/JdbcAggregatedDataValueStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/aggregation/jdbc/JdbcAggregatedDataValueStore.java 2011-10-13 18:35:12 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/aggregation/jdbc/JdbcAggregatedDataValueStore.java 2011-10-23 20:17:33 +0000
@@ -72,7 +72,7 @@
public class JdbcAggregatedDataValueStore
extends HibernateGenericStore<CaseAggregationCondition> implements AggregatedDataValueStore
{
- private int FETCH_SIZE = 100; // Number of rows to fetch from db for large resultset
+ private int FETCH_SIZE = 1000; // Number of rows to fetch from db for large resultset
private static final Log log = LogFactory.getLog( JdbcAggregatedDataValueStore.class );