Re: [Dhis2-users] can't delete data element

2016-11-17 Thread channara rin
YES,
thank you for reminding...
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] can't delete data element

2016-11-17 Thread Knut Staring
This should be obvious, but better to remind people one time too much:
If you decide to run DELETE queries, please always remember to first do a
backup (pg_dump).

On Nov 18, 2016 8:27 AM, "channara rin"  wrote:

> Note thank you
>
> On Fri, Nov 18, 2016 at 2:20 PM, Ant Snyman  wrote:
>
>> Yes you are right. Some sql scripts you can run from the UI (SQLVIEWS -
>> data administration) but you cannot update or delete using SQLVIEW, so in
>> this case you would have to do it in the "back-end". What you could do to
>> make sure is use SQLVIEW to see if that dataelementid exists in the
>> datavalueaudit table. Something like "select * from datavalueaudit where
>> dataelementid = .. ".
>>
>> Regards
>>
>> Ant Snyman
>>
>> On 18 November 2016 at 09:10, channara rin 
>> wrote:
>>
>>> ohh,i see...
>>> but sql script can only run on server? cannot from client side?
>>>
>>> On Fri, Nov 18, 2016 at 2:08 PM, Ant Snyman  wrote:
>>>
 Hi Channara,
 There is also a table called datavalueaudit which also contains a
 reference to the dataelementid. The record should also be deleted from this
 table, I normally do it through sql script, not sure if deleting a
 datavalue from the UI will also remove the datavalueaudit record.
 Regards
 Ant Snyman


 On 18 November 2016 at 06:38, channara rin 
 wrote:

> yes,
> my DE use cate-combo and group.
> so after remove group, i can delete?
>
>
> On Fri, Nov 18, 2016 at 11:30 AM, Prosper BT 
> wrote:
>
>> Hi Channara,
>>
>> Did you assign it an option set or cat-comb or grouped it in a group
>> or even assigned it to a dataset or program,
>>
>> You have to check all these before deleting it.
>>
>> Regards
>>
>> Prosper Behumbiize, MPH
>> DHIS2 Implementation| HISP Uganda/University Of Oslo
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>> On Fri, Nov 18, 2016 at 5:04 AM, channara rin > > wrote:
>>
>>> dear friend,
>>> i created new dataset and put only data element want to delete and
>>> then go through to delete data value already.
>>> but i still see the message like below:
>>> [image: Inline image 1]
>>>
>>> On Fri, Nov 18, 2016 at 9:02 AM, Shurajit Dutta <
>>> shurajitdu...@gmail.com> wrote:
>>>
 Hi Channara,

 You would have to delete all the values associated with that DE
 first.

 On Fri, Nov 18, 2016 at 9:43 AM, channara rin <
 rin.chann...@gmail.com> wrote:

> dear all,
> do you know how to delete data element that we already used input
> data value?
>
> regards,
> channara
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


 --
 Shurajit Dutta
 Health Information Consultant

>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


 --

 *Ant Snyman*

 *Cell: 0824910449*

 *Landline: 028 2713242*


 Health Information Systems Program - SA

 *This message and any attachments are subject to a disclaimer published
 at http://www.hisp.org/policies.html#comms_disclaimer
 .  Please read the
 disclaimer before opening any attachment or taking any other action in
 terms of this electronic transmission.  If you cannot access the
 disclaimer, kindly send an email to disclai...@hisp.org
  and a copy will be provided to you. By replying to
 this e-mail or opening any attachment you agree to be bound by the
 provisions of the disclaimer.*

>>>
>>>
>>
>>
>> --
>>
>> *Ant Snyman*
>>
>> *Cell: 0824910449*
>>
>> *Landline: 028 2713242*
>>
>>
>> Health Information Systems Program - SA
>>
>> *This message and any attachments are subject to a 

Re: [Dhis2-users] can't delete data element

2016-11-17 Thread channara rin
Note thank you

On Fri, Nov 18, 2016 at 2:20 PM, Ant Snyman  wrote:

> Yes you are right. Some sql scripts you can run from the UI (SQLVIEWS -
> data administration) but you cannot update or delete using SQLVIEW, so in
> this case you would have to do it in the "back-end". What you could do to
> make sure is use SQLVIEW to see if that dataelementid exists in the
> datavalueaudit table. Something like "select * from datavalueaudit where
> dataelementid = .. ".
>
> Regards
>
> Ant Snyman
>
> On 18 November 2016 at 09:10, channara rin  wrote:
>
>> ohh,i see...
>> but sql script can only run on server? cannot from client side?
>>
>> On Fri, Nov 18, 2016 at 2:08 PM, Ant Snyman  wrote:
>>
>>> Hi Channara,
>>> There is also a table called datavalueaudit which also contains a
>>> reference to the dataelementid. The record should also be deleted from this
>>> table, I normally do it through sql script, not sure if deleting a
>>> datavalue from the UI will also remove the datavalueaudit record.
>>> Regards
>>> Ant Snyman
>>>
>>>
>>> On 18 November 2016 at 06:38, channara rin 
>>> wrote:
>>>
 yes,
 my DE use cate-combo and group.
 so after remove group, i can delete?


 On Fri, Nov 18, 2016 at 11:30 AM, Prosper BT  wrote:

