Re: [Dhis2-users] DHIS2 Windows server

2017-07-18 Thread arvind chikne
Hi Edward, As per my experience with windows server, you should split your ram as follow 1) O/S = 2 GB 2) Postgres 9.5 = 8 GB 3) JAVA_OPTS = 4 GB (min 1024M - max 4096M) 4) Keep remain 2 GB for windows buffer As far as concern about the environment variables you must assign the following variab

Re: [Dhis2-users] Major speed issue with pg_restore

2017-07-18 Thread Bob Jolliffe
It is. How are your disks set up on windows and Ubuntu? In general the postgresql folk do not claim good performance on windows. So there is some other factor at play. On 18 Jul 2017 7:55 p.m., "Edward Robinson" wrote: > Maybe, but 2 days vs 50 minutes is a pretty big difference… > > > > *From:

[Dhis2-users] DHIS2 Windows server

2017-07-18 Thread Edward Robinson
I have a server with 16Gb RAM running Windows Server 2012 R2 and (currently) DHIS 2.16. Given that it is mostly dedicated to DHIS2, what would you suggest is the best way to split the RAM between Java/Tomcat and Postgres for optimal DHIS2 performance? Also, should I see anything under the 'abo

Re: [Dhis2-users] Major speed issue with pg_restore

2017-07-18 Thread Edward Robinson
Maybe, but 2 days vs 50 minutes is a pretty big difference… From: Bob Jolliffe [mailto:bobjolli...@gmail.com] Sent: Monday, 17 July 2017 2:33 PM To: Edward Robinson Cc: Lars Helge Øverland ; dhis2-users Subject: Re: [Dhis2-users] Major speed issue with pg_restore It is unlikely (though not imp

Re: [Dhis2-users] [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Stanley Kalyati
Thanks Calle, Very useful indeed. Stanley On Tue, Jul 18, 2017 at 3:49 PM, Calle Hedberg wrote: > Stanley, > > You can use Program Rules to hide stages, as long as you have attributes > and/or data elements already captured that can be utilised to trigger rules. > > OR that you use some kind

Re: [Dhis2-users] [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Calle Hedberg
Stanley, You can use Program Rules to hide stages, as long as you have attributes and/or data elements already captured that can be utilised to trigger rules. OR that you use some kind of pattern to e.g. assign OrgUnitCodes to OrgUnits. If all OUs providing health services have OUcode numbers bet

Re: [Dhis2-users] [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Stanley Kalyati
Thats exactly what i thought Abyot.But in my case,i want one enrollment but to disable some stages in certain OUs and allowing them to enable when at certain OUs. On Tue, Jul 18, 2017 at 3:14 PM, Abyot Gizaw wrote: > Hi, > > There needs to be enrolment for each program. > > --- > > Thank you, >

Re: [Dhis2-users] [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Knut Staring
Probably not in 2.27maybe others have better ideas... On Tue, Jul 18, 2017 at 11:44 AM, Stanley Kalyati wrote: > So we have one enrollment form for someone to be part of the program.So if > i create two programs with each with 3 stages,will someone be able to > search the clients across the

Re: [Dhis2-users] [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Stanley Kalyati
So we have one enrollment form for someone to be part of the program.So if i create two programs with each with 3 stages,will someone be able to search the clients across the two programs? On Tue, Jul 18, 2017 at 11:40 AM, Knut Staring wrote: > Right...but why does that preclude you from having

Re: [Dhis2-users] [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Knut Staring
Right...but why does that preclude you from having two programs, each with 3 stages? On Tue, Jul 18, 2017 at 11:38 AM, Stanley Kalyati wrote: > Thanks Knut but we are using Unique identifiers and we need to track these > individuals at all stages.Ofcourse right now it is going on well but what >

Re: [Dhis2-users] [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Stanley Kalyati
Thanks Knut but we are using Unique identifiers and we need to track these individuals at all stages.Ofcourse right now it is going on well but what we have noticed is that due to so many files,data clerks have ended up capturing clinical data under an OU that does not offer such services.As we wan

Re: [Dhis2-users] [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Knut Staring
Perhaps there are other ways, but obviously you could create two programs and assign them to different OUs. Knut On Tue, Jul 18, 2017 at 11:30 AM, Stanley Kalyati wrote: > Hi All, > > I have a program with 4 stages but two of these stages should only be > enabled at selected OUs.Example stages

[Dhis2-users] DISABLING A STAGE IN SOME ORG UNITS

2017-07-18 Thread Stanley Kalyati
Hi All, I have a program with 4 stages but two of these stages should only be enabled at selected OUs.Example stages for Clinic data should only be enabled at a health facility OU and not other OU.This will avoid data clerks to capture clinical data at an OU which does not offer clinical services.