Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
Date: 2014-07-07 22:57:40
Message-ID: 53BB25E4.5080400@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On 7/7/2014 2:14 PM, Prabhjot Sheena wrote:
> i will run full vacuum than and see how it goes.

do make sure there aren't any OLD pending transactions hanging around.
if you have any stalled client connections that have left a transaction
open for weeks/months, vacuum can't free any tuples newer than the
oldest transaction.

select * from pg_stat_activity where xact_start < now()-interval '1 hour';

will list all connections with transactions over 1 hour old.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2014-07-07 23:14:53 Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
Previous Message Tom Lane 2014-07-07 22:51:16 Re: [GENERAL] WARNING: database must be vacuumed within 8439472 transactions

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-07-07 23:14:53 Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
Previous Message Tom Lane 2014-07-07 22:51:16 Re: [GENERAL] WARNING: database must be vacuumed within 8439472 transactions