tracking last_autovacuum

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

 



Hi All,
in pg_stat_all_tables, the fields last_autovacuum, last_autoanalyze are updated any time autovacuum vacuums a table. I would like to keep an history of these activities in order to see when and how many times any single table is vacuumed.

Is there any features that can help me ? (I'm using postgres 8.2.9)

What about creating a trigger on pg_stat_all_tables and storing the required info in another table (like autovacuum_history) ?

Cheers,
ste




--
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