pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Time of previous REINDEX execution..
2+ messages / 2 participants
[nested] [flat]

* Time of previous REINDEX execution..
@ 2007-05-08 12:21  Anoo Pillai <anoo.postgresql@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Anoo Pillai @ 2007-05-08 12:21 UTC (permalink / raw)
  To: pgsql-admin; pgsql-general@postgresql.org

Hi,

How to get the time at which the previous REINDEX command was run?

With Thanks in advance,
AnooS

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

* Re: [GENERAL] Time of previous REINDEX execution..
@ 2007-05-08 17:56  Jeff Davis <pgsql@j-davis.com>
  parent: Anoo Pillai <anoo.postgresql@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Davis @ 2007-05-08 17:56 UTC (permalink / raw)
  To: Anoo Pillai <anoo.postgresql@gmail.com>; +Cc: pgsql-admin; pgsql-general@postgresql.org

On Tue, 2007-05-08 at 13:21 +0100, Anoo Pillai wrote:
> Hi, 
>  
> How to get the time at which the previous REINDEX command was run? 
>  

I don't think that information is explicitly stored. You can log
statements like that and that might help in the future.

If you really need to know, a REINDEX changes the relfilenode, so you
can see the creation time of the file in the data directory
corresponding to the current indexes of the table. That will probably be
the last time REINDEX was run.

Does that help?

Regards,
	Jeff Davis




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


end of thread, other threads:[~2007-05-08 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-08 12:21 Time of previous REINDEX execution.. Anoo Pillai <anoo.postgresql@gmail.com>
2007-05-08 17:56 ` Jeff Davis <pgsql@j-davis.com>

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