pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
To: Shawn <postgres@xmtservices.net>
Subject: Re: Slow Query
Date: Sun, 02 Sep 2007 10:49:09 -0500
Message-ID: <46DA9522.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <20070901102947.0c0a50a3@boffin.xmtservices.net>
References: <20070901102947.0c0a50a3@boffin.xmtservices.net>

>>> On Sat, Sep 1, 2007 at 12:29 PM, in message
<20070901102947.0c0a50a3@boffin.xmtservices.net>, Shawn
<postgres@xmtservices.net> wrote: 
> update shawns_data set alias = null;
> Even after VACUUM this simple line takes 35 sec to complete.
 
Would any rows already have a null alias when you run this?
 
If so, try adding 'where alias is not null' to the query.
 
-Kevin
 





view thread (112+ messages)  latest in thread

Message-ID: <46DA9522.EE98.0025.0@wicourts.gov>
Permalink:  ../46DA9522.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/46DA9522.EE98.0025.0@wicourts.gov

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, postgres@xmtservices.net
  Subject: Re: Slow Query
  In-Reply-To: <46DA9522.EE98.0025.0@wicourts.gov>

* 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