Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 627999FB2D9 for ; Sun, 15 Apr 2007 05:21:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 75518-02 for ; Sun, 15 Apr 2007 05:21:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from kittyhawk.tanabi.org (nc-67-76-229-82.sta.embarqhsd.net [67.76.229.82]) by postgresql.org (Postfix) with ESMTP id AB0049FB200 for ; Sun, 15 Apr 2007 05:21:43 -0300 (ADT) Received: from kittyhawk.tanabi.org (localhost [127.0.0.1]) by kittyhawk.tanabi.org (8.13.8/8.13.8) with ESMTP id l3F8DrHH024235; Sun, 15 Apr 2007 04:13:53 -0400 (EDT) Received: from localhost (cheetah@localhost) by kittyhawk.tanabi.org (8.13.8+Sun/8.13.8/Submit) with ESMTP id l3F8DrDe024231; Sun, 15 Apr 2007 04:13:53 -0400 (EDT) X-Authentication-Warning: kittyhawk.tanabi.org: cheetah owned process doing -bs Date: Sun, 15 Apr 2007 04:13:53 -0400 (EDT) From: Steve To: Tom Lane cc: pgsql-patches@postgreSQL.org, Alvaro Herrera Subject: Re: [HACKERS] choose_bitmap_and again (was Re: [PERFORM] Strangely Variable Query Performance) In-Reply-To: <26103.1176613862@sss.pgh.pa.us> Message-ID: References: <10117.1176420763@sss.pgh.pa.us> <10355.1176422445@sss.pgh.pa.us> <10503.1176423606@sss.pgh.pa.us> <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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/380 X-Sequence-Number: 1947 > > Can you find any cases where it makes a worse choice than before? > Another thing to pay attention to is whether the planning time gets > noticeably worse. If we can't find any cases where it loses badly > on those measures, I'll feel comfortable in applying it... > I'll see what I can find -- I'll let you know on Monday if I can find any queries that perform worse. My tests so far have shown equivalent or better performance so far but I've only done sort of a survey so far ... I've got plenty of special cases to test that should put this through the paces. Steve