| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Ed L(dot)" <pgsql(at)bluepolka(dot)net> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: reading vacuum verbosity |
| Date: | 2004-05-21 17:38:12 |
| Message-ID: | 10807.1085161092@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> One oddity: Even immediately after a vacuum or analyze, I notice that
> pg_class.reltuples is way off for this table, reporting 919373 rows
> when there are only ~284K. pg_class.relpages looks precisely correct.
> This is PostgreSQL 7.3.4 on hppa2.0w-hp-hpux11.00, compiled by cc -Ae.
I'd expect reltuples to be correct after a VACUUM (or VACUUM ANALYZE).
But a plain ANALYZE sets it on the basis of a statistical estimate that
can be off quite a bit. (Manfred's been looking at developing a better
estimate, which I hope will make it into 7.5.)
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Carl E. McMillin | 2004-05-21 18:30:55 | Re: Function with RETURN TYPE RECORD Called From JAVA |
| Previous Message | Chris Browne | 2004-05-21 17:17:16 | Re: Am I locking more than I need to? |