Re: 8.1.8 autovacuum missing databases
От | Ian Westmacott |
---|---|
Тема | Re: 8.1.8 autovacuum missing databases |
Дата | |
Msg-id | 1209574908.22509.6.camel@vega.intellivid.com обсуждение исходный текст |
Ответ на | Re: 8.1.8 autovacuum missing databases (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: 8.1.8 autovacuum missing databases
|
Список | pgsql-admin |
On Wed, 2008-04-30 at 12:27 -0400, Tom Lane wrote: > Alvaro Herrera <alvherre@commandprompt.com> writes: > > I still think that the autovac is dying before completing the task. Did > > you investigate whether there are "ERROR" messages coming from > > autovacuum? No PG crashes would happen. There are no ERROR messages at all. Sample log snippet: 2008-04-30 12:03:36 EDT LOG: autovacuum: processing database "template1" 2008-04-30 12:04:36 EDT LOG: autovacuum: processing database "itvtrackdatapos" 2008-04-30 12:05:36 EDT LOG: autovacuum: processing database "template1" 2008-04-30 12:06:36 EDT LOG: autovacuum: processing database "itvtrackdatapos" 2008-04-30 12:07:36 EDT LOG: autovacuum: processing database "template1" 2008-04-30 12:08:36 EDT LOG: autovacuum: processing database "itvtrackdatapos" 2008-04-30 12:09:36 EDT LOG: autovacuum: processing database "template1" 2008-04-30 12:10:36 EDT LOG: autovacuum: processing database "itvtrackdatapos" > I'm noticing though that the 8.1 logic pays attention to both > datvacuumxid and datfrozenxid. Could we see the age() of both of > those columns for all the databases. The are all identical: itvtrackdata=> select datname,age(datfrozenxid),age(datvacuumxid) from pg_database; datname | age | age ------------------+-----------+----------- postgres | 295995059 | 295995059 itvtrackdata | 295995059 | 295995059 itvtrackdatauser | 295995059 | 295995059 itvtrackdatapos | 295995059 | 295995059 template1 | 295995059 | 295995059 template0 | 295995059 | 295995059 (6 rows) itvtrackdata=> --Ian
В списке pgsql-admin по дате отправления: