Re: Disabling/Enabling index before bulk loading

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: Disabling/Enabling index before bulk loading
Дата
Msg-id E6BC317E-76F8-43C7-B735-429797952B28@yahoo.com
обсуждение исходный текст
Ответ на Re: Disabling/Enabling index before bulk loading  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: Disabling/Enabling index before bulk loading
Список pgsql-general
>
> Did you include the time to CREATE INDEX after the COPY or is the 1:14 only for the COPY stage?

Yes.

Time taken to load 47 mil rows with all 16 indexes intact:  14+ hrs
Time taken to load the same after dropping index and then loading and finally creating 16 indexes: 1 hr 40 min

Frankly I am surprised by this staggering difference.




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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Disabling/Enabling index before bulk loading
Следующее
От: Xiao Ba
Дата:
Сообщение: Refresh materialized view deadlocking?