While removing some of the un used data elements from DHIS we have noticed that it takes around 15 minutes to delete a data element in both DHIS 2.22 and 2.23 (latest). But, we see this issue to be fixed in the latest DHIS 2.25 in play demo.
So, could you please back port the fix to DHIS 2.23 and 2.22.
While removing some of the un used data elements from DHIS we have noticed that it takes around 15 minutes to delete a data element in both DHIS 2.22 and 2.23 (latest). But, we see this issue to be fixed in the latest DHIS 2.25 in play demo.
So, could you please back port the fix to DHIS 2.23 and 2.22.
We are removing the dataElement using the DHIS UI, which internally is using DELETE ‘/dataElement/{dataElementId}’ API. We have also tried by adding preheatCache=false request params but, it still takes very long time (~15 mins) to delete.
While removing some of the un used data elements from DHIS we have noticed that it takes around 15 minutes to delete a data element in both DHIS 2.22 and 2.23 (latest). But, we see this issue to be fixed in the latest DHIS 2.25 in play demo.
So, could you please back port the fix to DHIS 2.23 and 2.22.
in 2.24 we implemented a completely new version of the metadata importer/manager, so this is not something that can easily be back-ported. Any chance you could upgrade to DHIS version 2.25?
We are removing the dataElement using the DHIS UI, which internally is using DELETE ‘/dataElement/{dataElementId}’ API. We have also tried by adding preheatCache=false request params but, it still takes very long time (~15 mins) to delete.
Thanks,
Poulami/Jhansi
On 17-Nov-2016, at 11:06 am, Morten Olav Hansen morten@dhis2.org wrote:
Hi
Which endpoint are you using to delete? could you try with preheatCache=false?
While removing some of the un used data elements from DHIS we have noticed that it takes around 15 minutes to delete a data element in both DHIS 2.22 and 2.23 (latest). But, we see this issue to be fixed in the latest DHIS 2.25 in play demo.
So, could you please back port the fix to DHIS 2.23 and 2.22.
Ok, have you tried upgrading your DHIS 2 version? not sure if this is related to your own metadata, or DHIS itself. I can’t remember a time when it ever took that long.
Other than that, I would need a database dump to investigate… there is a bit of cleanup done internally when an object is deleted, but unless you have an extreme amount of data sets, or groups… it shouldn’t really take that long
We are removing the dataElement using the DHIS UI, which internally is using DELETE ‘/dataElement/{dataElementId}’ API. We have also tried by adding preheatCache=false request params but, it still takes very long time (~15 mins) to delete.
Thanks,
Poulami/Jhansi
On 17-Nov-2016, at 11:06 am, Morten Olav Hansen morten@dhis2.org wrote:
Hi
Which endpoint are you using to delete? could you try with preheatCache=false?
While removing some of the un used data elements from DHIS we have noticed that it takes around 15 minutes to delete a data element in both DHIS 2.22 and 2.23 (latest). But, we see this issue to be fixed in the latest DHIS 2.25 in play demo.
So, could you please back port the fix to DHIS 2.23 and 2.22.