← Back to team overview

dhis2-users team mailing list archive

Re: Deleting DataElement is very slow in DHIS 2.23 and 2.22

 

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 <jhansirk@xxxxxxxxxxxxxxxx> wrote:

> 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-2016, at 11:06 am, Morten Olav Hansen <morten@xxxxxxxxx> wrote:
>
> 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 <jhansirk@xxxxxxxxxxxxxxxx>
> wrote:
>
>> 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 DHIS 2.23 and 2.22.
>>
>> Thanks,
>> Poulami/Jhansi
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>

References