X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 7497C9DC818 for ; Fri, 10 Feb 2006 05:55:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 42687-05 for ; Fri, 10 Feb 2006 05:55:55 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from ctb-mesg4.saix.net (ctb-mesg4.saix.net [196.25.240.74]) by postgresql.org (Postfix) with ESMTP id 2DD599DC888 for ; Fri, 10 Feb 2006 05:55:51 -0400 (AST) Received: from mygus (dsl-146-121-181.telkomadsl.co.za [165.146.121.181]) by ctb-mesg4.saix.net (Postfix) with ESMTP id 8D1C03B9D; Fri, 10 Feb 2006 11:55:51 +0200 (SAST) From: "James Dey" To: "'Richard Huxton'" Cc: "'Postgresql Performance'" Subject: Re: Basic Database Performance Date: Fri, 10 Feb 2006 11:55:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <43EC61DD.8010106@archonet.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYuJ2nIqlz6tMfMRBud9EgOgA5QdwAALvzA Message-Id: <20060210095551.8D1C03B9D@ctb-mesg4.saix.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200602/99 X-Sequence-Number: 17085 Sorry about that James Dey tel +27 11 704-1945 cell +27 82 785-5102 fax +27 11 388-8907 mail james@mygus.com -----Original Message----- From: Richard Huxton [mailto:dev@archonet.com] Sent: 10 February 2006 11:50 AM To: James Dey Cc: 'Postgresql Performance' Subject: Re: [PERFORM] Basic Database Performance Don't forget to cc: the list. James Dey wrote: > Hi Richard, > > Firstly, thanks a million for the reply. > > To answer your questions: > 1. Are you limited by CPU, memory or disk i/o? > I am not limited, but would like to get the most out of the config I have in > order to be able to know what I'll get, when I scale up. But you said: "During the day, the system is incredibly slow to a point where it is unusable". So presumably one or more of cpu,memory or disk i/o is the problem. > 2. Are you happy your config settings are good? How do you know? > I'm not, and would appreciate any help with these. If you have a look here, there is an introduction for 7.4 http://www.varlena.com/varlena/GeneralBits/Tidbits/index.php For 8.x you might find the following more useful. http://www.powerpostgresql.com/PerfList > 3. Are there particular queries that are causing the problem, or lock > contention? > Not that I can see What is the balance between activity on Apache/PHP/PostgreSQL? -- Richard Huxton Archonet Ltd