Tuning Postgresql on Windows XP Pro 32 bit

Lists: pgsql-hackers
From: Doug Knight <dknight(at)wsi(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Tuning Postgresql on Windows XP Pro 32 bit
Date: 2008-01-03 15:57:41
Message-ID: 1199375861.32320.13.camel@arc-dknightlx.wsicorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

All,
Is there a place where I can find information about tuning postgresql
running on a Windows XP Pro 32 bit system? I installed using the binary
installer. I am seeing a high page fault delta and total page faults for
one of the postgresql processes. Any help would be great.

Doug Knight
WSI Corp.


From: "Usama Dar" <munir(dot)usama(at)gmail(dot)com>
To: "Doug Knight" <dknight(at)wsi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Tuning Postgresql on Windows XP Pro 32 bit
Date: 2008-01-06 13:23:17
Message-ID: ff0e67090801060523j489d81ebje9fef60d6d95eb43@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Jan 3, 2008 8:57 PM, Doug Knight <dknight(at)wsi(dot)com> wrote:

> All,
> Is there a place where I can find information about tuning postgresql
> running on a Windows XP Pro 32 bit system? I installed using the binary
> installer. I am seeing a high page fault delta and total page faults for one
> of the postgresql processes. Any help would be great.
>
>
Which version of postgres? the process you are seeing this for is a user
process?

--
Usama Munir Dar http://www.linkedin.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar


From: Doug Knight <dknight(at)wsi(dot)com>
To: Usama Dar <munir(dot)usama(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Tuning Postgresql on Windows XP Pro 32 bit
Date: 2008-01-07 13:07:32
Message-ID: 1199711252.2968.3.camel@arc-dknightlx.wsicorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

We are running the binary distribution, version 8.2.5-1, installed on
Windows XP Pro 32 bit with SP2. We typically run postgres on linux, but
have a need to run it under windows as well. Our typical admin tuning
for postgresql.conf doesn't seem to be as applicable for windows.

Doug

On Sun, 2008-01-06 at 18:23 +0500, Usama Dar wrote:

>
>
>
> On Jan 3, 2008 8:57 PM, Doug Knight <dknight(at)wsi(dot)com> wrote:
>
> All,
> Is there a place where I can find information about tuning
> postgresql running on a Windows XP Pro 32 bit system? I
> installed using the binary installer. I am seeing a high page
> fault delta and total page faults for one of the postgresql
> processes. Any help would be great.
>
>
>
> Which version of postgres? the process you are seeing this for is a
> user process?
>
>
>
>
> --
> Usama Munir Dar http://www.linkedin.com/in/usamadar
> Consultant Architect
> Cell:+92 321 5020666
> Skype: usamadar


From: Usama Dar <munir(dot)usama(at)gmail(dot)com>
To: Doug Knight <dknight(at)wsi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Tuning Postgresql on Windows XP Pro 32 bit
Date: 2008-01-07 14:49:47
Message-ID: 47823C0B.6070506@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Doug Knight wrote:
> We are running the binary distribution, version 8.2.5-1, installed on
> Windows XP Pro 32 bit with SP2. We typically run postgres on linux,
> but have a need to run it under windows as well. Our typical admin
> tuning for postgresql.conf doesn't seem to be as applicable for windows.

So what have you tuned so far? what are your current postgresql settings
that you have modified? What are your system specs for Hardware, RAM ,
CPU etc?

--
Usama Munir Dar http://www.linkedin.com/in/usamadar
<http://www.linkedin.com/in/usamadar>
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar


From: Doug Knight <dknight(at)wsi(dot)com>
To: munir(dot)usama(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Tuning Postgresql on Windows XP Pro 32 bit
Date: 2008-01-15 14:09:15
Message-ID: 1200406155.6647.31.camel@arc-dknightlx.wsicorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

We tried reducing the memory footprint of the postgres processes, via
shared_buffers (from 30000 on Linux to 3000 on Windows), max_fsm_pages
(from 2000250 on Linux to 100000 on Windows), max_fsm_relations (from
20000 on Linux to 5000 on Windows), and max_connections (from 222 on
Linux to 100 on Windows). Another variable we played with was
effective_cache_size (174000 on Linux, 43700 on Windows). None of these
reduced memory usage, or improved performance, significantly. We still
see the high page fault rate too. Other things we tried were reducing
the number of WAL buffers, and changing the wal_sync_method to
opendata_sync, all with minimal effect. I've attached the latest version
of our Windows postgresql.conf file.

Doug

On Mon, 2008-01-07 at 19:49 +0500, Usama Dar wrote:

> Doug Knight wrote:
> > We are running the binary distribution, version 8.2.5-1, installed on
> > Windows XP Pro 32 bit with SP2. We typically run postgres on linux,
> > but have a need to run it under windows as well. Our typical admin
> > tuning for postgresql.conf doesn't seem to be as applicable for windows.
>
>
> So what have you tuned so far? what are your current postgresql settings
> that you have modified? What are your system specs for Hardware, RAM ,
> CPU etc?
>
>

Attachment Content-Type Size
postgresql.conf text/plain 13.5 KB

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Doug Knight <dknight(at)wsi(dot)com>
Subject: Re: Tuning Postgresql on Windows XP Pro 32 bit
Date: 2008-01-15 16:53:22
Message-ID: 200801150853.22272.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Doug,

This thread really should be moved to pgsql-performance mailing list. Thanks,
and good luck tuning Windows.

--
Josh Berkus
PostgreSQL @ Sun
San Francisco