large table vacuum issues - Mailing list pgsql-general

From Ed L.
Subject large table vacuum issues
Date
Msg-id 200801041738.31579.pgsql@bluepolka.net
Whole thread Raw
Responses Re: large table vacuum issues  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Re: large table vacuum issues  ("Usama Dar" <munir.usama@gmail.com>)
List 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 by date:

Previous
From: "Ken Winter"
Date:
Subject: Re: Problem with pg_dump?
Next
From: Clodoaldo
Date:
Subject: Performance problem. Could it be related to 8.3-beta4?