X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 06DEF329D04 for ; Sat, 18 Sep 2004 21:03:44 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21822-08 for ; Sat, 18 Sep 2004 20:03:38 +0000 (GMT) Received: from trofast.sesse.net (trofast.sesse.net [129.241.93.32]) by svr1.postgresql.org (Postfix) with ESMTP id 6BE76329CFD for ; Sat, 18 Sep 2004 21:03:38 +0100 (BST) Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1C8lQm-0001Cg-00 for ; Sat, 18 Sep 2004 22:03:36 +0200 Date: Sat, 18 Sep 2004 22:03:36 +0200 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: Planner having way wrong estimate for group aggregate Message-ID: <20040918200336.GA4598@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <20040918170117.GA3354@uio.no> <7261.1095536893@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7261.1095536893@sss.pgh.pa.us> X-Operating-System: Linux 2.6.6 on a i686 User-Agent: Mutt/1.5.6+20040818i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/197 X-Sequence-Number: 8325 On Sat, Sep 18, 2004 at 03:48:13PM -0400, Tom Lane wrote: > 7.4 doesn't have any statistics on expression indexes. 8.0 will do what > you want though. (I just fixed an oversight that prevented it from > doing so...) OK, so I'll have to wait for 8.0.0beta3 or 8.0.0 (I tried 8.0.0beta2, it gave me zero difference) -- fortunately, I can probably wait at the rate everything else is progressing here. :-) /* Steinar */ -- Homepage: http://www.sesse.net/