Re: Transaction id wraparound and autovacuum - Mailing list pgsql-general

From Tom Lane
Subject Re: Transaction id wraparound and autovacuum
Date
Msg-id 17454.1164144562@sss.pgh.pa.us
Whole thread Raw
In response to Transaction id wraparound and autovacuum  (Casey Duncan <casey@pandora.com>)
Responses Re: Transaction id wraparound and autovacuum  (Casey Duncan <casey@pandora.com>)
List pgsql-general
Casey Duncan <casey@pandora.com> writes:
> - The autovac daemon doesn't initiate a database-wide vacuum until
> 100,000 txns before the txn id warning hits. In my case this gives
> only a few minutes under peak load.

I believe this problem is largely addressed for 8.2; see
http://developer.postgresql.org/pgdocs/postgres/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND
The default autovac interval is a lot more conservative than it was
before (200M transactions), and you can tune things if you need to.

            regards, tom lane

pgsql-general by date:

Previous
From: garry saddington
Date:
Subject: Re: pg_dump
Next
From: Tom Lane
Date:
Subject: Re: list archives