Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions - Mailing list pgsql-general

From John R Pierce
Subject Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
Date
Msg-id 53BB25E4.5080400@hogranch.com
Whole thread Raw
In response to Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions  (Prabhjot Sheena <prabhjot.sheena@rivalwatch.com>)
Responses Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
List 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



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
Next
From: Tom Lane
Date:
Subject: Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions