X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 0BC0E3106CD for ; Tue, 1 Jul 2003 13:02:27 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 64290-04 for ; Tue, 1 Jul 2003 10:02:16 -0300 (ADT) Received: from mwinf0203.wanadoo.fr (smtp7.wanadoo.fr [193.252.22.29]) by svr1.postgresql.org (Postfix) with ESMTP id 733A23106B8 for ; Tue, 1 Jul 2003 10:02:15 -0300 (ADT) Received: from Paris (ABoulogne-110-1-3-43.w80-15.abo.wanadoo.fr [80.15.41.43]) by mwinf0203.wanadoo.fr (SMTP Server) with ESMTP id 243FC1000156; Tue, 1 Jul 2003 15:02:15 +0200 (CEST) Reply-To: From: "Michael Mattox" To: "Robert Treat" Cc: Subject: Re: Version 7 question Date: Tue, 1 Jul 2003 15:02:21 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1057063946.24304.377.camel@camel> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Archive-Number: 200307/9 X-Sequence-Number: 2302 > yes, I'd say start with about 25% of RAM, then adjust from there. If 25% > takes you over your SHMMAX then start at your SHMMAX. You're the first person I've seen to suggest that many buffers. I've read that too many can slow down performance. I have 1.5 gigs of RAM on my server but I'm also running a few other java programs that take up probably 500 megs total of memory, leaving me 1gig for Postgres. Should I set my shared buffers to be 25% of 1gig? That would be 32768. Then what should my effective cache be? Right now I have it set to 64000 which would be 512megs. Between the buffers and cache that'd be a total of 768megs, leaving approximately 768 for my other java apps & the OS. Sounds reasonable to me. Michael