I have autovacuum turned on with the default settings.
The issue is that we are mostly inserting records, sometimes updating,
very seldom deleting. The ones which get deleted are in partitioned
tables, and will be done away with via truncate once the data retention
period is over.
Logs show that autovacuum is running on all databases.
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Thursday, May 25, 2006 2:01 PM
To: Benjamin Krajmalnik
Subject: Re: [ADMIN] pg_clog questions
"Benjamin Krajmalnik" <kraj(at)illumen(dot)com> writes:
> While checking our server, I noticed quite a few files in the pg_clog
> Is there a maintenance task which can be run to purge the files which
> are no longer needed?
VACUUM. If they're not disappearing, you aren't running an adequate
vacuum regime --- missing out some databases, perhaps?
regards, tom lane
pgsql-admin by date
|Next:||From: Averbukh Stella||Date: 2006-05-25 20:10:20|
|Subject: Error linking initdb|
|Previous:||From: Tom Lane||Date: 2006-05-25 20:00:43|
|Subject: Re: pg_clog questions |