Re: Slow update - Mailing list pgsql-general

From Sam Mason
Subject Re: Slow update
Date
Msg-id 20090121162953.GA3008@frubble.xen.chris-lamb.co.uk
Whole thread Raw
In response to Re: Slow update  (Herouth Maoz <herouth@unicell.co.il>)
List pgsql-general
On Wed, Jan 21, 2009 at 02:55:00PM +0200, Herouth Maoz wrote:
> Filip Rembiakowski wrote:
> > 2. can you post results of EXPLAIN ANALYZE (please note it actually
> > executes the query)?
>
> Well, if it executes the query it's a problem.

You can wrap an EXPLAIN ANALYSE up in BEGIN;...ROLLBACK;.  That way
PG won't record any of the changes permanently.  More explanation is
available in the docs:

  http://www.postgresql.org/docs/current/static/sql-explain.html

--
  Sam  http://samason.me.uk/

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: autovacuum daemon
Next
From: Herouth Maoz
Date:
Subject: Re: Slow update