pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: colin roald <colin@gungeralv.org>
To: pgsql-admin@postgresql.org
Subject: Re: age of statistics
Date: Thu, 4 Sep 2003 21:27:53 -0400
Message-ID: <20030905012753.GJ2571@moonbase.hopto.org> (raw)
In-Reply-To: <20030905011449.GI2571@moonbase.hopto.org>
References: <20030905011449.GI2571@moonbase.hopto.org>

Quoth colin roald <zmook@gungeralv.org>:
> 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



view thread (3+ messages)  latest in thread

Message-ID: <20030905012753.GJ2571@moonbase.hopto.org>
Permalink:  ../20030905012753.GJ2571@moonbase.hopto.org/
Also on:    postgresql.org/message-id/20030905012753.GJ2571@moonbase.hopto.org

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: colin@gungeralv.org
  Subject: Re: age of statistics
  In-Reply-To: <20030905012753.GJ2571@moonbase.hopto.org>
  References: <20030905011449.GI2571@moonbase.hopto.org> <20030905012753.GJ2571@moonbase.hopto.org>

* 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