Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group