Re: WAL Rate Limiting

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: WAL Rate Limiting
Дата
Msg-id CA+U5nMJngKCA403bjCbRD+=d6dbbfpT25cBODhNd2TE-ZUe+yA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WAL Rate Limiting  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 16 January 2014 17:29, Andres Freund <andres@2ndquadrant.com> wrote:

>> Please let me know if I missed something (rather than debating what is
>> or is not a "maintenance" command).
>
> If we're going to do this for DML - which I am far from convinced of -
> we also should do it for SELECT, since that can generate significant
> amounts of WAL with checksums turned on.
> Otherwise stuff like INSERT ... SELECT, UPDATE FROM et al. will behave
> very confusingly since suddenly thez will not only block the WAL
> generated by the INSERT but also the SELECT.

Good point, but rather happily I can say "thought of that" and refer
you to the other patch which limits SELECT's ability to dirty pages,
and thus, with checksums enabled will limit the generation of WAL.
(And no, they aren't the same thing).

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



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Why conf.d should be default, and auto.conf and recovery.conf should be in it
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WAL Rate Limiting