> Hi Channara,
>
> Did you assign it an option set or cat-comb or grouped it in a group
> or even assigned it to a dataset or program,
>
> You have to check all these before deleting it.
>
> Regards
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation| HISP Uganda/University Of Oslo
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
> On Fri, Nov 18, 2016 at 5:04 AM, channara rin 
> wrote:
>
>> dear friend,
>> i created new dataset and put only data element want to delete and
>> then go through to delete data value already.
>> but i still see the message like below:
>> [image: Inline image 1]
>>
>> On Fri, Nov 18, 2016 at 9:02 AM, Shurajit Dutta <
>> shurajitdu...@gmail.com> wrote:
>>
>>> Hi Channara,
>>>
>>> You would have to delete all the values associated with that DE
>>> first.
>>>
>>> On Fri, Nov 18, 2016 at 9:43 AM, channara rin <
>>> rin.chann...@gmail.com> wrote:
>>>
 dear all,
 do you know how to delete data element that we already used input
 data value?

 regards,
 channara

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp


>>>
>>>
>>> --
>>> Shurajit Dutta
>>> Health Information Consultant
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp


>>>
>>>
>>> --
>>>
>>> *Ant Snyman*
>>>
>>> *Cell: 0824910449*
>>>
>>> *Landline: 028 2713242*
>>>
>>>
>>> Health Information Systems Program - SA
>>>
>>> *This message and any attachments are subject to a disclaimer published
>>> at http://www.hisp.org/policies.html#comms_disclaimer
>>> .  Please read the
>>> disclaimer before opening any attachment or taking any other action in
>>> terms of this electronic transmission.  If you cannot access the
>>> disclaimer, kindly send an email to disclai...@hisp.org
>>>  and a copy will be provided to you. By replying to
>>> this e-mail or opening any attachment you agree to be bound by the
>>> provisions of the disclaimer.*
>>>
>>
>>
>
>
> --
>
> *Ant Snyman*
>
> *Cell: 0824910449*
>
> *Landline: 028 2713242*
>
>
> Health Information Systems Program - SA
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to 

Re: [Dhis2-users] Events not getting auto-generated

2016-11-17 Thread Arun Paul
Hi Abyot,

That's not the case. Anyway I cleaned the browser cache just to be double
sure.
The issue is still not solved.
Any other ideas?

​Thanks
,
- Arun Paul

On Wed, Nov 16, 2016 at 11:19 AM, Abyot Asalefew Gizaw 
wrote:

> May be the meta data is changed after the app has run... if this is the
> case, the solution is to fully clear your browser cache and run the app
> again.
>
> ---
>
> Thank you,
> Abyot.
> (sent from mobile)
>
> On Nov 16, 2016 03:39, "Arun Paul"  wrote:
>
>> Hi Abyot,
>>
>> This issue is still not resolved. I am attaching the screenshots here.
>> I could not find anything error-like on the browser console too. I have
>> attached the both the screenshots, just after enrolling to the program and
>> just after manually generating the stage1 event.
>>
>>
>> Let me know if you find anything.
>> Thanks in advance.
>>
>> - Arun Paul
>>
>> On Mon, Nov 14, 2016 at 12:25 PM, Abyot Asalefew Gizaw 
>> wrote:
>>
>>> Hi Arun,
>>>
>>> It works fine in our demo server - which is 2.25. I don't remember any
>>> big change in that area between 2.23 and 2.25.
>>>
>>> Can you share us some screenshots? Also, do you see anything in red
>>> under your browser console?
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Mon, Nov 14, 2016 at 6:11 AM, Arun Paul  wrote:
>>>
 Thanks Prosper.
 Yes I set the incident date as the delivery date but it does not help.
 Is there anything else I have to check?

 Regards,
 Arun

 On Mon, Nov 14, 2016 at 1:09 AM, Prosper BT  wrote:

> Dear Arun,
>
> Is delivery date your incident date?
> You must have an incident date or use enrollment date for the auto
> generate events to work.
>
> Regards
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation| HISP Uganda/University Of Oslo
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
> On Sat, Nov 12, 2016 at 3:22 PM, Arun Paul 
> wrote:
>
>> Hi everyone,
>>
>> I am creating a program for tracking the PNC visits in the lines of
>> "​
>> MNCH / PNC (Adult Woman)
>> ​"​ Program configured in the Sierra Leon Demo system.
>>
>> In my case I have created multiple PNC visits such as PNC 1, PNC2,
>> PNC3 that would occur at 1,3,5 days after the delivery date which is the
>> incident date of the program.
>>
>> I would like these events to be auto-generated at scheduled days, so
>> that I can generate overdue reports for the health workers to act upon.
>> However, I cannot get this working, despite doing all the
>> configurations(Listed down below). Even after the required number of 
>> days,
>>  I can't see the overdue events are being generated for the patients, nor
>> can I see them listed in the events overdue reports.
>>
>> In the program stage configuration for each stages :
>> "Scheduled days from start" was given a valid value.
>> "Auto-generate event" was ticked on.
>>
>> Have I missed any configuration? I am using version 2.23.
>>
>> Please help.
>>
>> Thanks,
>> Arun Paul.
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp


