Re: Anti join miscalculates row number? - Mailing list pgsql-performance

From Jens Reufsteck
Subject Re: Anti join miscalculates row number?
Date
Msg-id D7575D5CF73EAA46B288ACE093F35F010538F9FB494F@GRPGTIMAILBOX.groupgti.net
Whole thread Raw
In response to Re: Anti join miscalculates row number?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.reufsteck@staufenbiel.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

pgsql-performance by date:

Previous
From: Robert Haas
Date:
Subject: Re: Composite keys
Next
From: Claudio Freire
Date:
Subject: Re: Composite keys