Re: postgres on Windows: PAE and max memory - Mailing list pgsql-general

From Magnus Hagander
Subject Re: postgres on Windows: PAE and max memory
Date
Msg-id 4636572E.1060700@hagander.net
Whole thread Raw
In response to Re: postgres on Windows: PAE and max memory  (Jim Nasby <decibel@decibel.org>)
List 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

pgsql-general by date:

Previous
From: Tom Allison
Date:
Subject: Re: pgsql and Mac OS X
Next
From: merlyn@stonehenge.com (Randal L. Schwartz)
Date:
Subject: Re: pgsql and Mac OS X