Re: SLRU statistics

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SLRU statistics
Дата
Msg-id 7838.1589388950@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SLRU statistics  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Ответы Re: SLRU statistics  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> But since the counter that postmaster incremented is propagated to
> child processes via fork, it should be zeroed at postmaster or the
> beginning of child process? Otherwise that counter always starts
> with non-zero in child process.

Yes, if the postmaster is incrementing these counts then we would
have to reset them at the start of each child process.  I share
Alvaro's feeling that that's bad and we don't want to do it.

>> (IIRC only the Async module is doing that.)

Hm, maybe we can fix that.

            regards, tom lane



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: SLRU statistics
Следующее
От: legrand legrand
Дата:
Сообщение: Re: Is it useful to record whether plans are generic or custom?