Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

vacuumdb exclude tables option?



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group