Re: Slow Query

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>, "Shawn" <postgres(at)xmtservices(dot)net>
Subject: Re: Slow Query
Date: 2007-09-02 15:49:09
Message-ID: 46DA9522.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

>>> On Sat, Sep 1, 2007 at 12:29 PM, in message
<20070901102947(dot)0c0a50a3(at)boffin(dot)xmtservices(dot)net>, Shawn
<postgres(at)xmtservices(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Shawn 2007-09-03 16:15:58 Re: Slow Query
Previous Message Tom Lane 2007-09-02 03:00:10 Re: Slow Query