Re: Import Performance - Mailing list pgsql-general

From Anthony E . Greene
Subject Re: Import Performance
Date
Msg-id 20010208030357.E4085@cp5340
Whole thread Raw
In response to Import Performance  (elwood@agouros.de (Konstantinos Agouros))
List pgsql-general
On Wed, 07 Feb 2001 15:09:07 Konstantinos Agouros wrote:
>after waiting for imports using perl dbi/prepared-statement/inserts I came
>across the idea to first create a ;-separated file and then use the copy-
>command. Should this be faster after all?

Yes. Just remember to drop indexes before the import and re-add them
afterward.

Tony
--
Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>

pgsql-general by date:

Previous
From: Anand Raman
Date:
Subject: Re: locks..
Next
From: Dirk Lutzebaeck
Date:
Subject: Re: monitoring running queries?