Re: XID wraparound in 8.4

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Anj Adu <fotographs(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: XID wraparound in 8.4
Date: 2009-10-13 22:23:52
Message-ID: 20091013222352.GO4535@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Anj Adu escribió:
> We have a few 8.1 installations where the vacuumdb -a command takes
> 2-3 days to run ..(with a vacuum delay of 10ms)...autovac does not
> work for us as we have tables that get constantly dropped due to
> partitioning.(autovac would never finish given the size of our
> database

I think you should set pg_autovacuum.enabled=false for those tables to
avoid having autovac work uselessly on them.

> and the fact that we have some "idle transactions" caused by
> our application server coneection pools.)

If this is really a problem, it's not going to be limited to autovacuum;
regular vacuum is going to be affected too.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Anj Adu 2009-10-14 01:29:58 vacuumdb in parallel
Previous Message Anj Adu 2009-10-13 22:20:17 Re: XID wraparound in 8.4