Update taking forever - Mailing list pgsql-sql

From Graham Vickrage
Subject Update taking forever
Date
Msg-id NDBBJABDILOPAOOMFJHOAEOECIAA.graham@digitalplanit.com
Whole thread Raw
List pgsql-sql
I am trying to do an update on column in a table with 1.5 millions rows.

The SQL is as follows, I am also putting it in a transaction in case things
go wrong.

begin;
update statistics set parameters = NULL where parameters ='';

An explain produces the following: -
Seq Scan on statistics  (cost=0.00..56174.49 rows=14976 width=88)

Would anyone be able to tell me why it is seemingly infinite, i'm running
linux, postgres v7.0

Cheers

Graham

Attachment

pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Calling Java from psql (was Re: requesting help)
Next
From: Jeff Eckermann
Date:
Subject: RE: serial type; race conditions