From: | Casey Duncan <casey(at)pandora(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Transaction id wraparound and autovacuum |
Date: | 2006-11-21 21:47:51 |
Message-ID: | 5B2100D8-2F98-4C04-BA2F-E9D1785563C7@pandora.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Nov 21, 2006, at 1:29 PM, Tom Lane wrote:
> Casey Duncan <casey(at)pandora(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Arnaud Lesauvage | 2006-11-21 21:50:31 | MSSQL to PostgreSQL : Encoding problem |
Previous Message | Scott Marlowe | 2006-11-21 21:44:54 | Re: set the default schema |