Re: to find table stats for last update time. - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: to find table stats for last update time.
Date
Msg-id 20100105093340.GD32011@a-kretschmer.de
Whole thread Raw
In response to to find table stats for last update time.  (Shabala Deshpande <de.shabala@gmail.com>)
Responses Re: to find table stats for last update time.
List pgsql-novice
In response to Shabala Deshpande :
> Hi All,
>
> Is there any way to find out the most recent update time for a table in
> postgres like the mysql equivalent :


No.


>
> I need to figure out the way to check whether the table is active insertions/
> updates in last 15 mins?
>
> Any way out??

Write a TRIGGER for INSERT and UPDATE and store the timestamp in an extra table.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

pgsql-novice by date:

Previous
From: Shabala Deshpande
Date:
Subject: to find table stats for last update time.
Next
From: Shabala Deshpande
Date:
Subject: Re: to find table stats for last update time.