Re: pg_clog not getting cleared - Mailing list pgsql-admin

From Tom Lane
Subject Re: pg_clog not getting cleared
Date
Msg-id 10705.1293053892@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_clog not getting cleared  (Scott Whitney <scott@journyx.com>)
List pgsql-admin
Scott Whitney <scott@journyx.com> writes:
> I understand the purpose of the clogs, but I would think that the transactions would have been frozen on all dbs
(I'vegot about 300 in my cluster) by now. My logs go back to July 13th which, I think, is when the server was last
restarted. 

It doesn't really try to remove clog entries that are younger than
vacuum_freeze_table_age (see also vacuum_freeze_min_age).  At two bits
per transaction, the general feeling is that eating the disk space is
better than forcing full-database vacuums more often.  But if you're
hot to have the space released sooner, those are the knobs to frob.

            regards, tom lane

pgsql-admin by date:

Previous
From: Scott Whitney
Date:
Subject: Re: pg_clog not getting cleared
Next
From: Josh
Date:
Subject: Securing a remotely accessible PostgreSQL server