X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 4671CD1B8C9 for ; Fri, 5 Sep 2003 01:15:02 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 70854-08 for ; Thu, 4 Sep 2003 22:14:55 -0300 (ADT) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by svr1.postgresql.org (Postfix) with ESMTP id 5B6EED1B8C6 for ; Thu, 4 Sep 2003 22:14:46 -0300 (ADT) Received: from 216-15-127-80.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com ([216.15.127.80] helo=moonbase.gungeralv.org) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 19v5Ba-0000mW-00 for pgsql-admin@postgresql.org; Thu, 04 Sep 2003 21:14:50 -0400 Received: by moonbase.gungeralv.org (Postfix, from userid 500) id 84AA1BC84; Thu, 4 Sep 2003 21:14:49 -0400 (EDT) Date: Thu, 4 Sep 2003 21:14:49 -0400 From: colin roald To: pgsql-admin@postgresql.org Subject: age of statistics Message-ID: <20030905011449.GI2571@moonbase.hopto.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/87 X-Sequence-Number: 10175 Is there a way to query the database to find out how old the current table statistics are? That is, when the ANALYZE command was last run on a given table? It seems like there ought to be a table somewhere in pg_catalog I can't find it in the PostgreSQL Administrator documentation, nor by searching google. Thanks, -- colin | perfection is reached, not when there is no longer anything to add, roald | but when there is no longer anything to take away. (antoine de saint-exupery)