pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stef <svb@ucs.co.za>
Cc: pgsql-performance@postgresql.org
Subject: Re: Analyze makes queries slow...
Date: Mon, 11 Aug 2003 14:25:03 -0400
Message-ID: <5167.1060626303@sss.pgh.pa.us> (raw)
In-Reply-To: <20030811184736.7e191a86.svb@ucs.co.za>
References: <20030811155841.483ffd93.svb@ucs.co.za>
	<2934.1060616625@sss.pgh.pa.us>
	<20030811184736.7e191a86.svb@ucs.co.za>

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



view thread (7+ messages)  latest in thread

Message-ID: <5167.1060626303@sss.pgh.pa.us>
Permalink:  ../5167.1060626303@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5167.1060626303@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, svb@ucs.co.za
  Subject: Re: Analyze makes queries slow...
  In-Reply-To: <5167.1060626303@sss.pgh.pa.us>
  References: <20030811155841.483ffd93.svb@ucs.co.za> <2934.1060616625@sss.pgh.pa.us> <20030811184736.7e191a86.svb@ucs.co.za> <5167.1060626303@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