Re: Autovacuum and invalid page header

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Autovacuum and invalid page header
Дата
Msg-id 1273811839-sup-7071@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Autovacuum and invalid page header  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: Autovacuum and invalid page header  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Excerpts from Kevin Grittner's message of jue may 13 10:25:04 -0400 2010:
> Ireneusz Pluta <ipluta@wp.pl> wrote:
>
> > many different autovacuums on the same table cycling in start-fail
> > scenario because of invalid page headers of some indexes of the
> > table. Manual VACUUM VERBOSE said me that, now I can also see that
> > in related ERROR-CONTEXT log message pairs. I dropped the damaged
> > indexes and now that autovacuum seems to continue without
> > repeating itself.

> That does sound like an area where there might be room for
> improvement within PostgreSQL;

Yeah, maybe we should make it put the failed table at the end of the
list, for the next run.  This is not simple to implement, if only
because autovac workers don't have any way to persist state from one run
to the next.  But this kind of thing causes enough problems that it's
probably worth it.

One thing to keep in mind, though, is that a persistent error in a
single table is enough to keep a database's datfrozenxid from advancing,
and thus shut down in case the wraparound horizon comes too close.  So
perhaps what we need is more visibility into autovacuum problems.
--

В списке pgsql-admin по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Advice on HA/LB setup for small installation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Autovacuum and invalid page header