large table vacuum issues

Поиск
Список
Период
Сортировка
От Ed L.
Тема large table vacuum issues
Дата
Msg-id 200801041738.31579.pgsql@bluepolka.net
обсуждение исходный текст
Ответы Re: large table vacuum issues  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Re: large table vacuum issues  ("Usama Dar" <munir.usama@gmail.com>)
Список pgsql-general
We need some advice on how to handle some large table autovacuum
issues.  One of our 8.1.2 autovacuums is launching a DB-wide
vacuum on our 270GB database to prevent xid wrap-around, but is
getting hung-up and/or bogged down for hours on a 40gb table and
taking the server performance down with it, apparently due to an
IO bottleneck.  The autovac child process becomes completely
unresponsive to SIGTERM/SIGINT; only a sigkill restart with
disabling the autovac daemon gets us back to adequate
performance for now.

We are discussing how to partition the table (difficult due to
existing foreign keys in other tables), and archiving/clearing
data.

Are there any other tricks to get it past this large table for
the time being and still get the xid wraparound fix?

TIA.

Ed

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

Предыдущее
От: "Ken Winter"
Дата:
Сообщение: Re: Problem with pg_dump?
Следующее
От: Clodoaldo
Дата:
Сообщение: Performance problem. Could it be related to 8.3-beta4?