Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 149D89FB6D9 for ; Mon, 9 Apr 2007 18:07:51 -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 48310-06 for ; Mon, 9 Apr 2007 18:07:48 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 15C399FB51D for ; Mon, 9 Apr 2007 18:07:47 -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 l39L7k9i010652; Mon, 9 Apr 2007 17:07:46 -0400 (EDT) To: "Merlin Moncure" cc: "PostgreSQL Performance" Subject: Re: join to view over custom aggregate seems like it should be faster In-reply-to: References: Comments: In-reply-to "Merlin Moncure" message dated "Mon, 09 Apr 2007 15:05:17 -0400" Date: Mon, 09 Apr 2007 17:07:46 -0400 Message-ID: <10651.1176152866@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/214 X-Sequence-Number: 24091 "Merlin Moncure" writes: > I have an odd performance issue on 8.2 that I'd thought I'd document > here. I have a workaround, but I'm if there is something that I'm not > seeing. It's hard to comment on this without seeing the full details of the view and tables. I'm wondering where the SubPlans are coming from, for instance. regards, tom lane