Re: COPY command details - Mailing list pgsql-general

From A. Kretschmer
Subject Re: COPY command details
Date
Msg-id 20070329173405.GA21362@a-kretschmer.de
Whole thread Raw
In response to COPY command details  (Benjamin Arai <benjamin@araisoft.com>)
List pgsql-general
am  Thu, dem 29.03.2007, um 10:02:49 -0700 mailte Benjamin Arai folgendes:
> So, is there a way to defer the index updating until a later period
> of time.  More specifically, I would like to do several COPIES to a
> running database, then afterward force a update on the index via a
> vacuum or something similar.

Drop the index(es), do the COPIES, recreate the index(es). You can do this
within a transaction.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: Benjamin Arai
Date:
Subject: Re: COPY command details
Next
From: David Fetter
Date:
Subject: Re: Oracle to PSQL function