Re: COPY command details - Mailing list pgsql-general

From Tom Lane
Subject Re: COPY command details
Date
Msg-id 5648.1175211345@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY command details  (Benjamin Arai <benjamin@araisoft.com>)
Responses Re: COPY command details  (Ron Johnson <ron.l.johnson@cox.net>)
Re: COPY command details  (Benjamin Arai <benjamin@araisoft.com>)
List pgsql-general
Benjamin Arai <benjamin@araisoft.com> writes:
> I would prefer not to drop the index because the database is several
> hundred gigs.  I would prefer to incrementally add to the index.

This may well be false economy.  I don't have numbers at hand, but a
full rebuild can be substantially faster than adding a large number
of rows to the index incrementally.  Also, you don't end up with a
physically disordered index, so there is some ongoing performance
benefit.

            regards, tom lane

pgsql-general by date:

Previous
From: Pete
Date:
Subject: Re: Oracle to PSQL function
Next
From: Tom Lane
Date:
Subject: Re: Some encoding trouble via libpq