pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: F. Senault <fred.letter@lacave.net>
To: pgsql-performance@postgresql.org
Subject: Re: mis-estimation on data-warehouse aggregate creation
Date: Tue, 16 Nov 2004 11:55:59 +0100
Message-ID: <179155563.20041116115559@lacave.net> (raw)
In-Reply-To: <Pine.BSO.4.56.0411160339500.31841@leary.csoft.net>
References: <Pine.BSO.4.56.0411160339500.31841@leary.csoft.net>

Tuesday, November 16, 2004, 10:10:17 AM, you wrote:


>  HashAggregate  (cost=32869.33..32869.34 rows=1 width=36)
                                                ^
>                 (actual time=475182.855..475188.304 rows=911 loops=1)
                                                           ^^^
>    ->  Nested Loop  (cost=377.07..32869.32 rows=1 width=36)
                                                  ^
>                     (actual time=130.179..464299.167 rows=1232140 loops=1)
                                                            ^^^^^^^
Let me guess...  You've never run "analyze" on your tables ?

Fred




view thread (5+ messages)  latest in thread

Message-ID: <179155563.20041116115559@lacave.net>
Permalink:  ../179155563.20041116115559@lacave.net/
Also on:    postgresql.org/message-id/179155563.20041116115559@lacave.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: fred.letter@lacave.net
  Subject: Re: mis-estimation on data-warehouse aggregate creation
  In-Reply-To: <179155563.20041116115559@lacave.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox