← Back to team overview

dhis2-devs team mailing list archive

TrackedEntityInstances API call is taking lot of time in DHIS 2.29

 

Hi All,

We are upgrading from DHIS 2.27 to DHIS 2.29. We are making the below call
to get the trackedentityinstance ids.

http://
<instance_url>/api/trackedEntityInstances.json?eventEndDate=2018-07-08&eventStartDate=2018-04-22&fields=trackedEntityInstance&ou=<orgUnitId>&ouMode=DESCENDANTS&page=2&pageSize=1000&program=<programId>&totalPages=true

The thing what we observed is this call is taking 1 or 2 secs with DHIS
2.27 but it is taking around 25 secs with DHIS 2.29.

Could you please help us understand why it is taking this much time in DHIS
2.29. Also, Is there any plan to optimize this in near future?

Thanks,
Rajeswari & Gaurav.