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

From Casey Duncan
Subject Re: Transaction id wraparound and autovacuum
Date
Msg-id 5B2100D8-2F98-4C04-BA2F-E9D1785563C7@pandora.com
Whole thread Raw
In response to Re: Transaction id wraparound and autovacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Nov 21, 2006, at 1:29 PM, Tom Lane wrote:

> 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.

Cool, I think I'll patch my 8.1 autovac for now to be more
conservative, that'll get me by until I can get on 8.2.

Thanks!

-Casey

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: set the default schema
Next
From: Arnaud Lesauvage
Date:
Subject: MSSQL to PostgreSQL : Encoding problem