From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | DM <dm(dot)aeqa(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: SHMMAX and SHMALL question |
Date: | 2011-01-22 03:13:18 |
Message-ID: | AANLkTikKnrN-s6nLcadaFM0LYBDyneW+eju9Ho+jkN3u@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Jan 21, 2011 at 6:34 PM, DM <dm(dot)aeqa(at)gmail(dot)com> wrote:
> Firstof all sorry for posting linux kernel question in pgsql-general, but i
> am trying to figure out what value to set for postgresql db server.
>
> RAM = 16GB, what value should i set for shmall?
>
> If i set shmall to 4294967296 (4GB),
shmall is measured in 4096 byte pages. So, you wouldn't set it to
~2^32, but 2^32/2^12 so you'd set it to 2^20 or 1M pages for 4G of
space.
> current PAGE_SIZE is 4096 should i need
> to set my shmmax = 4294967296*4096 = 17592186044416?
shmmax is set in bytes, so no translaction needed, just set it to 2^32
(reference: http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.uprun.doc/doc/t0008238.htm)
From | Date | Subject | |
---|---|---|---|
Next Message | Christian Ullrich | 2011-01-22 06:58:42 | Re: PostgreSQL 9.0.1 PITR can not copy WAL file |
Previous Message | Nick Rudnick | 2011-01-22 03:01:27 | Re: Are there any projects interested in object functionality? (+ rule bases) |