pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mr OCP <mr_ocp@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Please help - tks
Date: Thu, 18 Oct 2001 16:35:01 +1000 (EST)
Message-ID: <20011018063501.31635.qmail@web20610.mail.yahoo.com> (raw)

Hi Folks

We have about 300,000 records to update, I have
created a file with the ids of the records to be
updated, since the number of records to be updated is
very large, the update statement takes forever and
server slows down dramatically, therefore I want to do
one at a time.

Do you guys have any script which may update records
one by one using the file that lists these records. I
am running postgresql sever under Unix, any kind of
script would do, whether its a perl, bash or sql
whatever script

Thanks for your help
Mike

http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.



view thread (8+ messages)  latest in thread

Message-ID: <20011018063501.31635.qmail@web20610.mail.yahoo.com>
Permalink:  ../20011018063501.31635.qmail@web20610.mail.yahoo.com/
Also on:    postgresql.org/message-id/20011018063501.31635.qmail@web20610.mail.yahoo.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-admin@postgresql.org
  Cc: mr_ocp@yahoo.com
  Subject: Re: Please help - tks
  In-Reply-To: <20011018063501.31635.qmail@web20610.mail.yahoo.com>
  References: <20011018063501.31635.qmail@web20610.mail.yahoo.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