Re: pg_autovacuum crashes when query fails for temp tables
От | Tom Lane |
---|---|
Тема | Re: pg_autovacuum crashes when query fails for temp tables |
Дата | |
Msg-id | 26127.1082522332@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pg_autovacuum crashes when query fails for temp tables ("Matthew T. O'Connor" <matthew@zeut.net>) |
Список | pgsql-hackers |
"Matthew T. O'Connor" <matthew@zeut.net> 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
В списке pgsql-hackers по дате отправления: