pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bendik R.Johansen <bendik.johansen@gmail.com>
To: PostgreSQL Perform <pgsql-performance@postgresql.org>
Subject: Slow update
Date: Tue, 12 Apr 2005 16:12:32 +0200
Message-ID: <0201deb23790cee173bdd2d3f0e96642@gmail.com> (raw)

Hello,
I am having a bit of trouble updating a single integer column.
My table has around 10 columns and 260 000 records.


update no.records set uid = 2;
(uid is an integer. It has a btree index)

This update takes more than 20 minutes to execute. Is this normal? This 
will be totally unacceptable when my table grows.
Any ideas?





view thread (18+ messages)  latest in thread

Message-ID: <0201deb23790cee173bdd2d3f0e96642@gmail.com>
Permalink:  ../0201deb23790cee173bdd2d3f0e96642@gmail.com/
Also on:    postgresql.org/message-id/0201deb23790cee173bdd2d3f0e96642@gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: bendik.johansen@gmail.com
  Subject: Re: Slow update
  In-Reply-To: <0201deb23790cee173bdd2d3f0e96642@gmail.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