Re: Seeking help with a query that takes too long

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: "Manfred Koizar" <mkoi-pg(at)aon(dot)at>, "Pgsql-Performance(at)Postgresql(dot) Org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Seeking help with a query that takes too long
Date: 2003-11-12 16:05:10
Message-ID: NEBBLAAHGLEEPCGOBHDGCEJHJGAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


> >actor_full_name_uppercase on actor (cost=0.00..6.01 rows=1 width=42)
> ^^^^^^
> >(actual time=37.62..677.44 rows=3501 loops=1)
> ^^^^^^^^^
> Nick, can you find out why this row count estimation is so far off?
^^^^^^^^^

Oops- I read this backward- I see what you mean now. That's a good question.
I'm not sure what part of the stats this estimate might be pulled from. The
average is 357, but the most common frequency may be around 1.

-Nick

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Marc G. Fournier 2003-11-12 16:08:56 Re: *very* slow query to summarize data for a month ...
Previous Message Nick Fankhauser 2003-11-12 15:55:48 Re: Seeking help with a query that takes too long