From: Julius Tuskenis <julius@nsoft.lt>
To: pgsql-performance@postgresql.org
Subject: Re: Anti join miscalculates row number?
Date: Thu, 27 Oct 2011 10:03:30 +0300
Message-ID: <4EA90242.5040109@nsoft.lt> (raw)
In-Reply-To: <000d01cc93c9$5d3a8e90$17afabb0$@reufsteck@staufenbiel.de>
References: <000d01cc93c9$5d3a8e90$17afabb0$@reufsteck@staufenbiel.de>
Hello, Jens
On 2011.10.26 13:23, Jens Reufsteck wrote:
> 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.
>
I'm sorry for the silly question, but have you tried analyze on your
database or at least the tables involved in the query ?
--
Julius Tuskenis
Head of the programming department
UAB nSoft
mob. +37068233050
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: julius@nsoft.lt
Subject: Re: Anti join miscalculates row number?
In-Reply-To: <4EA90242.5040109@nsoft.lt>
* 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