vacuumdb exclude tables option?

From: Joel Stevenson <joelstevenson(at)mac(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: vacuumdb exclude tables option?
Date: 2006-08-09 18:24:03
Message-ID: p06230915c0ffd2f2d63b@[192.168.0.9]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I have a database that includes both highly transactional tables and
archive tables - OLTP and OLAP mixed together. Some of the archival
tables, which only experience inserts and reads, not updates or
deletes, contain many millions of rows and so they take a *long* time
to vacuum. Is there currently any means to exclude only these tables
from vacuumdb operations other than explicitly vacuuming all the
other tables and explicity skipping the archival tables?

If not, are there any plans to add a command line switch to vacuumdb
to exclude tables from it's operation, ala 'vacuumdb -d mytest -x
archive_tab1 -x archive_tab2 -x archive_tab3'? I searched the list
archives but didn't see anything about being able to do this.
Something like this would save many hours of useless vacuuming in
this particular setup.

TIA,
Joel

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2006-08-09 18:28:17 Re: vacuumdb exclude tables option?
Previous Message Jim Nasby 2006-08-09 18:20:06 Re: Strange UTF8 issue with pg_dump/pg_restore