Re: WAL Rate Limiting

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: WAL Rate Limiting
Дата
Msg-id CA+U5nM+kLgwhvABZqNfYqQDAM9AjaVSDY_NWXPcbxH8Dd=pQxg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WAL Rate Limiting  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
On 17 January 2014 16:34, Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
> On 01/17/2014 05:20 PM, Simon Riggs wrote:
>>
>> +       if (RelationNeedsWAL(indexrel))
>> +               CHECK_FOR_WAL_BUDGET();
>
>
> I don't think we need the RelationNeedsWAL tests. If the relation is not
> WAL-logged, you won't write much WAL, so you should easily stay under the
> limit. And CHECK_FOR_WAL_BUDGET() better be cheap when you're below the
> limit.

OK, I'll remove them, thanks.

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



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Comment typo in src/backend/command/cluster.c
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: WAL Rate Limiting