Re: COPY optimization issue - Mailing list pgsql-docs

From Tom Lane
Subject Re: COPY optimization issue
Date
Msg-id 19014.1023976350@sss.pgh.pa.us
Whole thread Raw
In response to COPY optimization issue  (terry@greatgulfhomes.com)
List pgsql-docs
terry@greatgulfhomes.com writes:
> I currently just use the COPY command, but with over 800,000 records, this
> takes quite some time.
> Is there a faster way?

Drop and recreate indexes might help.  See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/populate.html

            regards, tom lane

pgsql-docs by date:

Previous
From: terry@greatgulfhomes.com
Date:
Subject: COPY optimization issue
Next
From: terry@greatgulfhomes.com
Date:
Subject: FW: [GENERAL] read this and puke