From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Boes <jboes@nexcerpt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_class.reltuples not reset by VACUUM?
Date: Tue, 08 Apr 2003 13:52:13 -0400
Message-ID: <15397.1049824333@sss.pgh.pa.us> (raw)
In-Reply-To: <b6v1p3$cp4$1@news.hub.org>
References: <b6v1p3$cp4$1@news.hub.org>
Jeff Boes <jboes@nexcerpt.com> writes:
> I thought that VACUUM ANALYZE would always restore some sense of reality
> to the internal statistics for a table. However ...
Could we see the output of VACUUM VERBOSE for that table?
I suspect you have lots of dead-but-not-yet-reclaimable tuples in the
table, presumably because there is some very old transaction lurking
in the background.
regards, tom lane
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, jboes@nexcerpt.com
Subject: Re: pg_class.reltuples not reset by VACUUM?
In-Reply-To: <15397.1049824333@sss.pgh.pa.us>
References: <b6v1p3$cp4$1@news.hub.org> <15397.1049824333@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