Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> It seems to me that VACUUM and ANALYZE somewhat disagree on what exactly
> reltuples means. VACUUM seems to be thinking that
> reltuples = live + dead
> while ANALYZE apparently believes that
> reltuples = live
> The question is - which of the reltuples definitions is the right one?
> I've always assumed that "reltuples = live + dead" but perhaps not?
I think the planner basically assumes that reltuples is the live tuple
count, so maybe we'd better change VACUUM to get in step.
regards, tom lane