Re: Is autovacuum too noisy about orphan temp tables?

Поиск
Список
Период
Сортировка
Искать
От
ITAGAKI Takahiro
Тема
Re: Is autovacuum too noisy about orphan temp tables?
Дата
Msg-id
20081014220046.545B.52131E4D@oss.ntt.co.jp
Ответ на
Список
Дерево обсуждения
Is autovacuum too noisy about orphan temp tables? Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Is autovacuum too noisy about orphan temp tables? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is autovacuum too noisy about orphan temp tables? ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Is autovacuum too noisy about orphan temp tables? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is autovacuum too noisy about orphan temp tables? Alvaro Herrera <alvherre@commandprompt.com>
Re: Is autovacuum too noisy about orphan temp tables? Decibel! <decibel@decibel.org>
Re: Is autovacuum too noisy about orphan temp tables? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is autovacuum too noisy about orphan temp tables? "Robert Haas" <robertmhaas@gmail.com>
Re: Is autovacuum too noisy about orphan temp tables? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is autovacuum too noisy about orphan temp tables? Greg Stark <greg.stark@enterprisedb.com>
Re: Is autovacuum too noisy about orphan temp tables? Alvaro Herrera <alvherre@commandprompt.com>

Tom Lane  wrote:

> Heikki Linnakangas  writes:
> > LOG:  autovacuum: found orphan temp table "pg_temp_2"."foo" in database 
> > "postgres"
> 
> What else would you do?  I can't see adding state to remember when we
> printed it last.

Why can't we drop orphan temp tables automatically?

> > Also, it doesn't give me any hint 
> > on what I can do to get rid of the message; I had to search the archives 
> > to find out that I can "DROP SCHEMA pg_temp_2".
> 
> We could surely add an errhint() to the message.

Standard DBAs are blind to LOG level messages. If the message is important,
we should use WARNING level. Monitoring middleware notifies DBAs of 
WARNING or higher messages, but discards LOG or lower messages.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center



В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Andrew Dunstan
Дата:
FAQ