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 5AFCB3A3FB6 for ; Tue, 16 Nov 2004 19:49:11 +0000 (GMT) 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 65609-10 for ; Tue, 16 Nov 2004 19:49:02 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 228CC3A3FE7 for ; Tue, 16 Nov 2004 19:49:02 +0000 (GMT) Received: (qmail 20335 invoked by uid 1112); 16 Nov 2004 19:49:31 -0000 Date: Tue, 16 Nov 2004 14:49:31 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "F. Senault" Cc: pgsql-performance@postgresql.org Subject: Re: mis-estimation on data-warehouse aggregate creation In-Reply-To: <179155563.20041116115559@lacave.net> Message-ID: References: <179155563.20041116115559@lacave.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 200411/231 X-Sequence-Number: 9185 On Tue, 16 Nov 2004, F. Senault wrote: > Let me guess... You've never run "analyze" on your tables ? > No, I have. I mentioned that I did in my email, but you can also tell by the exactly correct guesses for some other plan steps: -> Seq Scan on period (cost=0.00..90.88 rows=3288 width=54) (actual time=0.118..12.126 rows=3288 loops=1) Kris Jurka