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 for a number of tables



Hi!

I want to vacuum analyze a number of tables in a given database (on
port 5432) from a shell script. There is no need to process the whole
database.
Using
   vacuumdb -d mydb  -t mytab1 -t mytab2 -t mytab3 -fzp 5432;
silently operates on the last tablename given only. 'mytab3' in the
example above.


So, is this the only way to do it, or am I missing something?
   vacuumdb -d mydb  -t mytab1 -fzp 5432
   vacuumdb -d mydb  -t mytab2 -fzp 5432
   vacuumdb -d mydb  -t mytab3 -fzp 5432


Regards
Erwin




Home | Main Index | Thread Index

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