Re: pg_autovacuum entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anj Adu escribió:
> Does vacuumdb read pg_autovacuum ?
> 
> If not, can I specify multiple comma-separated tables to pass as
> arguments to vacuumdb ?  The list of tables that need to be vacuumed
> is a constant and hence easier to manage the vacuuming process.

No, but you can write a simple script to vacuum a list of tables that
you keep on a separate file or such.  Something trivial like

while read table; do
	vacuumdb -t $table
done < /path/to/tablelist

with proper error handling and reporting etc.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux