Autovacuum daemon & TEMPORARY tables

Поиск
Список
Период
Сортировка
Искать

Autovacuum daemon & TEMPORARY tables

От:
"Gnanakumar" <gnanam@zoniac.com>
Дата:
Hi,

Does autovacuum daemon work on tables created with TEMPORARY syntax?

CREATE [ { TEMPORARY | TEMP } ] TABLE table_name ...

Regards,
Gnanam

Re: Autovacuum daemon & TEMPORARY tables

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Gnanakumar"  writes:
> Does autovacuum daemon work on tables created with TEMPORARY syntax?

No.  It can't, because it's unsafe for any session except the creating
session to touch a temporary table.  The performance optimizations used
for temp tables have that unfortunate side-effect.

			regards, tom lane
FAQ