| От | Tom Lane |
|---|---|
| Тема | Re: Postgresql : pg_temp & pg_toast_temp |
| Дата | |
| Msg-id | 1265147.1701958145@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Postgresql : pg_temp & pg_toast_temp (Vishwanath Kummera <kvishu83@gmail.com>) |
| Список | pgsql-general |
Vishwanath Kummera <kvishu83@gmail.com> writes:
> I am seeing there are many schemas created, this is specially when
> enabled "CONCURRENTLY" option for refreshing materialized views through
> table trigger.
> pg_temp_1... pg_temp_30
> pg_toast_temp_1... pg_toast_temp_30
Yes, that's by design. There's a separate temp schema for each backend
session "slot", which gets created when first needed.
> If this is by design the temp schemas get created with the "CONCURRENTLY"
> option, is there any way to clean-up them automatically?
No. It'd just lead to thrashing/bloat in the pg_namespace catalog,
since they'd be needed again eventually.
regards, tom lane
> Thanks,
> Vishu
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера