Re: Where does data in pg_stat_user_tables come from?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Where does data in pg_stat_user_tables come from?
Date: 2010-09-14 03:57:05
Message-ID: 1284436337-sup-9871@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Gerhard Wiesinger 2010-09-14 06:07:18 Re: Major performance problem after upgrade from 8.3 to 8.4
Previous Message Tom Lane 2010-09-14 01:40:47 Re: Where does data in pg_stat_user_tables come from?