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 D53A311F6B99 for ; Fri, 7 Apr 2006 15:41:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19603-06 for ; Fri, 7 Apr 2006 15:41:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 8762111F6C57 for ; Fri, 7 Apr 2006 15:41:43 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k37Ife4i015234; Fri, 7 Apr 2006 14:41:40 -0400 (EDT) To: Gavin Hamill cc: pgsql-performance@postgresql.org Subject: Re: pg 8.1.3, AIX, huge box, painfully slow. In-reply-to: <20060407185823.abe93017.gdh@laterooms.com> References: <20060407185823.abe93017.gdh@laterooms.com> Comments: In-reply-to Gavin Hamill message dated "Fri, 07 Apr 2006 18:58:23 +0100" Date: Fri, 07 Apr 2006 14:41:39 -0400 Message-ID: <15233.1144435299@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.131 required=5 tests=[AWL=0.131] X-Spam-Score: 0.131 X-Spam-Level: X-Archive-Number: 200604/145 X-Sequence-Number: 18229 Gavin Hamill writes: > OK, having moved from our quad-xeon to an 8-CPU IBM pSeries 650 > (8x1.45GHz POWER4 instead of 4 x 3GHz Xeon), our query times have shot > up and our website is next to unusable. The IBM is not swapping (not > with 16GB of RAM!), disk i/o is low, but there must be something > critically wrong for this monster to be performing so badly.. Have you vacuumed/analyzed since reloading your data? Compare some EXPLAIN ANALYZE outputs for identical queries on the two machines, that usually helps figure out what's wrong. regards, tom lane