Re: [Dhis2-users] Deleting DataElement is very slow in DHIS 2.23 and 2.22

2016-11-17 Thread jhansi
Thanks Morten, 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-20

Re: [Dhis2-users] Deleting DataElement is very slow in DHIS 2.23 and 2.22

2016-11-17 Thread Morten Olav Hansen
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 delete

Re: [Dhis2-users] Deleting DataElement is very slow in DHIS 2.23 and 2.22

2016-11-17 Thread Lars Helge Øverland
Hi Jhansi, 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? regards, Lars On Thu, Nov 17, 2016 at 11:41 AM, jhansi wrote: > Thanks Morten, > > We are

Re: [Dhis2-users] Deleting DataElement is very slow in DHIS 2.23 and 2.22

2016-11-16 Thread Morten Olav Hansen
Hi Which endpoint are you using to delete? could you try with preheatCache=false? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Nov 17, 2016 at 11:54 AM, jhansi wrote: > Hello, > > While removing some of the un used data elements from DHIS we ha

[Dhis2-users] Deleting DataElement is very slow in DHIS 2.23 and 2.22

2016-11-16 Thread jhansi
Hello, 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 DH