Feature request (or at least discussion): enable autovaccum on temp tables

Поиск
Список
Период
Сортировка
От Ivan Voras
Тема Feature request (or at least discussion): enable autovaccum on temp tables
Дата
Msg-id CAF-QHFXtnjUejgacT6O5hvVvqCCvZaSzxvLx1XZa9i4kFFePfA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Feature request (or at least discussion): enable autovaccum ontemp tables  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Feature request (or at least discussion): enable autovaccum ontemp tables  (Adam Brusselback <adambrusselback@gmail.com>)
Re: Feature request (or at least discussion): enable autovaccum on temp tables  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Re: Feature request (or at least discussion): enable autovaccum ontemp tables  (Christopher Browne <cbbrowne@gmail.com>)
Список pgsql-general
Hello,

The reason why we are using temp tables is to allow concurrent runs on some very large reports which involve creating and heavily churning dozens of very large tables.

The problem we're facing is that if we DON'T use temp tables, the reports finish in a couple of hours. If we DO use temp tables, they finish in a couple of weeks. While using regular tables, autovacuum runs pretty much continuously.

We'll try manually vacuuming the tables after major operations, but that's kind of kludgy. What would help is a GUC setting which toggles this behaviour.

Since AFAIK temp tables are very close to unlogged ordinary tables, what would stop this feature from being implemented?

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

Предыдущее
От: PegoraroF10
Дата:
Сообщение: json on child table or not
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Feature request (or at least discussion): enable autovaccum ontemp tables