Excerpts from Josh Berkus's message of lun sep 13 20:53:51 -0400 2010:
> > 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?
It's been pure nonsense in this thread. Please show an example of
what's not working.
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
In response to
pgsql-performance by date
|Next:||From: Gerhard Wiesinger||Date: 2010-09-14 06:07:18|
|Subject: Re: Major performance problem after upgrade from 8.3 to
|Previous:||From: Tom Lane||Date: 2010-09-14 01:40:47|
|Subject: Re: Where does data in pg_stat_user_tables come from? |