Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 036F7133798E for ; Thu, 11 Nov 2010 15:23:17 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 04535-05 for ; Thu, 11 Nov 2010 19:23:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 8B1B71336971 for ; Thu, 11 Nov 2010 15:23:08 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 11 Nov 2010 13:23:08 -0600 Message-Id: <4CDBEE3302000025000375D6@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Thu, 11 Nov 2010 13:22:59 -0600 From: "Kevin Grittner" To: "Robert Haas" , "Tom Lane" , "Kevin Grittner" Cc: "pgsql-performance@postgresql.org" , "Mladen Gogala" Subject: Re: anti-join chosen even when slower than old plan References: <4CD9663502000025000374B1@gw.wicourts.gov> <20961.1289347680@sss.pgh.pa.us> <4CDA62C60200002500037512@gw.wicourts.gov> <4CDACBBF020000250003755B@gw.wicourts.gov> <4CDB7BAA.7020506@vmsinfo.com> <4CDBB0A40200002500037571@gw.wicourts.gov> <18450.1289499783@sss.pgh.pa.us><18450.1289499783@sss.pgh.pa.us> <19088.1289501929@sss.pgh.pa.us> <4CDBEC8B02000025000375CF@gw.wicourts.gov> In-Reply-To: <4CDBEC8B02000025000375CF@gw.wicourts.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/164 X-Sequence-Number: 41188 I wrote: > Besides the "fully-scanned object size relative to relation size > costing adjustment" idea, s/relation size/effective cache size/ -Kevin