Allow vacuumdb to only analyze

Поиск
Список
Период
Сортировка
От decibel
Тема Allow vacuumdb to only analyze
Дата
Msg-id E602D8D9-523C-4218-A16B-3453FF302063@decibel.org
обсуждение исходный текст
Ответы Re: Allow vacuumdb to only analyze  (Robert Haas <robertmhaas@gmail.com>)
Re: Allow vacuumdb to only analyze  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
One of the talks at PGCon (update in place?) recommended running
vacuumdb -z to analyze all tables to rebuild statistics. Problem with
that is it also vacuums everything. ISTM it'd be useful to be able to
just vacuum all databases in a cluster, so I hacked it into vacuumdb.

Of course, using a command called vacuumdb is rather silly, but I
don't see a reasonable way to deal with that. I did change the name
of the functions from vacuum_* to process_*, since they can vacuum
and/or analyze.

The only thing I see missing is the checks for invalid combinations
of options, which I'm thinking should go in the function rather than
in the option parsing section. But I didn't want to put any more
effort into this if it's not something we actually want.
--
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828



Вложения

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: information_schema.columns changes needed for OLEDB
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Allow vacuumdb to only analyze