new option to allow pg_rewind to run without full_page_writes

Поиск
Список
Период
Сортировка
От Jérémie Grauer
Тема new option to allow pg_rewind to run without full_page_writes
Дата
Msg-id 367d01a7-90bb-9b70-4cda-248e81cc475c@cosium.com
обсуждение исходный текст
Ответы Re: new option to allow pg_rewind to run without full_page_writes  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hello,

Currently pg_rewind refuses to run if full_page_writes is off. This is 
to prevent it to run into a torn page during operation.

This is usually a good call, but some file systems like ZFS are 
naturally immune to torn page (maybe btrfs too, but I don't know for 
sure for this one).

Having the option to use pg_rewind without the cost associated with 
full_page_writes when using a system immune to torn page is beneficial: 
increased performance and more compact WAL.

This patch adds a new option "--no-ensure-full-page-writes" to pg_rewind 
for this situation, as well as patched documentation.

Regards,
Jeremie Grauer

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Privileges on PUBLICATION
Следующее
От: Melanie Plageman
Дата:
Сообщение: Re: pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?)