Re: Help understanding VACUUM info on 7.4.5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cjwhite(at)cisco(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Help understanding VACUUM info on 7.4.5
Date: 2005-04-01 21:06:38
Message-ID: 28606.1112389598@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Chris White (cjwhite)" <cjwhite(at)cisco(dot)com> writes:
> Below I have info which shows a DB which has had all objects deleted and
> then vacuumed. As can been seen it say it has "9014 dead rows that can't
> been removed". What does that mean?

That means there's an open transaction that is old enough to be able to
see those rows under MVCC rules, so VACUUM dare not remove them.

Check for clients that are issuing a BEGIN and then sitting with the
transaction open. Older versions of JDBC did that behind your back,
IIRC.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Chris White (cjwhite) 2005-04-01 21:23:52 Re: Help understanding VACUUM info on 7.4.5
Previous Message Sabio - PSQL 2005-04-01 20:08:01 Possible Bug in PreparedStatement