pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Thomas Markus <t.markus@proventis.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: update performance 8.1.4
Date: Tue, 15 Jan 2008 09:21:52 -0600
Message-ID: <dcc563d10801150721k53044b50l63bd2ce68c5c48f1@mail.gmail.com> (raw)
In-Reply-To: <478C7DEC.1020806@proventis.net>
References: <478C7DEC.1020806@proventis.net>

2008/1/15 Thomas Markus <t.markus@proventis.net>:
> Hi,
>
> How can I speed up updates?
> i try an
>   update tablename set datecol=null
> ~ 2.3 mio rows

Got any foreign keys against that table?  If so, they need to be
indexed on the other end.

What's the schema of that table and any related tables?



view thread (3+ messages)  latest in thread

Message-ID: <dcc563d10801150721k53044b50l63bd2ce68c5c48f1@mail.gmail.com>
Permalink:  ../dcc563d10801150721k53044b50l63bd2ce68c5c48f1@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10801150721k53044b50l63bd2ce68c5c48f1@mail.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-admin@postgresql.org
  Cc: scott.marlowe@gmail.com, t.markus@proventis.net
  Subject: Re: update performance 8.1.4
  In-Reply-To: <dcc563d10801150721k53044b50l63bd2ce68c5c48f1@mail.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