Re: Analyze makes queries slow...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stef <svb(at)ucs(dot)co(dot)za>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Analyze makes queries slow...
Date: 2003-08-11 18:25:03
Message-ID: 5167.1060626303@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Stef <svb(at)ucs(dot)co(dot)za> writes:
> => Could we see the results of "EXPLAIN ANALYZE", rather than just EXPLAIN,
> => for the un-analyzed case?

> Attached the output of this.

Hmm... not immediately obvious where it's going wrong. Could you try
this (after ANALYZE):

set enable_mergejoin to off;
explain analyze ... query ...

If it finishes in a reasonable amount of time, send the explain output.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2003-08-11 18:50:21 Re: Analyze makes queries slow...
Previous Message Tom Lane 2003-08-11 18:14:57 Re: Windows on SuSE? 7.4