Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A36379FB4B4 for ; Tue, 17 Apr 2007 16:05:02 -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 80917-05 for ; Tue, 17 Apr 2007 16:04:59 -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 92EF49FA6B6 for ; Tue, 17 Apr 2007 16:04:59 -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 l3HJ4v2v004753; Tue, 17 Apr 2007 15:04:57 -0400 (EDT) To: Alvaro Herrera cc: Steve , pgsql-patches@postgresql.org Subject: Re: [HACKERS] choose_bitmap_and again (was Re: [PERFORM] Strangely Variable Query Performance) In-reply-to: <20070416230104.GY5658@alvh.no-ip.org> References: <12360.1176436194@sss.pgh.pa.us> <26399.1176504501@sss.pgh.pa.us> <20070413232409.GI27255@alvh.no-ip.org> <7772.1176574886@sss.pgh.pa.us> <23414.1176588173@sss.pgh.pa.us> <26103.1176613862@sss.pgh.pa.us> <20070416230104.GY5658@alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Mon, 16 Apr 2007 19:01:04 -0400" Date: Tue, 17 Apr 2007 15:04:57 -0400 Message-ID: <4752.1176836697@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/412 X-Sequence-Number: 1979 Alvaro Herrera writes: > Steve wrote: >> So I'd say as far as I can tell with my application and my >> dataset, this change is solid and an obvious improvement. > Maybe it would be interesting to see in detail those cases that got a > bit slower, to further tweak the heuristic if necessary. Is the extra > time, time spent in planning or in execution? Since there doesn't seem to be vast interest out there in testing this further, I'm going to go ahead and apply the patch to get it out of my working directory. We can always tweak it more later if new info surfaces. regards, tom lane