Re: COPY ... FROM and index usage - Mailing list pgsql-general

From Tom Lane
Subject Re: COPY ... FROM and index usage
Date
Msg-id 14164.1194192905@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY ... FROM and index usage  ("Josh Tolley" <eggyknap@gmail.com>)
List pgsql-general
"Josh Tolley" <eggyknap@gmail.com> writes:
> Although questions of "which is faster" often depend very heavily on
> the data involved, the database schema, the hardware, etc., typically
> people find it best to drop all indexes during a large import and
> recreate them afterward.

See also the extensive discussion of this topic at

http://www.postgresql.org/docs/8.2/static/populate.html

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Would an index benefit select ... order by?
Next
From: Dimitri Fontaine
Date:
Subject: Re: COPY ... FROM and index usage