Re: Where does data in pg_stat_user_tables come from?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Where does data in pg_stat_user_tables come from?
Date: 2010-09-14 00:53:51
Message-ID: 4C8EC79F.9080404@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


> 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.
http://www.pgexperts.com

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2010-09-14 01:40:47 Re: Where does data in pg_stat_user_tables come from?
Previous Message Joshua D. Drake 2010-09-14 00:12:08 Re: Where does data in pg_stat_user_tables come from?