Re: pg_autovacuum entries

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_autovacuum entries
Дата
Msg-id 20091101175556.GA4428@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pg_autovacuum entries  (Anj Adu <fotographs@gmail.com>)
Список pgsql-admin
Anj Adu escribió:
> Does vacuumdb read pg_autovacuum ?
>
> If not, can I specify multiple comma-separated tables to pass as
> arguments to vacuumdb ?  The list of tables that need to be vacuumed
> is a constant and hence easier to manage the vacuuming process.

No, but you can write a simple script to vacuum a list of tables that
you keep on a separate file or such.  Something trivial like

while read table; do
    vacuumdb -t $table
done < /path/to/tablelist

with proper error handling and reporting etc.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Kevin Kempter
Дата:
Сообщение: dupes for PK and other UNIQUE indexes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_autovacuum entries