Re: Vacuum Full by Scheme

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Vacuum Full by Scheme
Дата
Msg-id CAB7nPqQooABr8XZOPuwkhfWoFAXXnF+VdHY_gjNHi=v9dDLQqQ@mail.gmail.com
обсуждение исходный текст
Ответ на Vacuum Full by Scheme  (Filho Arrais <arraisfilho@gmail.com>)
Список pgsql-hackers
On Thu, May 12, 2016 at 7:31 AM, Filho Arrais <arraisfilho@gmail.com> wrote:
> There is some development to use the vacuum full by scheme?
>
> Ex: vacuumdb -d postgres -parameter public
>
> In databases with thousands of tables and multiple scheme, it would be
> interesting to have this feature.

No that I know of. The only way to achieve that now is to use a script
that fetches the list of tables in schema first and runs VACUUM on
those tables individually, as VACUUM cannot be run in a stored
procedure.
-- 
Michael



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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: Use %u to print user mapping's umid and userid
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Perf Benchmarking and regression.