Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 2D9B89FA5FA; Mon, 2 Apr 2007 11:51:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 87000-03-2; Mon, 2 Apr 2007 11:51:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mailhost.ics.forth.gr (mailhost.ics.forth.gr [139.91.157.55]) by postgresql.org (Postfix) with ESMTP id 263519FA521; Mon, 2 Apr 2007 11:51:35 -0300 (ADT) Received: from mailhost.ics.forth.gr (mailhost.ics.forth.gr [139.91.157.55] (may be forged)) by mailhost.ics.forth.gr (8.13.8/ICS-FORTH/V10-Server-2.0.0) with ESMTP id l32EpW63016534; Mon, 2 Apr 2007 17:51:32 +0300 Received: from sappho.ics.forth.gr (unknown [127.0.0.1]) by mailhost.ics.forth.gr (Symantec Mail Security) with ESMTP id 3414B16C061; Mon, 2 Apr 2007 17:51:32 +0300 (EEST) X-AuditID: 7f000001-ac8e3bb00000050a-d4-46111873f553 Received: from SHADOWFAX (unknown [139.91.183.33]) by mailhost.ics.forth.gr (Symantec Mail Security) with ESMTP id 4D83A8E40FC; Mon, 2 Apr 2007 17:51:31 +0300 (EEST) From: "Sorin N. Ciolofan" To: "'Shoaib Mir'" Cc: , Subject: Re: Increasing the shared memory Date: Mon, 2 Apr 2007 17:52:15 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0073_01C7754F.A670B960" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 thread-index: Acd1DdYTjBIPJwQkRZGPd9A1KjHqywAJ/BmQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: Message-Id: <20070402145131.4D83A8E40FC@mailhost.ics.forth.gr> X-Brightmail-Tracker: AAAAAA== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/13 X-Sequence-Number: 25077 This is a multi-part message in MIME format. ------=_NextPart_000_0073_01C7754F.A670B960 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Thanks, I've a value of 1000 set for shared_buffers, does this means that I use 8kbX1000=8Mb of Shared Mem? The definition from the manual is quite confusing: shared_buffers (integer) Sets the amount of memory the database server uses for shared memory buffers. The default is typically 32 megabytes (32MB), but may be less if your kernel settings will not support it (as determined during initdb). This setting must be at least 128 kilobytes and at least 16 kilobytes times max_connections . What does the integer number represent? Number of shared buffers? If yes, what size does each shared buffer have? "The default is typically 32 megabytes" suggests that this integer could also represent the number of megabytes?!? In the postgresql.conf file is an ambiguous comment that could induce the idea that each shared buffer has 8 kb. So, which is the meaning of this integer? Thanks. S. _____ From: Shoaib Mir [mailto:shoaibmir@gmail.com] Sent: Monday, April 02, 2007 1:01 PM To: Sorin N. Ciolofan Cc: pgsql-general@postgresql.org; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Increasing the shared memory I guess shared_buffers (in postgresql.conf file) will help you here if you have properly setup your kernel.SHMMAX value. -- Shoaib Mir EnterpriseDB (www.enterprisedb.com ) On 4/2/07, Sorin N. Ciolofan wrote: Hello! I'd like to ask you if there is any Postgre configuration parameter (like the ones defined in postgresql.conf file) that could be used for increasing the shared memory for Postgre? Thank you very much With best regards, Sorin ------=_NextPart_000_0073_01C7754F.A670B960 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

   = ;          Thanks,

 =

 =

   = ;         I’ve a value of 1000 set for = shared_buffers, does this means that I use 8kbX1000=3D8Mb of Shared = Mem?

   = ;        

The definition = from the manual is quite confusing:

 =

shared_buffers (integer)

Sets the amount of memory the = database server uses for shared memory buffers. The default is typically 32 megabytes = (32MB), but may be less if your kernel settings will not support it = (as determined during initdb). This setting = must be at least 128 kilobytes and at least 16 kilobytes times max_connections.

 =

What does the = integer number represent? Number of shared buffers? If yes, what size does each = shared buffer have?

“The default is typically 32 megabytes” suggests that this integer could also represent the = number of megabytes?!?

In the = postgresql.conf file is an ambiguous comment that could induce the idea that each shared = buffer has 8 kb.

So, which is the = meaning of this integer?

 =

Thanks.

S.

 =


From: Shoaib Mir [mailto:shoaibmir@gmail.com]
Sent: Monday, April 02, = 2007 1:01 PM
To: Sorin N. Ciolofan
Cc: = pgsql-general@postgresql.org; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] = Increasing the shared memory

 

I guess shared_buffers (in postgresql.conf = file) will help you here if you have properly setup your kernel.SHMMAX value.

--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com = )

On = 4/2/07, Sorin N. Ciolofan <ciolofan@ics.forth.gr> = wrote:

 

 Hello!

 

 I'd like to ask you = if there is any Postgre configuration parameter (like the ones defined in postgresql.conf file) that could be used for increasing the shared = memory for Postgre?

 

Thank you very = much

With best = regards,

Sorin

 

------=_NextPart_000_0073_01C7754F.A670B960--