Re: Slow update

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Slow update
Date: 2009-01-21 16:29:53
Message-ID: 20090121162953.GA3008@frubble.xen.chris-lamb.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Herouth Maoz 2009-01-21 16:36:13 Re: Slow update
Previous Message Sam Mason 2009-01-21 16:22:43 Re: autovacuum daemon