Re: Flush pgstats file during checkpoints
От
Michael Paquier
Тема
Re: Flush pgstats file during checkpoints
Дата
Msg-id
Zpc_7FErsNO7lH6K@paquier.xyz
Ответ на
Re: Flush pgstats file during checkpoints (Michael Paquier)
Список
Дерево обсуждения
Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Konstantin Knizhnik <knizhnik@garret.ru>
Re: Flush pgstats file during checkpoints Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Flush pgstats file during checkpoints Michael Paquier <michael@paquier.xyz>
Re: Flush pgstats file during checkpoints Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
On Tue, Jul 16, 2024 at 10:37:39AM +0900, Michael Paquier wrote: > On Fri, Jul 12, 2024 at 01:01:19PM +0000, Bertrand Drouvot wrote: >> Instead of removing the stat file, should we keep it around until the first call >> to pgstat_write_statsfile()? > > Oops. You are right, I have somewhat missed the unlink() once we are > done reading the stats file with a correct redo location. The durable_rename() part has been applied. Please find attached a rebase of the patch set with all the other comments addressed. -- Michael
В списке pgsql-hackers по дате отправления
От: Peter Smith
Дата:
От: Peter Smith
Дата: