Re: vacuumdb is failing with NUMBER OF INDEX TUPLES NOT

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuumdb is failing with NUMBER OF INDEX TUPLES NOT
Date: 2004-05-10 16:09:39
Message-ID: 20040510160939.GB19697@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, May 08, 2004 at 12:31:28PM -0400, Tom Lane wrote:
> However, I haven't the foggiest idea what sort of corruption might
> allow the index to seem to work (and not, say, crash the reindex itself
> which is going to use that information...) yet allow problems to appear
> much later on. Too bad the evidence is gone now.

Dunno if this is any help, but on a 7.2 system I saw a REINDEX which
was interrupted leave the index at least partially working. We ended
up with an index which seemed fine, but which didn't contain certain
rows (so those rows were not visible when the SELECT criterion was
the indexed field). This was extremely puzzling, but a DROP INDEX;
CREATE INDEX pair solved it.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
The plural of anecdote is not data.
--Roger Brinner

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2004-05-10 16:27:33 Re: basic question (shared buffers vs. effective cache
Previous Message Sally Sally 2004-05-10 15:45:01 basic question (shared buffers vs. effective cache size)