> If you select from pg_stat_user_tables, the counters should be
> reasonably close unless your default_statistics_target is way off and
> then pg_class.reltuples would be wrong.
At least in 8.3, running ANALYZE does not update pg_stat_user_tables in
any way. Does it in later versions?
-- Josh Berkus
PostgreSQL Experts Inc.
In response to
pgsql-performance by date
|Next:||From: Tom Lane||Date: 2010-09-14 01:40:47|
|Subject: Re: Where does data in pg_stat_user_tables come from? |
|Previous:||From: Joshua D. Drake||Date: 2010-09-14 00:12:08|
|Subject: Re: Where does data in pg_stat_user_tables come from?|