>>>
>>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] can't delete data element

2016-11-17 Thread Prosper BT
Hi Channara,

Did you assign it an option set or cat-comb or grouped it in a group or
even assigned it to a dataset or program,

You have to check all these before deleting it.

Regards

Prosper Behumbiize, MPH
DHIS2 Implementation| HISP Uganda/University Of Oslo
+256 752 751 776 | +256 776 139 139
pros...@hispuganda.org  | pros...@dhis2.org | Skype:
prospertb

On Fri, Nov 18, 2016 at 5:04 AM, channara rin 
wrote:

> dear friend,
> i created new dataset and put only data element want to delete and then go
> through to delete data value already.
> but i still see the message like below:
> [image: Inline image 1]
>
> On Fri, Nov 18, 2016 at 9:02 AM, Shurajit Dutta 
> wrote:
>
>> Hi Channara,
>>
>> You would have to delete all the values associated with that DE first.
>>
>> On Fri, Nov 18, 2016 at 9:43 AM, channara rin 
>> wrote:
>>
>>> dear all,
>>> do you know how to delete data element that we already used input data
>>> value?
>>>
>>> regards,
>>> channara
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Shurajit Dutta
>> Health Information Consultant
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] can't delete data element

2016-11-17 Thread channara rin
dear friend,
i created new dataset and put only data element want to delete and then go
through to delete data value already.
but i still see the message like below:
[image: Inline image 1]

On Fri, Nov 18, 2016 at 9:02 AM, Shurajit Dutta 
wrote:

> Hi Channara,
>
> You would have to delete all the values associated with that DE first.
>
> On Fri, Nov 18, 2016 at 9:43 AM, channara rin 
> wrote:
>
>> dear all,
>> do you know how to delete data element that we already used input data
>> value?
>>
>> regards,
>> channara
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Shurajit Dutta
> Health Information Consultant
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] can't delete data element

2016-11-17 Thread Shurajit Dutta
Hi Channara,

You would have to delete all the values associated with that DE first.

On Fri, Nov 18, 2016 at 9:43 AM, channara rin 
wrote:

> dear all,
> do you know how to delete data element that we already used input data
> value?
>
> regards,
> channara
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Shurajit Dutta
Health Information Consultant
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] can't delete data element

2016-11-17 Thread channara rin
dear all,
do you know how to delete data element that we already used input data
value?

regards,
channara
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Average Sum in Org unit Hierarchy

2016-11-17 Thread Lars Helge Øverland
Hi David,

the way the average+sum aggregation works is roughly this:


sum( [days in data period] X data value ) / [days-in-aggregation-period]


In other words, we take the sum of the product of no of days in the data
value period and data value, divided by no of days in aggregation period.

Data value period is the period for which the raw data is collected (weekly
in your case). Aggregation period is the period which is requested in
analytics (monthly and quarterly in your case).

So in this case, the problem is that you capture data by weeks which in
reality represent bi-weeks - this confuses the aggregation output. The
holes in the data (you have many weeks without data) will pull down the
average score. Based on the rules outlined the results seems correct from
what I can see.


We could rather look into adding support for a bi-weekly period type.


best regards,

Lars



On Wed, Nov 16, 2016 at 2:24 PM, David Muturi  wrote:

> Hi Lars,
> Many thanks for your response, since we do not have biweekly defined as a
> dhis2 period type(which would be great to have), we have configured the
> dataset to be weekly but only that data is entered on a biweekly basis,
> meaning one week will miss data while another will have based on when it
> was collected. I have attached an excel download from the datavalues table
> as well as a screen shot showing the weekly periods that data is collected.
> rgds
> David
>
> 2016-11-16 14:08 GMT+03:00 Lars Helge Øverland :
>
>> Hi David,
>>
>> sounds strange indeed. We need some more info. Can you include bi-weekly
>> periods in your screenshot so that we can see what the original captured
>> value is?
>>
>> regards,
>>
>> Lars
>>
>>
>>
>> On Mon, Nov 14, 2016 at 8:50 PM, David Muturi  wrote:
>>
>>> Hi Team,
>>> I have a data element set us Average sum in org unit hierarchy and
>>> collected on a bi weekly basis, when I select the data in the pivot table,
>>> the average values are bizarre(see attachment). Is this how the above
>>> aggregation operator is meant to work or its a bug?
>>> rgds
>>> David
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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-2016, at 11:06 am, Morten Olav Hansen  > 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  > 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@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> 

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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 deleted, but unless you
have an extreme amount of data sets, or groups.. it shouldn't really take
that long

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Thu, Nov 17, 2016 at 5:41 PM, jhansi  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  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 
> 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@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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 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  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 
> 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@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> 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
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp