Re: Load distributed checkpoint V3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Load distributed checkpoint V3
Дата
Msg-id 28352.1175790349@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Load distributed checkpoint V3  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Load distributed checkpoint V3
Список pgsql-patches
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> The number of buffers evicted by normal backends in a bgwriter_delay
> period is simple to keep track of, just increase a counter in
> StrategyGetBuffer and reset it when bgwriter wakes up. We can use that
> as an estimate of X with some safety margin.

You'd want some kind of moving-average smoothing in there, probably with
a lot shorter ramp-up than ramp-down time constant, but this seems
reasonable enough to try.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fix mdsync never-ending loop problem
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Fix mdsync never-ending loop problem