Re: Analyze makes queries slow... - Mailing list pgsql-performance

From Tom Lane
Subject Re: Analyze makes queries slow...
Date
Msg-id 5167.1060626303@sss.pgh.pa.us
Whole thread Raw
In response to Re: Analyze makes queries slow...  (Stef <svb@ucs.co.za>)
Responses Re: Analyze makes queries slow...
List pgsql-performance
Stef <svb@ucs.co.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

pgsql-performance by date:

Previous
From: Stef
Date:
Subject: Re: Analyze makes queries slow...
Next
From: Tom Lane
Date:
Subject: Re: Analyze makes queries slow...