X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3617FD7938 for ; Sat, 22 Oct 2005 18:43:01 -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 99758-09 for ; Sat, 22 Oct 2005 21:42:57 +0000 (GMT) Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by svr1.postgresql.org (Postfix) with ESMTP id 776ECD77F1 for ; Sat, 22 Oct 2005 18:42:58 -0300 (ADT) Received: from sesse by cassarossa.samfundet.no with local (Exim 4.50) id 1ETR8l-0005y2-7d; Sat, 22 Oct 2005 23:42:59 +0200 Date: Sat, 22 Oct 2005 23:42:59 +0200 From: "Steinar H. Gunderson" To: Kishore B Cc: pgsql-performance@postgresql.org Subject: Re: Need help in setting optimal configuration for a huge database. Message-ID: <20051022214259.GA22328@samfundet.no> References: <42567e060510221415r2516523l4c3f9b42dee91a09@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42567e060510221415r2516523l4c3f9b42dee91a09@mail.gmail.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 required=5 tests=[AWL=0.011] X-Spam-Level: X-Archive-Number: 200510/306 X-Sequence-Number: 15074 On Sun, Oct 23, 2005 at 02:45:25AM +0530, Kishore B wrote: > Database *:* Postgresql 7.3 You definitely want to upgrade this if you can. > Memory : 2 GB For 2GB of RAM, your effective_cache_size (100000) is a bit low (try doubling it), and sort_mem (2048) is probably a bit too low as well. /* Steinar */ -- Homepage: http://www.sesse.net/