Re: Table Bloat still there after the Vacuum - Mailing list pgsql-general

From Tom Lane
Subject Re: Table Bloat still there after the Vacuum
Date
Msg-id 19086.1272296608@sss.pgh.pa.us
Whole thread Raw
In response to Re: Table Bloat still there after the Vacuum  (akp geek <akpgeek@gmail.com>)
List pgsql-general
akp geek <akpgeek@gmail.com> writes:
> * "Orders": found 0 removable, 27164544 nonremovable row versions in 518971
> pages*
> *DETAIL:  27126176 dead row versions cannot be removed yet.*

So there isn't anything vacuum can do right now.  You've apparently got
an old open transaction, which is blocking vacuum from removing those
dead rows because the open transaction should still be able to see them
if it were to look.  You need to close that transaction, and then do a
vacuum full (and probably a reindex after that).

            regards, tom lane

pgsql-general by date:

Previous
From: Eustace Scrubb
Date:
Subject: Start-up script for few clusters: just add water?
Next
From: Luís de Sousa
Date:
Subject: Convert odb to Postgres