pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jens Reufsteck <jens.reufsteck@staufenbiel.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Anti join miscalculates row number?
Date: Wed, 26 Oct 2011 10:45:29 -0400
Message-ID: <12845.1319640329@sss.pgh.pa.us> (raw)
In-Reply-To: <000d01cc93c9$5d3a8e90$17afabb0$@reufsteck@staufenbiel.de>
References: <000d01cc93c9$5d3a8e90$17afabb0$@reufsteck@staufenbiel.de>

"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



view thread (4+ messages)  latest in thread

Message-ID: <12845.1319640329@sss.pgh.pa.us>
Permalink:  ../12845.1319640329@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12845.1319640329@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jens.reufsteck@staufenbiel.de
  Subject: Re: Anti join miscalculates row number?
  In-Reply-To: <12845.1319640329@sss.pgh.pa.us>

* 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