Re: make the stats collector shutdown without writing the statsfiles if the immediate shutdown is requested.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: make the stats collector shutdown without writing the statsfiles if the immediate shutdown is requested.
Дата
Msg-id 20210323185102.xlki3t7ao3mogstm@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: make the stats collector shutdown without writing the statsfiles if the immediate shutdown is requested.  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Ответы Re: make the stats collector shutdown without writing the statsfiles if the immediate shutdown is requested.  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers
Hi,

On 2021-03-23 15:50:46 +0900, Fujii Masao wrote:
> This fact makes me wonder that if we collect the statistics about WAL writing
> from walreceiver as we discussed in other thread, the stats collector should
> be invoked at more earlier stage. IIUC walreceiver can be invoked before
> PMSIGNAL_BEGIN_HOT_STANDBY is sent.

FWIW, in the shared memory stats patch the stats subsystem is
initialized early on by the startup process.

Greetings,

Andres Freund



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade failing for 200+ million Large Objects
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: pg_upgrade failing for 200+ million Large Objects