Re: Another question on indexes (drop and recreate)

Поиск
Список
Период
Сортировка
От John A Meinel
Тема Re: Another question on indexes (drop and recreate)
Дата
Msg-id 42B830B3.6060902@arbash-meinel.com
обсуждение исходный текст
Ответ на Another question on indexes (drop and recreate)  (Yves Vindevogel <yves.vindevogel@implements.be>)
Ответы Re: Another question on indexes (drop and recreate)  (Yves Vindevogel <yves.vindevogel@implements.be>)
Список pgsql-performance
Yves Vindevogel wrote:

> Hi,
>
> I have another question regarding indexes.
>
> I have a table with a lot of indexes on it. Those are needed to
> perform my searches.
> Once a day, a bunch of records is inserted in my table.
>
> Say, my table has 1.000.000 records and I add 10.000 records (1% new)
> What would be faster.
>
> 1) Dropping my indexes and recreating them after the inserts
> 2) Just inserting it and have PG manage the indexes
>
> Met vriendelijke groeten,
> Bien à vous,
> Kind regards,
>
> *Yves Vindevogel*
> *Implements*


I'm guessing for 1% new that (2) would be faster.
John
=:->



Вложения

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

Предыдущее
От: John A Meinel
Дата:
Сообщение: Re: slow growing table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Limit clause not using index