Re: I don't want to back up index files

Поиск
Список
Период
Сортировка
От Glen Parker
Тема Re: I don't want to back up index files
Дата
Msg-id 49BAC6B0.5030701@nwlink.com
обсуждение исходный текст
Ответ на Re: I don't want to back up index files  (Jeremy Harris <jgh@wizmail.org>)
Список pgsql-general
Jeremy Harris wrote:
> Simon Riggs wrote:
>> The idea of auto rebuilding indexes following recovery has already been
>> proposed, so is under consideration. It hasn't been proposed in relation
>> to the use case you mention, so that is new.
>>
>> If we did as you suggest then it would speed up the base backup but
>> would also add index rebuild time onto the end of any recovery.
>
> Forgive me for being stupid, but isn't a time when all the data for
> a table is being streamed in, during restore, the *perfect* time
> to build an index?   Why wait until after the restore?

Not all the data streams in.  Most of it is there before the WAL replay
begins.

-Glen


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

Предыдущее
От: Jeremy Harris
Дата:
Сообщение: Re: I don't want to back up index files
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: recatalog existing databases after re-build from source