Re: COPY optimization issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: terry(at)greatgulfhomes(dot)com
Cc: "Postgres (E-mail)" <pgsql-docs(at)postgresql(dot)org>
Subject: Re: COPY optimization issue
Date: 2002-06-13 13:52:30
Message-ID: 19014.1023976350@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

terry(at)greatgulfhomes(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message terry 2002-06-14 01:45:06 FW: [GENERAL] read this and puke
Previous Message terry 2002-06-13 13:15:26 COPY optimization issue