Re: Index tuple count != heap tuple count problem identified - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Index tuple count != heap tuple count problem identified
Date
Msg-id 200004060051.UAA21899@candle.pha.pa.us
Whole thread Raw
In response to Index tuple count != heap tuple count problem identified  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> You'll probably recall reports of messages like this out of VACUUM:
> NOTICE:  Index ind1: NUMBER OF INDEX' TUPLES (2002) IS NOT THE SAME AS HEAP' (3003).
> I've figured out the cause (or at least a cause) of this condition.
> 
> I am inclined to change the check to complain if there are more index
> tuples than table tuples (that's surely wrong), or if there are fewer
> index tuples than committed-live table tuples (ditto), but not to
> complain if it's in between those limits.  Comments?

Sounds good to me.  I know I never considered such an interaction.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Index tuple count != heap tuple count problem identified
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: Index tuple count != heap tuple count problem identified