From: Jeff Davis <pgsql@j-davis.com>
To: Anoo Pillai <anoo.postgresql@gmail.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Time of previous REINDEX execution..
Date: Tue, 08 May 2007 10:56:44 -0700
Message-ID: <1178647004.24902.32.camel@dogma.v10.wvs> (raw)
In-Reply-To: <75ff88c60705080521y7d64fb45w8d057222e467ed06@mail.gmail.com>
References: <75ff88c60705080521y7d64fb45w8d057222e467ed06@mail.gmail.com>
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
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: pgsql@j-davis.com, anoo.postgresql@gmail.com, pgsql-general@postgresql.org
Subject: Re: [GENERAL] Time of previous REINDEX execution..
In-Reply-To: <1178647004.24902.32.camel@dogma.v10.wvs>
* 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