Re: Proposed patch: Smooth replication during VACUUM FULL

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Proposed patch: Smooth replication during VACUUM FULL
Дата
Msg-id BANLkTi=WyPVEG3Gt90h9q+5VLn94DX-CKA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposed patch: Smooth replication during VACUUM FULL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, May 2, 2011 at 3:37 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> As for "copious technical evidence", I saw no evidence provided
> whatsoever that this patch really did anything much to fix the
> reported problem.  Yeah, it would help during the initial scan
> of the old rel, but not during the sort or reindex steps.
>

Well if Simon's right that it's a question of generating an
overwhelming amount of wal rather than saturating the local i/o then
the sort isn't relevant. I'm not sure of what the scale of wal from
the reindex operation is compared to the table rebuild.

Of course you would have same problem doing a COPY load or even just
doing a sequential scan of a recently loaded table. Or is there
something about table rebuilds that is particularly nasty?

--
greg


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: HTML tags :/
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bad COMPACT_ALLOC_CHUNK size in tsearch/spell.c?