Re: [bug fix] Suppress "autovacuum: found orphan temp table" message

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [bug fix] Suppress "autovacuum: found orphan temp table" message
Дата
Msg-id 22663.1406040846@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [bug fix] Suppress "autovacuum: found orphan temp table" message  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-07-22 10:17:15 -0400, Tom Lane wrote:
>> Or even more to the point, investigate why it's there in the first
>> place; perhaps there's an actual fixable bug somewhere in there.

> I think MauMau's scenario of a failover to another database explains
> their existance - there's no step that'd remove them after promoting a
> standby.

> So there indeed is a need to have a sensible mechanism for removing them
> at some point. But it should be about removing, not ignoring them.

Agreed.  Note that RemovePgTempFiles, as such, only reclaims disk space.
It does not clean out the pg_class entries, which means that just running
that at standby promotion would do nothing to get rid of autovacuum's
whining.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [bug fix] Suppress "autovacuum: found orphan temp table" message
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Some bogus results from prairiedog