Re: Memory leak of SMgrRelation object on standby

Поиск
Список
Период
Сортировка
От 邱宇航
Тема Re: Memory leak of SMgrRelation object on standby
Дата
Msg-id 4E5282D5-397F-45A7-9C58-7C9C396FE561@gmail.com
обсуждение исходный текст
Ответ на Re: Memory leak of SMgrRelation object on standby  (Jingtang Zhang <mrdrivingduck@gmail.com>)
Ответы Re: Memory leak of SMgrRelation object on standby
Список pgsql-hackers
> 2025年8月21日 23:07,Jingtang Zhang <mrdrivingduck@gmail.com> 写道:
>
> Also, in this situation, should startup process be treated as a background
> worker similar to bgwriter/checkpointer and call smgrdestroyall in some
> period?

Agree with that. Maybe we can call smgrdestroyall in startup process when
replaying CHECKPOINT records, just like bgwriter/checkpointer, which free
all smgr objects after any checkpoint.

Best regards,
Yuhang Qiu




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