pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kishore B <kishorebh@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Help needed to set the Optimal Value for shared_buffers.
Date: Sat, 02 Jul 2005 09:52:32 -0400
Message-ID: <25021.1120312352@sss.pgh.pa.us> (raw)
In-Reply-To: <42567e0605070205019007657@mail.gmail.com>
References: <42567e0605070205019007657@mail.gmail.com>

Kishore B <kishorebh@gmail.com> writes:
>   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?

There is no such file in any standard distribution of Postgres.  I guess
that some previous admin of your machine made it as a copy of one set of
config parameters that he was experimenting with.

>  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.

Opinions vary, but I would say that 10000-50000 buffers is a reasonable
range to be working in.

			regards, tom lane



view thread (2+ messages)

Message-ID: <25021.1120312352@sss.pgh.pa.us>
Permalink:  ../25021.1120312352@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25021.1120312352@sss.pgh.pa.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kishorebh@gmail.com
  Subject: Re: Help needed to set the Optimal Value for shared_buffers.
  In-Reply-To: <25021.1120312352@sss.pgh.pa.us>
  References: <42567e0605070205019007657@mail.gmail.com> <25021.1120312352@sss.pgh.pa.us>

* 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