Re: BUG #16691: Autovacuum stops processing certain databases until postgresql rebooted

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #16691: Autovacuum stops processing certain databases until postgresql rebooted
Дата
Msg-id X+wrdmfRjLS3ZzdS@paquier.xyz
обсуждение исходный текст
Ответ на Re: BUG #16691: Autovacuum stops processing certain databases until postgresql rebooted  (Max Vikharev <bm.kinder@gmail.com>)
Список pgsql-bugs
On Tue, Dec 29, 2020 at 02:17:51PM +0300, Max Vikharev wrote:
> Finally we discovered that the problem is related to
> https://www.postgresql.org/message-id/flat/0A3221C70F24FB45833433255569204D1F8A4DC6%40G01JPEXMBYT05
>
> Autovacuum hangs on the database which contains orphaned temp tables. When
> I deleted the schema with orphaned temporary tables - autovacuum continued
> to work without reboot.

Just wondering.  Are you sure that this instance is based on 12.3?
The removal of orphaned temp tables should be more aggressive as we
also track down in autovacuum if a specific temp schema OID is in use
by a backend, and the initialization of a temp namespace for a backend
cleans up temp objects from past connections that were leaving around
orphaned objects because of a crash (see around RemoveTempRelations()
in InitTempTableNamespace()).
--
Michael

Вложения

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

Предыдущее
От: Jordan Lewis
Дата:
Сообщение: DROP FUNCTION RESTRICT drops GENERATED columns
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16797: EXTRACT(EPOCH FROM timestamp) is not using local timezone