Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 475E39F9A97 for ; Wed, 22 Aug 2007 01:24:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 84208-02 for ; Wed, 22 Aug 2007 01:24:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id A8B719F99B6 for ; Wed, 22 Aug 2007 01:24:30 -0300 (ADT) Received: from trofast.ipv6.sesse.net ([2001:700:300:1803:20e:cff:fe36:a766] helo=trofast.sesse.net) by cassarossa.samfundet.no with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1INhlZ-0002ay-PJ; Wed, 22 Aug 2007 06:24:28 +0200 Received: from root by trofast.sesse.net with local (Exim 4.67) (envelope-from ) id 1INhlZ-0005m2-7w; Wed, 22 Aug 2007 06:24:25 +0200 Date: Wed, 22 Aug 2007 06:24:25 +0200 From: "Steinar H. Gunderson" To: Ben Perrault Cc: pgsql-performance@postgresql.org Subject: Re: Poor Performance after Upgrade Message-ID: <20070822042425.GA22037@uio.no> Mail-Followup-To: Ben Perrault , pgsql-performance@postgresql.org References: <20070820220028.X19220@mail.creepingfur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20070820220028.X19220@mail.creepingfur.org> X-Operating-System: Linux 2.6.20.4 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.16 (2007-06-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/230 X-Sequence-Number: 26360 On Mon, Aug 20, 2007 at 10:17:14PM -0700, Ben Perrault wrote: > -> Nested Loop (cost=100000000.00..106559138.00 rows=336 > width=137) This sounds very much like you're trying to force the planner. Did you set enable_nestloop=false or something? Are there any other non-default settings that could negatively impact planner performance? /* Steinar */ -- Homepage: http://www.sesse.net/