Re: Where does data in pg_stat_user_tables come from? - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Where does data in pg_stat_user_tables come from?
Date
Msg-id 4C8EC79F.9080404@agliodbs.com
Whole thread Raw
In response to Re: Where does data in pg_stat_user_tables come from?  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Where does data in pg_stat_user_tables come from?
List 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

pgsql-performance by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Where does data in pg_stat_user_tables come from?
Next
From: Tom Lane
Date:
Subject: Re: Where does data in pg_stat_user_tables come from?