# Extremely slow API for analytics

**URL:** <https://community.dhis2.org/t/extremely-slow-api-for-analytics/50791>\
**Category:** Support - Assistance technique\
**Tags:** analytics, api, analytics-tools\
**Created:** [28 November 2022 03:47 UTC](https://community.dhis2.org/t/extremely-slow-api-for-analytics/50791 "2022-11-28T03:47:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sthrohit](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/sthrohit/32/29950_2.png) [@sthrohit](https://community.dhis2.org/u/sthrohit)\
**Post date:** [28 November 2022 03:47 UTC](https://community.dhis2.org/t/extremely-slow-api-for-analytics/50791/1 "2022-11-28T03:47:55Z")

</div>

Hi Community,  
DHIS2 Version: 2.39.0

I was trying to get report through `event report` app.  
while the normal operation filtering from level 1-3 are good. trying to filter it through organisation unit of level 6. the response is very very slow. it took me around 4 minutes to get the response.  
my hardware specs are quiet good i don’t know what could have made this api so slow. i upgrade to 2.39.0 recently.

 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/8/9/89009fa641b9e3b9bd90b36ad8b7bfd3efd1096b.png)

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [28 November 2022 11:08 UTC](https://community.dhis2.org/t/extremely-slow-api-for-analytics/50791/2 "2022-11-28T11:08:54Z")

</div>

Hi @sthrohit

Could you check the logs to see if there are any errors (both Network and Catalina.out 'without sensitive info?) Maybe there are some configurations/parameters in the instance configuration that will affect the performance?

If you use the [play.dhis2.org](http://play.dhis2.org) instance to reproduce this issue, do you get the same results? Thanks!

---

<div class="post-metadata">

**Author:** ![sthrohit](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/sthrohit/32/29950_2.png) [@sthrohit](https://community.dhis2.org/u/sthrohit)\
**Post date:** [28 November 2022 15:11 UTC](https://community.dhis2.org/t/extremely-slow-api-for-analytics/50791/3 "2022-11-28T15:11:20Z")

</div>

I looked into the logs. there was no error since the request did not fail but was extremely slow. i will try replicating it in [play.dhis2.org](http://play.dhis2.org/)
