Re: autovacuum, xid wraparound, pg_database column values

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "shakahshakah(at)gmail(dot)com" <shakahshakah(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: autovacuum, xid wraparound, pg_database column values
Date: 2006-06-07 14:27:50
Message-ID: 29728.1149690470@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"shakahshakah(at)gmail(dot)com" <shakahshakah(at)gmail(dot)com> writes:
> I'm trying to make sense of Section 22.1.3 ("Preventing transaction ID
> wraparound failures") in the on-line docs to make sure the DB's
> autovacuum settings are adequate and are having an effect.
> ...
> I don't see numbers larger than 1 billion in my pg_database columns,
> though.

The pg_database columns only update when you do a database-wide VACUUM,
which is something that autovacuum only undertakes when it sees that
the age values are getting large. I forget the exact threshold, but
at ~28M transactions you are certainly a long way away.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-06-07 14:31:22 Re: Problem with 'postgres' db with 8.0 on a MacBook
Previous Message Magnus Hagander 2006-06-07 14:05:17 Re: Can PostGreSQL slow down a Windows PC much?