Re: COPY ... FROM and index usage

Поиск
Список
Период
Сортировка
От Josh Tolley
Тема Re: COPY ... FROM and index usage
Дата
Msg-id e7e0a2570711040559r2cca6654m4139b30e02bc1094@mail.gmail.com
обсуждение исходный текст
Ответ на COPY ... FROM and index usage  (Reg Me Please <regmeplease@gmail.com>)
Ответы Re: COPY ... FROM and index usage
Re: COPY ... FROM and index usage
Список pgsql-general
On 11/4/07, Reg Me Please <regmeplease@gmail.com> wrote:
> Hi all.
>
> I'd like to know whether the indexes on a table are updated or not during
> a "COPY ... FROM" request.
>
> That is, should I drop all indexes during a "COPY ... FROM" in order to gain
> the maximum speed to load data?
>
> Thanks.

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.

- Josh/eggyknap

В списке pgsql-general по дате отправления:

Предыдущее
От: mgainty@hotmail.com
Дата:
Сообщение: Re: What makes a Postgres DBA?
Следующее
От: Reg Me Please
Дата:
Сообщение: Re: COPY ... FROM and index usage