From: Robert Treat <xzilla@users.sourceforge.net>
To: Litao Wu <litaowu@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: where to find out when a table was last analyzed?
Date: 26 May 2004 09:29:06 -0400
Message-ID: <1085578147.9127.1933.camel@camel> (raw)
In-Reply-To: <20040518211321.23032.qmail@web13121.mail.yahoo.com>
References: <20040518211321.23032.qmail@web13121.mail.yahoo.com>
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
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: xzilla@users.sourceforge.net, litaowu@yahoo.com
Subject: Re: where to find out when a table was last analyzed?
In-Reply-To: <1085578147.9127.1933.camel@camel>
* 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