Re: [Proposal] Allow users to specify multiple tables in VACUUM commands

From: David Fetter <david(at)fetter(dot)org>
To: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [Proposal] Allow users to specify multiple tables in VACUUM commands
Date: 2017-05-10 21:02:07
Message-ID: 20170510210207.GC12623@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 10, 2017 at 08:10:48PM +0000, Bossart, Nathan wrote:
> Hi Hackers,
>
> Currently, VACUUM commands allow you to specify one table or all of
> the tables in the current database to vacuum. I’ve recently found
> myself wishing I could specify multiple tables in a single VACUUM
> statement. For example, this would be convenient when there are
> several large tables in a database and only a few need cleanup for
> XID purposes. Is this a feature that the community might be
> interested in?

I haven't read the implementation yet, but I've wanted this feature
several times.

Best,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-05-10 21:35:21 Re: Bug in pg_dump --table and --exclude-table for declarative partition table handling.
Previous Message Petr Jelinek 2017-05-10 20:59:51 Re: Should pg_current_wal_location() become pg_current_wal_lsn()