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

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Prabhjot Sheena <prabhjot(dot)sheena(at)rivalwatch(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: John R Pierce <pierce(at)hogranch(dot)com>, pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
Date: 2014-07-08 14:22:39
Message-ID: 1404829359.42485.YahooMailNeo@web122306.mail.ne1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Prabhjot Sheena <prabhjot(dot)sheena(at)rivalwatch(dot)com> wrote:

> So this is what i did but my problem is still not going away.
>
> i shutdown the database and started it in single user mode and
> issued command vacuum full
>
> The command completed but the issue still exists

That is to be expected.  The VACUUM FULL command is not useful in
this situation.  You need to do a normal VACUUM of the full
database, which is something completely different.  You might want
to read this blog page for a discussion of this:

http://rhaas.blogspot.com/2014/03/vacuum-full-doesnt-mean-vacuum-but.html

If you can upgrade to a supported version you will find many
improvements to VACUUM in general and autovacuum in particular, but
that's probably something to consider after you dig yourself out of
the hole you're in now due to inadequate vacuuming.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message John Scalia 2014-07-08 16:19:59 recovery.conf restore_command
Previous Message hubert depesz lubaczewski 2014-07-08 13:12:12 Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2014-07-08 15:10:49 Re: Largely inconsistent query execution speed, involving psql_tmp
Previous Message hubert depesz lubaczewski 2014-07-08 13:12:12 Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions