pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Graham Vickrage <graham@digitalplanit.com>
To: Postgres SQL <pgsql-sql@postgresql.org>
Subject: Update taking forever
Date: Thu, 29 Mar 2001 19:42:15 +0100
Message-ID: <NDBBJABDILOPAOOMFJHOAEOECIAA.graham@digitalplanit.com> (raw)

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

Attachments:

  winmail.dat (application/ms-tnef, 1.7K) download

Message-ID: <NDBBJABDILOPAOOMFJHOAEOECIAA.graham@digitalplanit.com>
Permalink:  ../NDBBJABDILOPAOOMFJHOAEOECIAA.graham@digitalplanit.com/
Also on:    postgresql.org/message-id/NDBBJABDILOPAOOMFJHOAEOECIAA.graham@digitalplanit.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: graham@digitalplanit.com
  Subject: Re: Update taking forever
  In-Reply-To: <NDBBJABDILOPAOOMFJHOAEOECIAA.graham@digitalplanit.com>
  References: <NDBBJABDILOPAOOMFJHOAEOECIAA.graham@digitalplanit.com>

* 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