Re: postgres on Windows: PAE and max memory

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Jim Nasby <decibel(at)decibel(dot)org>
Cc: William Garrison <postgres(at)mobydisk(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgres on Windows: PAE and max memory
Date: 2007-04-30 20:53:02
Message-ID: 4636572E.1060700@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jim Nasby wrote:
> On Apr 24, 2007, at 8:50 PM, William Garrison wrote:
>> I have a server running Windows Server 2003 32-bit that has 8GB of
>> memory. Our system administrator installed PAE (Physical Address
>> Extensions) which I know MS SQL Server will use, but I'm not sure if
>> PostgreSQL will.
>>
>> Can PostgreSQL use the memory above 2GB and 4GB?
>
> Have you tried it? :)
>
> I don't know off-hand if it can or not, but keep in mind that unlike
> most databases, PostgreSQL tends to rely on the OS helping with caching,
> so you don't generally want to give all your memory to PostgreSQL to use.

PostgreSQL should be able to use it just fine for sort memory, as long
as it's split between different backends. You can't use it all for
shared memory. And as Jim says, leave a lot for the file cache.

//Magnus

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Randal L. Schwartz 2007-04-30 21:20:57 Re: pgsql and Mac OS X
Previous Message Tom Allison 2007-04-30 20:42:37 Re: pgsql and Mac OS X