Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per
Дата
Msg-id 4BBADF4E.5030900@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs wrote:
> On Mon, 2010-04-05 at 19:29 +0100, Simon Riggs wrote:
> 
>> Looking through the code some more I note that their are two timing
>> related parameters that are hardcoded into XLogPageRead(). At the very
>> least such things should be #defines, though one of them was previously
>> configurable using pg_standby, so I would like to see them both
>> accessible to user tuning.
> 
> ...the code says "we want to react quickly when the next WAL record
> arrives" and then sleeps for 100ms.

The comment continues ", so sleep only a bit". That's in comparison to
the 5 s wait when polling the archive.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Remaining Streaming Replication Open Items
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per