Re: [9.4] Make full_page_writes only settable on server start?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [9.4] Make full_page_writes only settable on server start?
Дата
Msg-id 20130904150055.GC11189@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: [9.4] Make full_page_writes only settable on server start?  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: [9.4] Make full_page_writes only settable on server start?  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On 2013-09-04 07:57:15 -0700, Jeff Davis wrote:
> XLogSaveBufferForHint() calls XLogCheckBuffer() but doesn't also look at
> the full page writes setting (like in XLogInsert()). That means, if
> checksums are enabled and full_page_writes is off, we'll still write
> some full page images for checksums. I'd like to remedy that.

I don't think that's really as easy as it sounds without removing the
ability to do base backups with full_page_writes = off. The interlocking
that would require makes things complex...
Personally I'd rather forbid enabling checkpoints in the combination
with full_page_writes = off. That doesn't seem like a good idea to me
and I am far from convinced it's actually going to work in all corner cases.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [v9.4] row level security
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: 9.4 regression