Обсуждение: Time of previous REINDEX execution..

Поиск
Список
Период
Сортировка

Time of previous REINDEX execution..

От
"Anoo Pillai"
Дата:
Hi,
 
How to get the time at which the previous REINDEX command was run?
 
With Thanks in advance,
AnooS

Re: Time of previous REINDEX execution..

От
Jeff Davis
Дата:
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