Re: Autovacuum Improvements

Поиск
Список
Период
Сортировка
От Glen Parker
Тема Re: Autovacuum Improvements
Дата
Msg-id 45888B1C.5010901@nwlink.com
обсуждение исходный текст
Ответ на Re: Autovacuum Improvements  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Autovacuum Improvements  (Matthew O'Connor <matthew@zeut.net>)
Re: Autovacuum Improvements  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
> I wonder if the simple solution is to just have a cron script modify
> postgresql.conf and pg_ctl reload.  That seems very flexible, or have
> two postgresql.conf files and move them into place via cron.

I'd still prefer to vacuum on demand actually.  Rather than hope that
autovacuum hit all the nastiest tables, I'd like to be able to record
the fact that tables (x,y,z) were vacuumed and how long it took.  I want
the logic autovacuum uses to determine if a table needs vacuuming, but
I'd rather do the actual vacuuming myself.

I'd also like to use some of this information to issue reindex and
cluster commands only when they're needed.  In fact, on days when I
cluster, there's no need whatsoever to also vacuum those tables.  This
is something that autovacuum won't do at all.

If the best I got was access to the same information autovacuum uses to
make its decisions, I'd be pretty happy.



-Glen


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

Предыдущее
От: "Thomas H."
Дата:
Сообщение: Re: Let's play bash the search engine
Следующее
От: Glen Parker
Дата:
Сообщение: Re: Autovacuum Improvements