pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ioannis Anagnostopoulos <ioannis@anatec.com>
To: Claudio Freire <klaussfreire@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: A very long running query....
Date: Fri, 20 Jul 2012 22:27:31 +0100
Message-ID: <5009CD43.8000300@anatec.com> (raw)
In-Reply-To: <CAGTBQpa07PMrLA3qsM9Zf9QXcPvgntyVX7qL9CqEwQtK9LH1hA@mail.gmail.com>
References: <5007FC82.9070007@anatec.com>
	<5009CB5A.7070801@anatec.com>
	<CAGTBQpa07PMrLA3qsM9Zf9QXcPvgntyVX7qL9CqEwQtK9LH1hA@mail.gmail.com>

On 20/07/2012 22:23, Claudio Freire wrote:
> On Fri, Jul 20, 2012 at 6:19 PM, Ioannis Anagnostopoulos
> <ioannis@anatec.com> wrote:
>> "        ->  Nested Loop  (cost=0.00..20942.93 rows=53 width=144) (actual
>> time=62.174..17783236.718 rows=387105 loops=1)"
>> "              Join Filter: (feed_all_y2012m07.message_copies.msg_id =
>> feed_all_y2012m07.ship_pos_messages.msg_id)"
>> "              ->  Append  (cost=0.00..19057.93 rows=53 width=33) (actual
>> time=62.124..5486473.545 rows=387524 loops=1)"
> Misestimated row counts... did you try running an analyze, or upping
> statistic targets?
I have run analyse every so often. I think the problem is that as I get 
16K new rows every minutes, the "stats" are always out... Possible?



view thread (21+ messages)  latest in thread

Message-ID: <5009CD43.8000300@anatec.com>
Permalink:  ../5009CD43.8000300@anatec.com/
Also on:    postgresql.org/message-id/5009CD43.8000300@anatec.com

 · 

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: ioannis@anatec.com, klaussfreire@gmail.com
  Subject: Re: A very long running query....
  In-Reply-To: <5009CD43.8000300@anatec.com>

* 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