Full page writes improvement

Поиск
Список
Период
Сортировка
От Koichi Suzuki
Тема Full page writes improvement
Дата
Msg-id 45C14B5F.4010406@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: Full page writes improvement  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Here's an idea and a patch for full page writes improvement.

Idea:
(1) keep full page writes for ordinary WAL, make them available during
the crash recovery, -> recovery from inconsistent pages which can be
made at the crash,
(2) Remove them from the archive log except for those written during
online backup (between pg_start_backup and pg_stop_backup) -> small size
archive log.

Implementation:
(1) Mark WAL record whose full-page-writes can be removed,
(2) Remove full-page writes from the marked WAL record in archive
command, and
(3) Restore the removed full-page writes to make LSN consistent.

Included is a patch for this as well as archive and restore command source.

Patch is very small and I hope this to be included in 8.3.

--
Koichi Suzuki

Вложения

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

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: [pgsql-patches] Patch to avoid gprof profiling overwrites
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-patches] Recalculating OldestXmin in a long-running vacuum