From: Alvaro Herrera <alvherre@commandprompt.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Where does data in pg_stat_user_tables come from?
Date: Mon, 13 Sep 2010 23:57:05 -0400
Message-ID: <1284436337-sup-9871@alvh.no-ip.org> (raw)
In-Reply-To: <4C8EC79F.9080404@agliodbs.com>
References: <4C8EAE5E.70201@agliodbs.com>
<1284421288.28610.501.camel@jd-desktop.unknown.charter.com>
<4C8EB813.6070204@agliodbs.com>
<1284423128.28610.592.camel@jd-desktop.unknown.charter.com>
<4C8EC79F.9080404@agliodbs.com>
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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: alvherre@commandprompt.com, josh@agliodbs.com
Subject: Re: Where does data in pg_stat_user_tables come from?
In-Reply-To: <1284436337-sup-9871@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox