Re: where to find out when a table was last analyzed? - Mailing list pgsql-performance

From Robert Treat
Subject Re: where to find out when a table was last analyzed?
Date
Msg-id 1085578147.9127.1933.camel@camel
Whole thread Raw
In response to where to find out when a table was last analyzed?  (Litao Wu <litaowu@yahoo.com>)
List pgsql-performance
On Tue, 2004-05-18 at 17:13, Litao Wu wrote:
> All,
>
> Does PG store when a table was last analyzed?
>
> Thanks,
>

no. you can do something like select attname,s.* from pg_statistic s,
pg_attribute a, pg_class c where starelid = c.oid and attrelid = c.oid
and staattnum = attnum and relname = 'mytable' to see the current
statistics on the table, but its not timestamped.

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


pgsql-performance by date:

Previous
From: Robert Treat
Date:
Subject: Re: PostgreSQL caching
Next
From: Vitaly Belman
Date:
Subject: Re: PostgreSQL caching