Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group