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 23993D1B914 for ; Fri, 5 Sep 2003 01:28:01 +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 70999-09 for ; Thu, 4 Sep 2003 22:27:54 -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 4A7C4D1B8C6 for ; Thu, 4 Sep 2003 22:27:50 -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 19v5OE-0003di-00 for pgsql-admin@postgresql.org; Thu, 04 Sep 2003 21:27:54 -0400 Received: by moonbase.gungeralv.org (Postfix, from userid 500) id 9D699BC84; Thu, 4 Sep 2003 21:27:53 -0400 (EDT) Date: Thu, 4 Sep 2003 21:27:53 -0400 From: colin roald To: pgsql-admin@postgresql.org Subject: Re: age of statistics Message-ID: <20030905012753.GJ2571@moonbase.hopto.org> References: <20030905011449.GI2571@moonbase.hopto.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030905011449.GI2571@moonbase.hopto.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/97 X-Sequence-Number: 10185 Quoth colin roald : > 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. Whoops -- that should say: It seems like there ought to be a table somewhere in pg_catalog with a date in it, but I can't find it. I've poked around with 'select tablename from pg_tables' with no luck, nor can I 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) y