X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E3178D1E124 for ; Thu, 22 Apr 2004 14:46:27 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 53004-02 for ; Thu, 22 Apr 2004 14:46:25 -0300 (ADT) Received: from mail.deg.cc (mail.deg.cc [198.70.16.196]) by svr1.postgresql.org (Postfix) with ESMTP id 5D451D1E104 for ; Thu, 22 Apr 2004 14:46:24 -0300 (ADT) Received: from deg.cc (barney.deg.cc [198.70.16.205]) by mail.deg.cc (Postfix) with ESMTP id D6A3955F7D for ; Thu, 22 Apr 2004 13:46:17 -0400 (EDT) Message-ID: <4088062E.2050901@deg.cc> Date: Thu, 22 Apr 2004 13:51:42 -0400 From: Pallav Kalva User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Setting Shared Buffers , Effective Cache, Sort Mem Parameters Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/383 X-Sequence-Number: 6683 Hi We are in the process of building a new machine for our production database. Below you will see some of the harware specs for the machine. I need some help with setting these parameters (shared buffers, effective cache, sort mem) in the pg_conf file. Also can anyone explain the difference between shared buffers and effective cache , how these are allocated in the main memory (the docs are not clear on this). Here are the Hardware details: Operating System: Red Hat 9 Database Ver: Postgres 7.4 CPU'S : 4 RAM : 4 gig Datafile layout : RAID 1+0 Transaction log : on different RAID1 Array RAID Stripe Size: 8k Thanks! Pallav