Unix Technical Forum

postgres on Windows: PAE and max memory

This is a discussion on postgres on Windows: PAE and max memory within the Pgsql General forums, part of the PostgreSQL category; --> I have a server running Windows Server 2003 32-bit that has 8GB of memory. Our system administrator installed PAE ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 03:13 PM
William Garrison
 
Posts: n/a
Default postgres on Windows: PAE and max memory

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?

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 03:18 PM
Jim Nasby
 
Posts: n/a
Default Re: postgres on Windows: PAE and max memory

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.
--
Jim Nasby jim@nasby.net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 03:18 PM
Magnus Hagander
 
Posts: n/a
Default Re: postgres on Windows: PAE and max memory

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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com