Proposal "VACUUM SCHEMA" - Mailing list pgsql-hackers

From Fabrízio de Royes Mello
Subject Proposal "VACUUM SCHEMA"
Date
Msg-id CAFcNs+pHJLmLM9n=B6aofV3XPpwHq+znnEjV9UkvPNSZyegXow@mail.gmail.com
Whole thread Raw
Responses Re: Proposal "VACUUM SCHEMA"
Re: Proposal "VACUUM SCHEMA"
List pgsql-hackers
Hi all,

I work with some customer that have databases with a lot of schemas and sometimes we need to run manual VACUUM in one schema, and would be nice to have a new option to run vacuum in relations from a specific schema.

The new syntax could be:

VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] {  [ table_name ] | SCHEMA schema_name }

Also I'll add a new option to "vacuumdb" client:

-S, --schema=SCHEMA

I can work on this feature to 2015/02 CF.

Thoughts?

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog: http://fabriziomello.github.io
>> Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
>> Github: http://github.com/fabriziomello

pgsql-hackers by date:

Previous
From: Fabrízio de Royes Mello
Date:
Subject: Re: pgbench -f and vacuum
Next
From: Tomas Vondra
Date:
Subject: Re: TABLESAMPLE patch