Re: Anti join miscalculates row number?

From: Jens Reufsteck <jens(dot)reufsteck(at)staufenbiel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Anti join miscalculates row number?
Date: 2011-10-31 16:44:24
Message-ID: D7575D5CF73EAA46B288ACE093F35F010538F9FB494F@GRPGTIMAILBOX.groupgti.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Just tested on 9.0.5, seems ok. Explain for the suspected sub query is now in line with Analyze.

Thanks
Jens

"Jens Reufsteck" <jens(dot)reufsteck(at)staufenbiel(dot)de> writes:
> I’ve got a lengthy query, that doesn't finish in reasonable time (i.e.
> 10min+). I suspect, that the query optimizer miscalculates the number of
> rows for part of the query.
> ...
> We're using postgres 9.0.4.

Try 9.0.5. There was a bug fixed in this area.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Haas 2011-10-31 17:08:11 Re: Composite keys
Previous Message Sören Meyer-Eppler 2011-10-31 16:17:15 Re: PostgreSQL 9.0.4 blocking in lseek?