Re: Vacuum Full by Scheme - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Vacuum Full by Scheme
Date
Msg-id CAB7nPqQooABr8XZOPuwkhfWoFAXXnF+VdHY_gjNHi=v9dDLQqQ@mail.gmail.com
Whole thread Raw
In response to Vacuum Full by Scheme  (Filho Arrais <arraisfilho@gmail.com>)
List 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 by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Use %u to print user mapping's umid and userid
Next
From: Robert Haas
Date:
Subject: Re: Perf Benchmarking and regression.