pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
age of statistics
3+ messages / 3 participants
[nested] [flat]

* age of statistics
@ 2003-09-05 01:14 colin roald <zmook@gungeralv.org>
  2003-09-05 01:27 ` Re: age of statistics colin roald <colin@gungeralv.org>
  0 siblings, 1 reply; 3+ messages in thread

From: colin roald @ 2003-09-05 01:14 UTC (permalink / raw)
  To: pgsql-admin

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)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: age of statistics
  2003-09-05 01:14 age of statistics colin roald <zmook@gungeralv.org>
@ 2003-09-05 01:27 ` colin roald <colin@gungeralv.org>
  2003-09-05 14:54   ` Re: age of statistics Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: colin roald @ 2003-09-05 01:27 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: age of statistics
  2003-09-05 01:14 age of statistics colin roald <zmook@gungeralv.org>
  2003-09-05 01:27 ` Re: age of statistics colin roald <colin@gungeralv.org>
@ 2003-09-05 14:54   ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2003-09-05 14:54 UTC (permalink / raw)
  To: colin roald <colin@gungeralv.org>; +Cc: pgsql-admin

colin roald <colin@gungeralv.org> writes:
> It seems like there ought to be a table somewhere in pg_catalog with a
> date in it, but I can't find it.

That's because there isn't one ...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-09-05 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-05 01:14 age of statistics colin roald <zmook@gungeralv.org>
2003-09-05 01:27 ` colin roald <colin@gungeralv.org>
2003-09-05 14:54   ` Tom Lane <tgl@sss.pgh.pa.us>

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