pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: cjwhite@cisco.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Help understanding VACUUM info on 7.4.5
Date: Fri, 01 Apr 2005 16:06:38 -0500
Message-ID: <28606.1112389598@sss.pgh.pa.us> (raw)
In-Reply-To: <200504011940.j31JeT3S006624@sj-core-4.cisco.com>
References: <200504011940.j31JeT3S006624@sj-core-4.cisco.com>

"Chris White (cjwhite)" <cjwhite@cisco.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



view thread (5+ messages)  latest in thread

Message-ID: <28606.1112389598@sss.pgh.pa.us>
Permalink:  ../28606.1112389598@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28606.1112389598@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cjwhite@cisco.com
  Subject: Re: Help understanding VACUUM info on 7.4.5
  In-Reply-To: <28606.1112389598@sss.pgh.pa.us>
  References: <200504011940.j31JeT3S006624@sj-core-4.cisco.com> <28606.1112389598@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox