Huge number of pg_temp and pg_toast_temp schemas

Поиск
Список
Период
Сортировка
От Andrus
Тема Huge number of pg_temp and pg_toast_temp schemas
Дата
Msg-id 6F99845517EB402E9269BD6767CCE53C@dell2
обсуждение исходный текст
Ответы Re: Huge number of pg_temp and pg_toast_temp schemas
Список pgsql-general
Hi!

Postgres 12 database contains huge number of pg_temp and pg_toast_temp schemas named

pg_temp_1 ..  pg_temp_126

and

pg_toast_temp_1  .. pg_toast_temp_126

There are total 2 * 126 = 252  unnessecary schemas in one database.
Those schemas seems not contain any objects.

Other databases in cluster similar schemas but in smaller amount.

How to delete them automatically and prevent appear in future?

Cluster stopped  since disk decomes full and streaming async replication is used. Maybe one of those or some other
factorcreated or
 
continues to create those schemas. Postgres 12.2 in Debian 10 is used.

Andrus.

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Different Lock Behavior With Create and Drop Foreign Key
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Huge number of pg_temp and pg_toast_temp schemas