Help needed to set the Optimal Value for shared_buffers.

From: Kishore B <kishorebh(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Help needed to set the Optimal Value for shared_buffers.
Date: 2005-07-02 12:01:58
Message-ID: 42567e0605070205019007657@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,
I have a couple of issues.
One is regarding a file called 'fsync' and the other is related to
the sharedBuffers issue.

1) I am new to administering postgresql. When I was wandering
through the configuration files for the PostgreSQL, I observed the
'fsync' file. This file is almost identical to the postgresql.conf
file, but with differing values for parameters and some new / deleted
parameters when compared with the postgresql.conf file. What is the
file for? Does it have any specific importance to be taken care of?

2) What is the optimall value for shared_buffers parameter to be set
for a huge database that contains a table with upto '4GB' data. We
have a dedicated server with 2GB RAM. The maximum connections that can
be made to the server is around 500. I found a lot of variation
between opinions of different people on this value. I also observed
that the said optimal values vary greatly with the version. For
PostgreSQL7.X, some suggested an optimal value of 32MB RAM and for
PostgreSQL8.0 some suggested a range of 32MB - 480MB. We are using
PostgreSQL7.x.

Any help will be highly appreciated.

Regards,
Kishore.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-07-02 13:52:32 Re: Help needed to set the Optimal Value for shared_buffers.
Previous Message Martin Fandel 2005-07-02 11:28:51 Re: replication for hot-standby?