"Matthew T. O'Connor" <[EMAIL PROTECTED]> writes: > System Tables: pg_autovacuum treats non-shared system tables just like > any other table. It monitors the activity and vacuums when it deems it > appropriate. As for shared system tables: In user databases they are > only analyzed by pg_autovacuum, while connected to template1, > pg_autovacuum will treat the shared tables as normal tables and vacuum > when appropriate.
As long as you hit template1 reasonably often, this will work. But I'm a bit concerned about the possibility that some maverick will decide he doesn't need template1. (It's at least theoretically possible to run without it.) Plan B would be to ignore the sharedness issue and vacuum/analyze shared catalogs the same as anything else. While this would certainly result in more vacuums than really necessary, these tables are probably small enough that it'd hardly matter ... Comments? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html