Re: BUG #16614: Stale temporary objects makes vacuum ineffective when 1 million transactions remain
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #16614: Stale temporary objects makes vacuum ineffective when 1 million transactions remain |
| Дата | |
| Msg-id | 653162.1599934684@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #16614: Stale temporary objects makes vacuum ineffective when 1 million transactions remain (Giorgio Saviane <gsaviane@gmail.com>) |
| Ответы |
Re: BUG #16614: Stale temporary objects makes vacuum ineffective when 1 million transactions remain
|
| Список | pgsql-bugs |
Giorgio Saviane <gsaviane@gmail.com> writes:
> Ok, let me add one more step in that sequence.
> Before shutting down Postgres and going down to single mode we stopped the
> application server and other services around it. I'm pretty sure that there
> was a reasonable window of time before we went to single mode.
Hmm, but did you stop the connection pooler? That's what was holding
the database session open, if I'm understanding things correctly.
Unless you've changed the default autovacuum settings (particularly
autovacuum_naptime), I'd have expected autovacuum to start zapping
temp tables within a minute or so after they become orphaned.
Even more to the point, if the database session was allowed to stop
normally, it should've cleaned them up itself.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера