From: Sorin N. Ciolofan <ciolofan@ics.forth.gr>
To: 'Shoaib Mir' <shoaibmir@gmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: Increasing the shared memory
Date: Mon, 2 Apr 2007 17:52:15 +0300
Message-ID: <20070402145131.4D83A8E40FC@mailhost.ics.forth.gr> (raw)
In-Reply-To: <bf54be870704020300u21fcf0fq5c8950d7dfbe9e1@mail.gmail.com>
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
<http://www.postgresql.org/docs/current/static/runtime-config-connection.htm
l#GUC-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ciolofan@ics.forth.gr, shoaibmir@gmail.com, pgsql-general@postgresql.org
Subject: Re: Increasing the shared memory
In-Reply-To: <20070402145131.4D83A8E40FC@mailhost.ics.forth.gr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox