Re: In which catalog postgres Instance Crash time recorded ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
Cc: Alex Shulgin <alex(dot)shulgin(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: In which catalog postgres Instance Crash time recorded ?
Date: 2011-11-23 16:57:24
Message-ID: 27936.1322067444@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com> writes:
> On Wed, Nov 23, 2011 at 9:01 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> No, it's looking at a last-update timestamp field in pg_control.

> So, Is it a approximate time of crash on the basis of last-modified
> timestamp of pg_control file ?

IIRC, that's going to be the time of last checkpoint completion on a
normally-operating server. So depending on your checkpoint settings,
and how busy the server is, it might or might not be very close to
the time of crash.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raghavendra 2011-11-23 17:01:50 Re: In which catalog postgres Instance Crash time recorded ?
Previous Message Adrian Klaver 2011-11-23 16:52:43 Re: pg_dump of a v8.3.4 -> v9.0.1