X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8C0625299D for ; Sat, 2 Jul 2005 10:52:38 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 18141-09 for ; Sat, 2 Jul 2005 13:52:30 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8A17852833 for ; Sat, 2 Jul 2005 10:52:29 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j62DqXqg025022; Sat, 2 Jul 2005 09:52:33 -0400 (EDT) To: Kishore B Cc: "pgsql-admin@postgresql.org" Subject: Re: Help needed to set the Optimal Value for shared_buffers. In-reply-to: <42567e0605070205019007657@mail.gmail.com> References: <42567e0605070205019007657@mail.gmail.com> Comments: In-reply-to Kishore B message dated "Sat, 02 Jul 2005 17:31:58 +0530" Date: Sat, 02 Jul 2005 09:52:32 -0400 Message-ID: <25021.1120312352@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/9 X-Sequence-Number: 18065 Kishore B 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