Re: [REVIEW] Re: Compression of full-page-writes

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [REVIEW] Re: Compression of full-page-writes
Дата
Msg-id CA+TgmoZtZfzh-UPXoZp3LnRMBqxqOij0Z+AXetmBhpsjWdQaZw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [REVIEW] Re: Compression of full-page-writes  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: [REVIEW] Re: Compression of full-page-writes  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Fri, Dec 12, 2014 at 1:51 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> What I don't understand is why we aren't working on double buffering,
> since that cost would be paid in a background process and would be
> evenly spread out across a checkpoint. Plus we'd be able to remove
> FPWs altogether, which is like 100% compression.

The previous patch to implement that - by somebody at vmware - was an
epic fail.  I'm not opposed to seeing somebody try again, but it's a
tricky problem.  When the double buffer fills up, then you've got to
finish flushing the pages whose images are stored in the buffer to
disk before you can overwrite it, which acts like a kind of
mini-checkpoint.  That problem might be solvable, but let's use this
thread to discuss this patch, not some other patch that someone might
have chosen to write but didn't.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Final Patch for GROUPING SETS
Следующее
От: Robert Haas
Дата:
Сообщение: Re: moving from contrib to bin